Package com.restfb.types
Class Message.ImageData
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Message.AttachmentData
com.restfb.types.Message.ImageData
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Message
Additional attachment information, only present when an attached file is an image.
- Author:
- Felipe Kurkowski
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
The image's max height.int
The image's max width.void
setAnimatedGifPreviewUrl
(String animatedGifPreviewUrl) void
setAnimatedGifUrl
(String animatedGifUrl) void
setAnimatedWebpPreviewUrl
(String animatedWebpPreviewUrl) void
setAnimatedWebpUrl
(String animatedWebpUrl) void
setImageType
(int imageType) void
setMaxHeight
(int maxHeight) The image's max height.void
setMaxWidth
(int maxWidth) The image's max width.void
setRawGifImage
(String rawGifImage) void
setRawWebpImage
(String rawWebpImage) void
setRenderAsSticker
(Boolean renderAsSticker) Methods inherited from class com.restfb.types.Message.AttachmentData
getHeight, getPreviewUrl, getUrl, getWidth, setHeight, setPreviewUrl, setUrl, setWidth
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
ImageData
public ImageData()
-
-
Method Details
-
getMaxWidth
The image's max width.- Returns:
- The image's max width.
-
setMaxWidth
The image's max width. -
getMaxHeight
The image's max height.- Returns:
- The image's max height.
-
setMaxHeight
The image's max height. -
getRenderAsSticker
-
setRenderAsSticker
-
getImageType
-
setImageType
-
getRawGifImage
-
setRawGifImage
-
getRawWebpImage
-
setRawWebpImage
-
getAnimatedGifUrl
-
setAnimatedGifUrl
-
getAnimatedGifPreviewUrl
-
setAnimatedGifPreviewUrl
-
getAnimatedWebpUrl
-
setAnimatedWebpUrl
-
getAnimatedWebpPreviewUrl
-
setAnimatedWebpPreviewUrl
-