THEOplayerConfigurationBuilder
public class THEOplayerConfigurationBuilder : NSObject
Builder class for the THEOplayerConfiguration object.
-
Whether the logic to expose date ranges parsed from HLS manifests is enabled.
Declaration
Swift
public var hlsDateRange: Bool? -
Setter for the
hlsDateRangeproperty.Declaration
Swift
public func setHlsDateRange(_ hlsDateRange: Bool) -
The license for the player.
Declaration
Swift
public var license: String? -
The url to fetch the license for the player.
Declaration
Swift
public var licenseUrl: String? -
The picture in picture configuration of the player.
Declaration
Swift
public var pip: PiPConfiguration? -
The network configuration of the player.
Declaration
Swift
public var network: NetworkConfiguration? -
Flag that enables the player to automatically look for THEOplayer integration libraries (e.g. THEOlive) and register those on the player instance. Default value is TRUE.
Note
- Disable this flag, if a custom integration initialization is required, then call
player.addIntegration(integration)to register the customized integration.
Declaration
Swift
public var autoIntegrations: Bool - Disable this flag, if a custom integration initialization is required, then call
-
Builds and returns an object of type
THEOplayerConfiguration.Declaration
Swift
public func build() -> THEOplayerConfiguration