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

Hierarchy

  • AnalyticsApi

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<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 void

Generated using TypeDoc