Class ProfilePictureSource

java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ProfilePictureSource
All Implemented Interfaces:
Serializable

public class ProfilePictureSource
extends AbstractFacebookType
Author:
Norbert Bartels
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getUrl

      public String getUrl()
      URL of the profile picture
      Returns:
      URL of the profile picture
    • setUrl

      public void setUrl​(String url)
      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

      public void setIsSilhouette​(Boolean isSilhouette)
      Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced
    • getHeight

      public Integer getHeight()
      Picture height in pixels
      Returns:
      Picture height in pixels
    • setHeight

      public void setHeight​(Integer height)
      Picture height in pixels
    • getWidth

      public Integer getWidth()
      Picture width in pixels
      Returns:
      Picture width in pixels
    • setWidth

      public void setWidth​(Integer width)
      Picture width in pixels