Package-level declarations

Types

Link copied to clipboard
interface AnalyticsApi

Provides the means to control the analytics collected by a Player.

Link copied to clipboard

Java helper to create a Player with built-in analytics collection.

Link copied to clipboard

Provides the means to control the analytics collected by a Source.

Link copied to clipboard

Java helper to create an analytics aware Source.

Functions

Link copied to clipboard
fun 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.