public abstract class SnapContent
extends java.lang.Object
Constructor and Description |
---|
SnapContent() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttachmentUrl()
Getter for the attachment URL metadata.
|
java.lang.String |
getCaptionText()
Getter for the caption text to overlay on Snap.
|
abstract java.lang.String |
getDeeplinkUrlPath() |
abstract java.lang.String |
getIntentType() |
abstract java.io.File |
getMediaFile() |
SnapSticker |
getSnapSticker()
Getter for the Snap sticker data.
|
void |
setAttachmentUrl(java.lang.String attachmentUrl)
Setter for the attachment URL metadata.
|
void |
setCaptionText(java.lang.String captionText)
Setter for the caption text to overlay on top of the Snap.
|
void |
setSnapSticker(SnapSticker snapSticker)
Setter for sticker data to overlay on top of Media.
|
public void setSnapSticker(@Nullable SnapSticker snapSticker)
snapSticker
- The sticker to overlay on top of media shared to Snap.@Nullable public SnapSticker getSnapSticker()
public void setAttachmentUrl(@Nullable java.lang.String attachmentUrl)
attachmentUrl
- The attachment URL to link with the Snap.@Nullable public java.lang.String getAttachmentUrl()
public void setCaptionText(@Nullable java.lang.String captionText)
captionText
- The setter for the caption text to overlay on top of the Snap.@Nullable public java.lang.String getCaptionText()
public abstract java.lang.String getDeeplinkUrlPath()
public abstract java.lang.String getIntentType()
@Nullable public abstract java.io.File getMediaFile()