Package com.restfb.types
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
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The image's height.The image's preview url.getUrl()
The image's url.int
getWidth()
The image's width.void
setHeight
(int height) The image's height.void
setPreviewUrl
(String previewUrl) The image's preview url.void
The image's url.void
setWidth
(int width) The image's width.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
AttachmentData
public AttachmentData()
-
-
Method Details
-
getWidth
The image's width.- Returns:
- The image's width.
-
setWidth
The image's width. -
getHeight
The image's height.- Returns:
- The image's height.
-
setHeight
The image's height. -
getUrl
The image's url.- Returns:
- The image's url.
-
setUrl
The image's url. -
getPreviewUrl
The image's preview url.- Returns:
- The image's preview url.
-
setPreviewUrl
The image's preview url.
-