Package com.restfb.types
Class ProfilePictureSource
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ProfilePictureSource
- All Implemented Interfaces:
Serializable
Represents the Profile
Picture Source Graph API type.
- Author:
- Norbert Bartels
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPicture height in pixelsIndicates whether the profile photo is the default 'silhouette' picture, or has been replacedgetUrl()
URL of the profile picturegetWidth()
Picture width in pixelsvoid
Picture height in pixelsvoid
setIsSilhouette
(Boolean isSilhouette) Indicates whether the profile photo is the default 'silhouette' picture, or has been replacedvoid
URL of the profile picturevoid
Picture width in pixelsMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
ProfilePictureSource
public ProfilePictureSource()
-
-
Method Details
-
getUrl
URL of the profile picture- Returns:
- URL of the profile picture
-
setUrl
URL of the profile picture -
getIsSilhouette
Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced- Returns:
- is the photo the default or has been replaced
-
setIsSilhouette
Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced -
getHeight
Picture height in pixels- Returns:
- Picture height in pixels
-
setHeight
Picture height in pixels -
getWidth
Picture width in pixels- Returns:
- Picture width in pixels
-
setWidth
Picture width in pixels
-