THEOplayerConfigurationBuilder

@objc
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 hlsDateRange property.

    Declaration

    Swift

    @objc
    public func setHlsDateRange(_ hlsDateRange: Bool)
  • The license for the player.

    Declaration

    Swift

    @objc
    public var license: String?
  • The url to fetch the license for the player.

    Declaration

    Swift

    @objc
    public var licenseUrl: String?
  • pip

    The picture in picture configuration of the player.

    Declaration

    Swift

    @objc
    public var pip: PiPConfiguration?
  • The network configuration of the player.

    Declaration

    Swift

    @objc
    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

    @objc
    public var autoIntegrations: Bool
  • Builds and returns an object of type THEOplayerConfiguration.

    Declaration

    Swift

    @objc
    public func build() -> THEOplayerConfiguration