Package com.restfb.types
Class CoverPhoto
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.CoverPhoto
- All Implemented Interfaces:
Serializable
Represents the Cover Photo Graph API
type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhen non-zero, the cover image overflows horizontally.When non-zero, the cover photo overflows vertically.Direct URL for the person's cover photo imagevoidsetOffsetX(Integer offsetX) When non-zero, the cover image overflows horizontally.voidsetOffsetY(Integer offsetY) When non-zero, the cover photo overflows vertically.voidDirect URL for the person's cover photo imageMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
CoverPhoto
public CoverPhoto()
-
-
Method Details
-
getOffsetX
When non-zero, the cover image overflows horizontally. The value indicates the offset percentage of the total image width from the left [0-100]- Returns:
- offsetX
-
setOffsetX
When non-zero, the cover image overflows horizontally. The value indicates the offset percentage of the total image width from the left [0-100] -
getOffsetY
When non-zero, the cover photo overflows vertically. The value indicates the offset percentage of the total image height from the top [0-100]- Returns:
- offsetY
-
setOffsetY
When non-zero, the cover photo overflows vertically. The value indicates the offset percentage of the total image height from the top [0-100] -
getSource
Direct URL for the person's cover photo image- Returns:
- Direct URL for the person's cover photo image
-
setSource
Direct URL for the person's cover photo image
-