data class PlayerConfig(val key: String? = null, var styleConfig: StyleConfig = com.bitmovin.player.api.ui.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.


Link copied to clipboard
constructor(key: String)
constructor(key: String? = null, styleConfig: StyleConfig = com.bitmovin.player.api.ui.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())


Link copied to clipboard
@SerialName(value = "adaptation")
var adaptationConfig: AdaptationConfig

Configures adaptation logic. A default AdaptationConfig is set initially.

Link copied to clipboard
@SerialName(value = "advertising")
var advertisingConfig: AdvertisingConfig

Configures advertising functionality. A default AdvertisingConfig is set initially.

Link copied to clipboard
@SerialName(value = "buffer")
var bufferConfig: BufferConfig

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
@SerialName(value = "licensing")
var licensingConfig: LicensingConfig

Configures license evaluation. A default LicensingConfig is set initially.

Link copied to clipboard
@SerialName(value = "live")
var liveConfig: LiveConfig

Configures behaviour when playing live content.

Link copied to clipboard

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

Link copied to clipboard
@SerialName(value = "playback")
var playbackConfig: PlaybackConfig

Configures playback behaviour. A default PlaybackConfig is set initially.

Link copied to clipboard
@SerialName(value = "remotecontrol")
var remoteControlConfig: RemoteControlConfig

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

Link copied to clipboard
@SerialName(value = "style")
var styleConfig: StyleConfig

Configures visual presentation and behaviour of the Player UI. A default com.bitmovin.player.api.ui.StyleConfig is set initially.

Link copied to clipboard
@SerialName(value = "tweaks")
var tweaksConfig: TweaksConfig

Configures experimental features. A default TweaksConfig is set initially.