PlayerConfig
@objc(BMPPlayerConfig)
@objcMembers
public final class PlayerConfig : NSObject
Configures a new Player
instance.
Must not be modified after it was used to create a Player
instance.
-
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 Info.plist
Declaration
Swift
public var key: String?
-
Configures visual presentation and behaviour of the Player UI. A default
StyleConfig
is set initiallyDeclaration
Swift
public var styleConfig: StyleConfig
-
Configures playback behaviour. A default
PlaybackConfig
is set initiallyDeclaration
Swift
public var playbackConfig: PlaybackConfig
-
Configures advertising functionality. A default
AdvertisingConfig
is set initiallyDeclaration
Swift
public var advertisingConfig: AdvertisingConfig
-
Configures remote playback functionality. A default
RemoteControlConfig
is set initiallyDeclaration
Swift
@available(tvOS, unavailable) @available(visionOS, unavailable) public var remoteControlConfig: RemoteControlConfig { get set }
-
Configures adaptation logic. A default
AdaptationConfig
is set initiallyDeclaration
Swift
public var adaptationConfig: AdaptationConfig
-
Configures network request manipulation functionality. A default
NetworkConfig
is set initiallyDeclaration
Swift
public var networkConfig: NetworkConfig
-
Configures experimental features. A default
TweaksConfig
is set initiallyDeclaration
Swift
public var tweaksConfig: TweaksConfig
-
Configures buffer settings. A default
BufferConfig
is set initiallyDeclaration
Swift
public var bufferConfig: BufferConfig
-
Configures behaviour when playing live content. A default
LiveConfig
is set initiallyDeclaration
Swift
@available(*, deprecated, message: "Configuration for live streams has moved to the source-based `SourceLiveConfig`. Use `SourceConfig.liveConfig` instead.\"") public var liveConfig: LiveConfig
-
Configures the Now Playing information. A default
NowPlayingConfig
is set initially.Declaration
Swift
public var nowPlayingConfig: NowPlayingConfig
-
Declaration
Swift
override public init()