ConnectedLensModule.SessionShareType
EnumUsed by ConnectedLensModule to specify the session share type.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v146
Index
Enumeration Members
Example
// @input Asset.ConnectedLensModule connectedLensModule
function shareSessionInvite() {
script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Invitation, onSessionSharedInvite);
}
function shareSessionSnapcode() {
script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Snapcode, onSessionSharedSnapcode);
}
Enumeration Members
Invitation
Invitation:
number
Share a session by inviting your friends, launching the "send to" screen.
Since
Lens Scripting Version 146
Snapcode
Snapcode:
number
Share session via Snapcode that your friends can scan.
Since
Lens Scripting Version 146