Used by ConnectedLensModule to specify the session share type.
// @input Asset.ConnectedLensModule connectedLensModulefunction shareSessionInvite() { script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Invitation, onSessionSharedInvite);}function shareSessionSnapcode() { script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Snapcode, onSessionSharedSnapcode);} Copy
// @input Asset.ConnectedLensModule connectedLensModulefunction shareSessionInvite() { script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Invitation, onSessionSharedInvite);}function shareSessionSnapcode() { script.connectedLensModule.shareSession(ConnectedLensModule.SessionShareType.Snapcode, onSessionSharedSnapcode);}
Share a session by inviting your friends, launching the "send to" screen.
Share session via Snapcode that your friends can scan.
Used by ConnectedLensModule to specify the session share type.
Example