AnalyticsApi
interface AnalyticsApi
Provides the means to control the analytics collected by a Player.
Use the Player.analytics extension to access a Player's AnalyticsApi.
Types
| Name | Summary |
|---|---|
| Companion | object Companion Use the Player.analytics extension to access a Player's AnalyticsApi. |
Properties
Functions
| Name | Summary |
|---|---|
| programChange | abstract fun programChange(sourceMetadata: SourceMetadata) Signals a program change to the analytics collector without loading a new source on the player. This starts a new impression with the provided sourceMetadata. |
| sendCustomDataEvent | abstract fun sendCustomDataEvent(customData: CustomData) Send an analytics sample with customData without changing the player's current SourceAnalyticsApi.customData. |