Used by ConnectedLensesModule to specify the session share type.

// @input Asset.ConnectedLensModule connectedLensModule

function shareSessionInvite() {
script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Invitation, onSessionSharedInvite);
}

function shareSessionSnapcode() {
script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Snapcode, onSessionSharedSnapcode);
}

Enumeration Members

Enumeration Members

Invitation: number

Share a session by inviting your friends, launching the "send to" screen.

Snapcode: number

Share session via Snapcode that your friends can scan.