THEOplayerConfiguration

@objc
public class THEOplayerConfiguration : NSObject, Encodable

The configuration for a THEOplayer instance.

  • Whether the logic to expose date ranges parsed from HLS manifests is enabled.

    Declaration

    Swift

    public let hlsDateRange: Bool?
  • The license for the player.

    Declaration

    Swift

    public let license: String?
  • The url to fetch the license for the player.

    Declaration

    Swift

    public let licenseUrl: String?
  • pip

    The picture in picture configuration of the player.

    Declaration

    Swift

    public let pip: PiPConfiguration?
  • The network configuration of the player.

    Declaration

    Swift

    public let 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 let autoIntegrations: Bool
  • uid

    The unique identifier of the player.

    Declaration

    Swift

    public private(set) var uid: Int? { get }
  • :nodoc

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws