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