PlayerConfig

data class PlayerConfig(val key: String? = null, var styleConfig: StyleConfig = StyleConfig(), var playbackConfig: PlaybackConfig = PlaybackConfig(), var licensingConfig: LicensingConfig = LicensingConfig(), var advertisingConfig: AdvertisingConfig = AdvertisingConfig(), var remoteControlConfig: RemoteControlConfig = RemoteControlConfig(), var adaptationConfig: AdaptationConfig = AdaptationConfig(), var networkConfig: NetworkConfig = NetworkConfig(), var liveConfig: LiveConfig = LiveConfig(), var tweaksConfig: TweaksConfig = TweaksConfig(), var bufferConfig: BufferConfig = BufferConfig()) : Parcelable

Configures a new Player instance. Must not be modified after it was used to create a Player instance.

Constructors

Link copied to clipboard
constructor(key: String)
constructor(key: String? = null, styleConfig: StyleConfig = StyleConfig(), playbackConfig: PlaybackConfig = PlaybackConfig(), licensingConfig: LicensingConfig = LicensingConfig(), advertisingConfig: AdvertisingConfig = AdvertisingConfig(), remoteControlConfig: RemoteControlConfig = RemoteControlConfig(), adaptationConfig: AdaptationConfig = AdaptationConfig(), networkConfig: NetworkConfig = NetworkConfig(), liveConfig: LiveConfig = LiveConfig(), tweaksConfig: TweaksConfig = TweaksConfig(), bufferConfig: BufferConfig = BufferConfig())

Properties

Link copied to clipboard

Configures adaptation logic. A default AdaptationConfig is set initially.

Link copied to clipboard

Configures advertising functionality. A default AdvertisingConfig is set initially.

Link copied to clipboard

Configures buffer settings. A default BufferConfig is set initially.

Link copied to clipboard
val key: String? = null

A Bitmovin license key that can be found in the Bitmovin portal. If a license key is set here, it will be used instead of the license key found in the app manifest.

Link copied to clipboard

Configures license evaluation. A default LicensingConfig is set initially.

Link copied to clipboard

Configures behaviour when playing live content. A default LiveConfig is set initially.

Link copied to clipboard

Configures network request manipulation functionality. A default NetworkConfig is set initially.

Link copied to clipboard

Configures playback behaviour. A default PlaybackConfig is set initially.

Link copied to clipboard

Configures remote playback functionality. A default RemoteControlConfig is set initially.

Link copied to clipboard

Configures visual presentation and behaviour of the Player UI. A default StyleConfig is set initially.

Link copied to clipboard

Configures experimental features. A default TweaksConfig is set initially.