Class Message.AttachmentData

java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Message.AttachmentData
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Message.ImageData, Message.VideoData
Enclosing class:
Message

public abstract static class Message.AttachmentData
extends AbstractFacebookType
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
      The image's width.
      Returns:
      The image's width.
    • setWidth

      public void setWidth​(int width)
      The image's width.
    • getHeight

      public int getHeight()
      The image's height.
      Returns:
      The image's height.
    • setHeight

      public void setHeight​(int height)
      The image's height.
    • getUrl

      public String getUrl()
      The image's url.
      Returns:
      The image's url.
    • setUrl

      public void setUrl​(String url)
      The image's url.
    • getPreviewUrl

      The image's preview url.
      Returns:
      The image's preview url.
    • setPreviewUrl

      public void setPreviewUrl​(String previewUrl)
      The image's preview url.