THEOplayer React Native Connectors
    Preparing search index...
    Index

    Constructors

    Methods

    • Sends a custom data event with the provided custom data. This method allows you to change the value of a customData field temporarily for one sample.

      Parameters

      Returns void

    • Set or update custom data for the current session. This method allows you to change the value of a customData field during a session. The method can be called multiple times during a session and will be merged with the existing customData.

      Parameters

      Returns void

    • Set or update metadata for the current source.

      IMPORTANT: Call this method before setting a new source on the player, otherwise the metadata will not be associated with the correct source.

      Parameters

      • sourceMetadata: SourceMetadata

        contains the key value pairs with data.

      Returns void