CommandersActTracker

A MediaItemTracker implementation for Commanders Act analytics.

Parameters

commandersAct

The CommandersAct instance to use for tracking.

coroutineContext

The CoroutineContext to use for asynchronous operations.

Constructors

Link copied to clipboard
constructor(commandersAct: CommandersAct, coroutineContext: CoroutineContext)

Types

Link copied to clipboard
data class Data(val assets: Map<String, String>, val sourceId: String? = null)

Represents data to be sent to Commanders Act.

Link copied to clipboard

A factory class responsible for creating instances of CommandersActTracker.

Functions

Link copied to clipboard
open override fun start(player: ExoPlayer, data: CommandersActTracker.Data)
Link copied to clipboard
open override fun stop(player: ExoPlayer)