SubscriptionInstance: {
    unsubscribe(): void;
    updateAccessToken(accessToken: string): void;
}

Object that represents active connection with Lens Studio.

Type declaration

  • unsubscribe:function
    • Close current connection and unsubscribe from the events form Lens Studio.

      Returns void

  • updateAccessToken:function
    • This method can be used to provide a new access token for an active connection in case the previous one has expired.

      Parameters

      • accessToken: string

        Login Kit access token

      Returns void