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
sealed interface AnalyticsPlayerConfig

Configuration for the analytics data collection feature on the Player.

Link copied to clipboard
sealed interface AnalyticsSourceConfig

Configuration for the analytics feature on the Source.

Link copied to clipboard

Java helper to create a Player with built-in analytics data 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.