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
public static class Message.ImageData extends Message.AttachmentData
Additional attachment information, only present when an attached file is an image.- Author:
- Felipe Kurkowski
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnimatedGifPreviewUrl()
String
getAnimatedGifUrl()
String
getAnimatedWebpPreviewUrl()
String
getAnimatedWebpUrl()
int
getImageType()
int
getMaxHeight()
The image's max height.int
getMaxWidth()
The image's max width.String
getRawGifImage()
String
getRawWebpImage()
Boolean
getRenderAsSticker()
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 Detail
-
ImageData
public ImageData()
-
-
Method Detail
-
getMaxWidth
public int getMaxWidth()
The image's max width.- Returns:
- The image's max width.
-
setMaxWidth
public void setMaxWidth(int maxWidth)
The image's max width.
-
getMaxHeight
public int getMaxHeight()
The image's max height.- Returns:
- The image's max height.
-
setMaxHeight
public void setMaxHeight(int maxHeight)
The image's max height.
-
getRenderAsSticker
public Boolean getRenderAsSticker()
-
setRenderAsSticker
public void setRenderAsSticker(Boolean renderAsSticker)
-
getImageType
public int getImageType()
-
setImageType
public void setImageType(int imageType)
-
getRawGifImage
public String getRawGifImage()
-
setRawGifImage
public void setRawGifImage(String rawGifImage)
-
getRawWebpImage
public String getRawWebpImage()
-
setRawWebpImage
public void setRawWebpImage(String rawWebpImage)
-
getAnimatedGifUrl
public String getAnimatedGifUrl()
-
setAnimatedGifUrl
public void setAnimatedGifUrl(String animatedGifUrl)
-
getAnimatedGifPreviewUrl
public String getAnimatedGifPreviewUrl()
-
setAnimatedGifPreviewUrl
public void setAnimatedGifPreviewUrl(String animatedGifPreviewUrl)
-
getAnimatedWebpUrl
public String getAnimatedWebpUrl()
-
setAnimatedWebpUrl
public void setAnimatedWebpUrl(String animatedWebpUrl)
-
getAnimatedWebpPreviewUrl
public String getAnimatedWebpPreviewUrl()
-
setAnimatedWebpPreviewUrl
public void setAnimatedWebpPreviewUrl(String animatedWebpPreviewUrl)
-
-