com.bitmovin.player.api.analytics

com.bitmovin.player.api.analytics

Types

NameSummary
AnalyticsApiinterface AnalyticsApi
Provides the means to control the analytics collected by a Player.
AnalyticsPlayerConfigsealed interface AnalyticsPlayerConfig
Configuration for the analytics data collection feature on the Player.
AnalyticsSourceConfigsealed interface AnalyticsSourceConfig
Configuration for the analytics feature on the Source.
PlayerFactoryobject PlayerFactory
Java helper to create a Player with built-in analytics data collection.
SourceAnalyticsApiinterface SourceAnalyticsApi
Provides the means to control the analytics collected by a Source.
SourceFactoryobject SourceFactory
Java helper to create an analytics aware Source.

Functions

NameSummary
createfun Source.Companion.create(sourceConfig: SourceConfig, sourceMetadata: SourceMetadata = SourceMetadata()): Source
Creates a Source configured via the provided SourceConfig, with analytics metadata configured via the provided sourceMetadata.
fun Player.Companion.create(context: Context, playerConfig: PlayerConfig = PlayerConfig(), analyticsConfig: AnalyticsConfig, defaultMetadata: DefaultMetadata = DefaultMetadata()): Player
Creates an analytics enabled player instance. The Player is configured via the provided playerConfig, while analytics is configured via the provided analyticsConfig.