Bitmovin Player React Native SDK - v1.1.0
    Preparing search index...

    Class AnalyticsApi

    Provides the means to control the analytics collected by a Player. Use the Player.analytics property to access a Player's AnalyticsApi.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    playerId: string

    The native player id that this analytics api is attached to.

    Methods

    • Gets the current user id used by the bundled analytics instance.

      Returns Promise<null | string>

      The current user id.

    • Sends a sample with the provided custom data. Does not change the configured custom data of the collector or source.

      Parameters

      Returns Promise<void>