Package com.restfb.types
Class ProfilePictureSource
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.ProfilePictureSource
-
- All Implemented Interfaces:
Serializable
public class ProfilePictureSource extends AbstractFacebookType
Represents the Profile Picture Source Graph API type.- Author:
- Norbert Bartels
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfilePictureSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getHeight()
Picture height in pixelsBoolean
getIsSilhouette()
Indicates whether the profile photo is the default 'silhouette' picture, or has been replacedString
getUrl()
URL of the profile pictureInteger
getWidth()
Picture width in pixelsvoid
setHeight(Integer height)
Picture height in pixelsvoid
setIsSilhouette(Boolean isSilhouette)
Indicates whether the profile photo is the default 'silhouette' picture, or has been replacedvoid
setUrl(String url)
URL of the profile picturevoid
setWidth(Integer width)
Picture width in pixels-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ProfilePictureSource
public ProfilePictureSource()
-
-
Method Detail
-
getIsSilhouette
public Boolean 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
public void setIsSilhouette(Boolean isSilhouette)
Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced
-
-