Properties

enabled: boolean

Gets or sets whether the remote control feature is enabled.

errorState: RemoteControlError

Gets the current error state.

isSessionActive: boolean

Gets whether a remote session is currently active.

qrCodeImageUri: string

Gets the URI of the QR code image for the current session.

sessionCode: string

Gets the current session code string.

Methods

  • Closes the currently active remote session.

    Returns void

  • Registers a callback which will be called when a new session code is received.

    Returns

    An event subscription which can be used to unsubscribe from the event.

    Parameters

    • callback: ((sessionCode: string) => void)

      The callback which will be called with the new session code.

        • (sessionCode: string): void
        • Parameters

          • sessionCode: string

          Returns void

    Returns EventSubscription

  • Requests a new session code.

    Returns void

Generated using TypeDoc