Package com.restfb.types
Class FacebookReelAttachment
java.lang.Object
com.restfb.BinaryAttachment
com.restfb.types.FacebookReelAttachment
Attachment object for uploading a Reel to Facebook.
use withByteContent
for sending a binary attachment and withUrl
if the URL is given instead
-
Field Summary
Fields inherited from class com.restfb.BinaryAttachment
data
-
Constructor Summary
ModifierConstructorDescriptionprotected
FacebookReelAttachment
(byte[] byteData) protected
FacebookReelAttachment
(String reelUrl) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isBinary()
boolean
static FacebookReelAttachment
withByteContent
(byte[] reelData) static FacebookReelAttachment
Methods inherited from class com.restfb.BinaryAttachment
equals, getContentType, getData, getFieldName, getFilename, hasBinaryData, hashCode, toString, with, with, with, with, with, with, with, with
-
Constructor Details
-
FacebookReelAttachment
-
FacebookReelAttachment
-
-
Method Details
-
withByteContent
-
withUrl
-
isFacebookReel
- Overrides:
isFacebookReel
in classBinaryAttachment
-
isBinary
-
getFileSizeInBytes
-
getReelUrl
-