Package com.restfb.types.send
Class MediaAttachment
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.MessageAttachment
-
- com.restfb.types.send.MediaAttachment
-
- All Implemented Interfaces:
Serializable
public class MediaAttachment extends MessageAttachment
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MediaAttachment.MediaTemplateElement
static class
MediaAttachment.MediaType
static class
MediaAttachment.Type
-
Constructor Summary
Constructors Constructor Description MediaAttachment(MediaAttachment.Type type)
MediaAttachment(MediaAttachment.Type type, String imageUrl)
MediaAttachment(List<MediaAttachment.MediaTemplateElement> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.restfb.types.send.MediaAttachment.MediaAttachmentPayload
getPayload()
void
setIsReusable(boolean isReusable)
-
Methods inherited from class com.restfb.types.send.MessageAttachment
getType, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
MediaAttachment
public MediaAttachment(MediaAttachment.Type type, String imageUrl)
-
MediaAttachment
public MediaAttachment(MediaAttachment.Type type)
-
MediaAttachment
public MediaAttachment(List<MediaAttachment.MediaTemplateElement> elements)
-
-
Method Detail
-
setIsReusable
public void setIsReusable(boolean isReusable)
-
getPayload
public com.restfb.types.send.MediaAttachment.MediaAttachmentPayload getPayload()
-
-