PlayerConfig

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

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

Constructors

PlayerConfig
Link copied to clipboard
fun PlayerConfig(key: String)
PlayerConfig
Link copied to clipboard
fun PlayerConfig(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

adaptationConfig
Link copied to clipboard
@SerializedName(value = adaptation)
var adaptationConfig: AdaptationConfig
Configures adaptation logic.
advertisingConfig
Link copied to clipboard
@SerializedName(value = advertising)
var advertisingConfig: AdvertisingConfig
Configures advertising functionality.
bufferConfig
Link copied to clipboard
@SerializedName(value = buffer)
var bufferConfig: BufferConfig
Configures buffer settings.
key
Link copied to clipboard
val key: String? = null
A Bitmovin license key that can be found in the Bitmovin portal.
licensingConfig
Link copied to clipboard
@SerializedName(value = licensing)
var licensingConfig: LicensingConfig
Configures license evaluation.
liveConfig
Link copied to clipboard
@SerializedName(value = live)
var liveConfig: LiveConfig
Configures behaviour when playing live content.
networkConfig
Link copied to clipboard
@SerializedName(value = network)
var networkConfig: NetworkConfig
Configures network request manipulation functionality.
playbackConfig
Link copied to clipboard
@SerializedName(value = playback)
var playbackConfig: PlaybackConfig
Configures playback behaviour.
remoteControlConfig
Link copied to clipboard
@SerializedName(value = remotecontrol)
var remoteControlConfig: RemoteControlConfig
Configures remote playback functionality.
styleConfig
Link copied to clipboard
@SerializedName(value = style)
var styleConfig: StyleConfig
Configures visual presentation and behaviour of the Player UI.
tweaksConfig
Link copied to clipboard
@SerializedName(value = tweaks)
var tweaksConfig: TweaksConfig
Configures experimental features.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)