-
public abstract class SnapContent
The base SnapContent type. Represents an abstract type that can be shared into Snapchat. Contains metadata such as stickers, attachment URL, and caption text properties.
-
-
Method Summary
Modifier and Type Method Description void
setSnapSticker(@Nullable() SnapSticker snapSticker)
Setter for sticker data to overlay on top of Media. SnapSticker
getSnapSticker()
Getter for the Snap sticker data. void
setAttachmentUrl(@Nullable() String attachmentUrl)
Setter for the attachment URL metadata. String
getAttachmentUrl()
Getter for the attachment URL metadata. void
setCaptionText(@Nullable() String captionText)
Setter for the caption text to overlay on top of the Snap. String
getCaptionText()
Getter for the caption text to overlay on Snap. abstract String
getDeeplinkUrlPath()
abstract String
getIntentType()
abstract File
getMediaFile()
-
-
-
Method Detail
-
setSnapSticker
void setSnapSticker(@Nullable() SnapSticker snapSticker)
Setter for sticker data to overlay on top of Media.
- Parameters:
snapSticker
- The sticker to overlay on top of media shared to Snap.
-
getSnapSticker
@Nullable() SnapSticker getSnapSticker()
Getter for the Snap sticker data.
-
setAttachmentUrl
void setAttachmentUrl(@Nullable() String attachmentUrl)
Setter for the attachment URL metadata.
- Parameters:
attachmentUrl
- The attachment URL to link with the Snap.
-
getAttachmentUrl
@Nullable() String getAttachmentUrl()
Getter for the attachment URL metadata.
-
setCaptionText
void setCaptionText(@Nullable() String captionText)
Setter for the caption text to overlay on top of the Snap.
- Parameters:
captionText
- The setter for the caption text to overlay on top of the Snap.
-
getCaptionText
@Nullable() String getCaptionText()
Getter for the caption text to overlay on Snap.
-
getDeeplinkUrlPath
abstract String getDeeplinkUrlPath()
-
getIntentType
abstract String getIntentType()
-
getMediaFile
@Nullable() abstract File getMediaFile()
-
-