MuxStatsSdkMedia3

constructor(context: Context, envKey: String, customerData: CustomerData, player: P, playerView: View? = null, customOptions: CustomOptions? = null, network: INetworkRequest? = null, device: IDevice? = null, playerBinding: MuxPlayerAdapter.PlayerBinding<P>)

Parameters

context

a Context containing your player. If it's an Activity, screen size is obtained

envKey

your Mux Data Environment Key

customerData

data about you, your customer, and your video

player

the player you wish to observe

playerView

the View showing your video content

customOptions

Options that affect the behavior of the SDK

network

Optional. A custom INetworkRequest to use instead of the default.

device

Optional. A custom IDevice to use instead of the default.

playerBinding

a MuxPlayerAdapter.PlayerBinding that can observe the state of your player

P

The type of player being monitored.