Skip navigation links
A B C D G I O S V 

A

addNumberArrayKeyPair(String, Number[]) - Method in class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData.Builder
Adds a String key & Number Array value pair to the lens launch data.
addNumberKeyPair(String, Number) - Method in class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData.Builder
Adds a String key & Number value pair to the lens launch data.
addStringArrayKeyPair(String, String[]) - Method in class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData.Builder
Adds a String key & String Array value pair to the lens launch data.
addStringKeyPair(String, String) - Method in class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData.Builder
Adds a String key & String value pair to the lens launch data.

B

build() - Method in class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData.Builder
Builds the launch data into a json string.
Builder() - Constructor for class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData.Builder
Constructor for snap lens launch data builder.

C

com.snapchat.kit.sdk - package com.snapchat.kit.sdk
 
com.snapchat.kit.sdk.creative.api - package com.snapchat.kit.sdk.creative.api
 
com.snapchat.kit.sdk.creative.exceptions - package com.snapchat.kit.sdk.creative.exceptions
 
com.snapchat.kit.sdk.creative.media - package com.snapchat.kit.sdk.creative.media
 
com.snapchat.kit.sdk.creative.models - package com.snapchat.kit.sdk.creative.models
 
createSnapLensContent(String, SnapLensLaunchData) - Static method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Method for constructing SnapLensContent for a lens specified by UUID.

D

deInitialize() - Static method in class com.snapchat.kit.sdk.SnapKit
 

G

getApi(Context) - Static method in class com.snapchat.kit.sdk.SnapCreative
 
getAttachmentUrl() - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
Getter for the attachment URL metadata.
getCaptionText() - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
Getter for the caption text to overlay on Snap.
getDeeplinkUrlPath() - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
 
getDeeplinkUrlPath() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
 
getDeeplinkUrlPath() - Method in class com.snapchat.kit.sdk.creative.models.SnapLiveCameraContent
 
getDeeplinkUrlPath() - Method in class com.snapchat.kit.sdk.creative.models.SnapPhotoContent
 
getDeeplinkUrlPath() - Method in class com.snapchat.kit.sdk.creative.models.SnapVideoContent
 
getIntentType() - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
 
getIntentType() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
 
getIntentType() - Method in class com.snapchat.kit.sdk.creative.models.SnapLiveCameraContent
 
getIntentType() - Method in class com.snapchat.kit.sdk.creative.models.SnapPhotoContent
 
getIntentType() - Method in class com.snapchat.kit.sdk.creative.models.SnapVideoContent
 
getJsonForm(Uri, Context) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
 
getLensId() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Getter for the lens id.
getLensLaunchData() - Method in class com.snapchat.kit.sdk.creative.media.SnapLensLaunchData
Getter for the launch data.
getLensUUID() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Getter for the lens id.
getMediaFactory(Context) - Static method in class com.snapchat.kit.sdk.SnapCreative
 
getMediaFile() - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
 
getMediaFile() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
 
getMediaFile() - Method in class com.snapchat.kit.sdk.creative.models.SnapLiveCameraContent
 
getMediaFile() - Method in class com.snapchat.kit.sdk.creative.models.SnapPhotoContent
 
getMediaFile() - Method in class com.snapchat.kit.sdk.creative.models.SnapVideoContent
 
getPhotoFile() - Method in class com.snapchat.kit.sdk.creative.media.SnapPhotoFile
Getter for the photo file.
getSnapLensLaunchData() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Getter for the launch data.
getSnapLensLaunchDataString() - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Getter for the string json launch data.
getSnapPhotoFromFile(File) - Method in class com.snapchat.kit.sdk.creative.media.SnapMediaFactory
Factory method to create a SnapPhoto instance given a photo file.
getSnapSticker() - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
Getter for the Snap sticker data.
getSnapStickerFromFile(File) - Method in class com.snapchat.kit.sdk.creative.media.SnapMediaFactory
Factory method to create a SnapSticker instance given a sticker file.
getSnapVideoFromFile(File) - Method in class com.snapchat.kit.sdk.creative.media.SnapMediaFactory
Factory method to create a SnapVideo instance given a video file.
getStickerFile() - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Getter for the sticker file.
getVersion() - Static method in class com.snapchat.kit.sdk.SnapCreative
 
getVideoFile() - Method in class com.snapchat.kit.sdk.creative.media.SnapVideoFile
 

I

initSDK(Context) - Static method in class com.snapchat.kit.sdk.SnapKit
 

O

onSendFailed(SnapCreativeKitSendError) - Method in interface com.snapchat.kit.sdk.creative.api.SnapCreativeKitCompletionCallback
Callback called when an error is hit when attempting to share to Snapchat using Creative Kit.
onSendSuccess() - Method in interface com.snapchat.kit.sdk.creative.api.SnapCreativeKitCompletionCallback
Callback called when third-party user is successfully sent to Snapchat to complete flow to send or post flow.

S

