-
public abstract class SnapContentThe 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 voidsetSnapSticker(@Nullable() SnapSticker snapSticker)Setter for sticker data to overlay on top of Media. SnapStickergetSnapSticker()Getter for the Snap sticker data. voidsetAttachmentUrl(@Nullable() String attachmentUrl)Setter for the attachment URL metadata. StringgetAttachmentUrl()Getter for the attachment URL metadata. voidsetCaptionText(@Nullable() String captionText)Setter for the caption text to overlay on top of the Snap. StringgetCaptionText()Getter for the caption text to overlay on Snap. abstract StringgetDeeplinkUrlPath()abstract StringgetIntentType()abstract FilegetMediaFile()-
-
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()
-
-
-
-