PlayerFactory

Deprecated

Use the `PlayerBuilder` instead.

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

Functions

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