send(SnapContent) - Method in class com.snapchat.kit.sdk.creative.api.SnapCreativeKitApi
Send your content to Snapchat.
sendWithCompletionHandler(SnapContent, SnapCreativeKitCompletionCallback) - Method in class com.snapchat.kit.sdk.creative.api.SnapCreativeKitApi
Send with completion handler.
setAttachmentUrl(String) - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
Setter for the attachment URL metadata.
setCaptionText(String) - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
Setter for the caption text to overlay on top of the Snap.
setHeight(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Deprecated.
setHeightDp(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Setter for the height of the sticker in density independent pixels.
setLensId(String) - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Deprecated.
Lens Id should no longer be used to specify lenses. Please use Lens UUID.
setLensUUID(String) - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Setter for the lens id.
setPosX(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Setter for the horizontal position of the sticker.
setPosY(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Setter for the vertical position of the sticker.
setRotationDegreesClockwise(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
The rotation to apply on the sticker.
setSnapLensLaunchData(SnapLensLaunchData) - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Setter for the launch data.
setSnapSticker(SnapSticker) - Method in class com.snapchat.kit.sdk.creative.models.SnapContent
Setter for sticker data to overlay on top of Media.
setSnapSticker(SnapSticker) - Method in class com.snapchat.kit.sdk.creative.models.SnapLensContent
Setter for the sticker.
setWidth(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Deprecated.
setWidthDp(float) - Method in class com.snapchat.kit.sdk.creative.media.SnapSticker
Setter for the width of the sticker in density independent pixels.
SnapContent - Class in com.snapchat.kit.sdk.creative.models
The base SnapContent type.
SnapContent() - Constructor for class com.snapchat.kit.sdk.creative.models.SnapContent
 
SnapCreative - Class in com.snapchat.kit.sdk
Top level module that provides Creative Kit APIs.
SnapCreative() - Constructor for class com.snapchat.kit.sdk.SnapCreative
 
SnapCreativeKitApi - Class in com.snapchat.kit.sdk.creative.api
 
SnapCreativeKitCompletionCallback - Interface in com.snapchat.kit.sdk.creative.api
Completion handler for Creative Kit send flow.
SnapCreativeKitSendError - Enum in com.snapchat.kit.sdk.creative.api
A list of errors with CreativeKit Api sharing.
SnapKit - Class in com.snapchat.kit.sdk
 
SnapKitBaseException - Exception in com.snapchat.kit.sdk.creative.exceptions
Base Exception class for all SnapKit exceptions.
SnapLensContent - Class in com.snapchat.kit.sdk.creative.models
The model class for sharing a lens attachment to the Snapchat camera.
SnapLensContent(String, SnapLensLaunchData) - Constructor for class com.snapchat.kit.sdk.creative.models.SnapLensContent
Deprecated.
Lens Id should no longer be used to specify lenses. Please use createSnapLensContent to construct SnapLensContent with Lens UUID.
SnapLensContent(String) - Constructor for class com.snapchat.kit.sdk.creative.models.SnapLensContent
Deprecated.
Lens Id should no longer be used to specify lenses. Please use Lens UUID.
SnapLensLaunchData - Class in com.snapchat.kit.sdk.creative.media
Model that holds a lens launch data.
SnapLensLaunchData.Builder - Class in com.snapchat.kit.sdk.creative.media
 
SnapLiveCameraContent - Class in com.snapchat.kit.sdk.creative.models
Model for class that links into the Camera Preview for the snap to post.
SnapLiveCameraContent() - Constructor for class com.snapchat.kit.sdk.creative.models.SnapLiveCameraContent
 
SnapMediaFactory - Class in com.snapchat.kit.sdk.creative.media
Class that's used to create new media files.
SnapMediaSizeException - Exception in com.snapchat.kit.sdk.creative.exceptions
Exception thrown when the Snap Media size exceeds maximum size of 100MB.
SnapMediaSizeException(String) - Constructor for exception com.snapchat.kit.sdk.creative.exceptions.SnapMediaSizeException
 
SnapPhotoContent - Class in com.snapchat.kit.sdk.creative.models
The model class for sharing a photo/image to Snapchat preview page.
SnapPhotoContent(SnapPhotoFile) - Constructor for class com.snapchat.kit.sdk.creative.models.SnapPhotoContent
Constructor for sharing an image to snapchat.
SnapPhotoFile - Class in com.snapchat.kit.sdk.creative.media
Model that holds a photo file.
SnapSticker - Class in com.snapchat.kit.sdk.creative.media
Class that holds the sticker data to be overlaid on top of the Snap media.
SnapStickerSizeException - Exception in com.snapchat.kit.sdk.creative.exceptions
Exception thrown when sticker that's shared into Snapchat exceeds maximum allowed size of 1MB.
SnapStickerSizeException(String) - Constructor for exception com.snapchat.kit.sdk.creative.exceptions.SnapStickerSizeException
 
SnapVideoContent - Class in com.snapchat.kit.sdk.creative.models
Model for sharing video content into Snapchat preview page.
SnapVideoContent(SnapVideoFile) - Constructor for class com.snapchat.kit.sdk.creative.models.SnapVideoContent
The constructor for sharing a video to Snapchat.
SnapVideoFile - Class in com.snapchat.kit.sdk.creative.media
Class that holds the video file to be shared with Snapchat.
SnapVideoLengthException - Exception in com.snapchat.kit.sdk.creative.exceptions
Exception thrown when video's playback duration exceed maximum length of 60 seconds.
SnapVideoLengthException(String) - Constructor for exception com.snapchat.kit.sdk.creative.exceptions.SnapVideoLengthException
 

V

valueOf(String) - Static method in enum com.snapchat.kit.sdk.creative.api.SnapCreativeKitSendError
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.snapchat.kit.sdk.creative.api.SnapCreativeKitSendError
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D G I O S V 
Skip navigation links