Lens Scripting API

    Type of the created Connected Lens session.

    function onSessionCreated(session, sessionCreationType) {
    if (sessionCreationType == ConnectedLensSessionOptions.SessionCreationType.MultiplayerReceiver) {
    print("Session was joined via invite");
    }
    else if (sessionCreationType == ConnectedLensSessionOptions.SessionCreationType.New) {
    print("New session was created");
    }
    }
    Index

    Enumeration Members

    Enumeration Members

    MultiplayerReceiver: number

    Session was joined via invite.

    New: number

    New Session was created.

    NewSoloMode: number

    A Connected Lens session with only the current user.

    MMNEPVFCICPMFPCPTTAAATR