MuxStatsSdkMedia3
class MuxStatsSdkMedia3<P : Player> @JvmOverloads 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>) : MuxDataSdk<P, View>
TODO: doc out of date Monitors a generic Player with Mux Data, reporting data about the View to the environment specified by the env key.
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.
Constructors
Link copied to clipboard
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>)