Shares a still image content to Snapchat preview.
CreativeKit.sharePhoto({ content: { // add photo data }, sticker: { // optional sticker data }, attachmentUrl: "", caption: " " });
Shares a video content to Snapchat preview.
CreativeKit.shareVideo({ content: { // add video data }, sticker: { // optional sticker data }, attachmentUrl: "", caption: " " });
Opens SnapChat camera with optional metadata.
CreativeKit.shareToCameraPreview({ sticker: { // optional sticker data }, attachmentUrl: "", caption: " " });
Shares a lens attachment to Snapchat camera.
CreativeKit.shareLensToCameraPreview({ lensUUID: "", launchData: { // additional key-value attributes for the lens } attachmentUrl: " ", caption: " " });
Generated using TypeDoc
Type that represents the two supported image formats: raw (base64) and URI.