Android and iOS only. For Android it requires Player SDK version 3.39.0 or higher.

Provides a two-way communication channel between the Player UI and the integration.

Constructors

Methods

  • Gets called when an asynchronous message was received from the Bitmovin Web UI.

    Parameters

    • message: string

      Identifier of the message.

    • data: undefined | string

      Optional data of the message as string (can be a serialized object).

    Returns void

  • Gets called when a synchronous message was received from the Bitmovin Web UI.

    Parameters

    • message: string

      Identifier of the message.

    • data: undefined | string

      Optional data of the message as string (can be a serialized object).

    Returns undefined | string

    Optional return value as string which will be propagates back to the JS counterpart.

  • Android and iOS only.

    Sends a message to the Player UI.

    Parameters

    • message: string

      Identifier for the callback which should be called.

    • data: undefined | string

      Payload for the callback.

    Returns void