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

Link copied to clipboard
object Companion

Use the Player.analytics extension to access a Player's AnalyticsApi.

Properties

Link copied to clipboard
abstract val impressionId: String?

The impression id of the current Source if any is playing.

Link copied to clipboard
abstract val ssai: SsaiApi

Use the SsaiApi to track data related to server side ad insertion.

Link copied to clipboard
abstract val userId: String

The userId that is sent with each analytics sample.

Functions

Link copied to clipboard
abstract fun sendCustomDataEvent(customData: CustomData)

Send an analytics sample with customData without changing the player's current SourceAnalyticsApi.customData.