Other Classes

The following classes are available globally.

  • Describes the configuration of the Google Interactive Media Ads.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This class will be removed in future releases. Configuration for Google IMA is moved to `THEOplayerGoogleIMAIntegration`.")
    @objc(THEOplayerGoogleIMAAdsConfiguration)
    public class GoogleIMAAdsConfiguration : NSObject, Codable
  • An object to create or build GoogleIMAAdsConfigurations.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This class will be removed in future releases. Configuration for Google IMA is moved to `THEOplayerGoogleIMAIntegration`.")
    @objc(THEOplayerGoogleIMAConfigurationBuilder)
    public class GoogleIMAConfigurationBuilder : NSObject
  • Describes the configuration of the picture-in-picture feature.

    See more

    Declaration

    Swift

    @objc(THEOplayerPiPConfiguration)
    public class PiPConfiguration : NSObject, Codable
  • Thrown to indicate that the ad was skipped.

    See more

    Declaration

    Swift

    @objc(THEOplayerAdSkipEvent)
    public class AdSkipEvent : AdEvent
  • Thrown to indicate that an ad was tapped.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdTappedEvent)
    public class AdTappedEvent : AdEvent
  • Represents the base for all other player events.

    See more

    Declaration

    Swift

    @objc(THEOplayerPlayerEvent)
    public class PlayerEvent : NSObject, EventProtocol
  • Represents the quality of an AudioTrack.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This class will be removed with the next major release.")
    @objc(THEOplayerAudioQuality)
    public class AudioQuality : NSObject
  • Represents a network configuration.

    - Remark: Use `NetworkConfigurationBuilder` to initialize an instance.
    
    See more

    Declaration

    Swift

    @objc(THEOplayerNetworkConfiguration)
    public class NetworkConfiguration : NSObject, Codable
  • A builder class to help initialize a NetworkConfiguration instance.

    See more

    Declaration

    Swift

    @objc(THEOplayerNetworkConfigurationBuilder)
    public class NetworkConfigurationBuilder : NSObject
  • Builder class for the THEOplayerConfiguration object.

    See more

    Declaration

    Swift

    @objc
    public class THEOplayerConfigurationBuilder : NSObject
  • A set of configurations for different key systems.

    See more

    Declaration

    Swift

    @objc(THEOplayerKeySystemConfigurationCollection)
    public final class KeySystemConfigurationCollection : NSObject
    extension KeySystemConfigurationCollection: Codable
  • A set of DRM parameters.

    See more

    Declaration

    Swift

    @objc(THEOplayerMultiplatformDRMConfiguration)
    public class MultiplatformDRMConfiguration : NSObject, DRMConfiguration
    extension MultiplatformDRMConfiguration: DRMConfiguration_Objc
  • The Fullscreen view controller class that presents the player when the PresentationMode is set to fullscreen. This class can be subclassed for customization, and the resulting type can be passed back to the player via the Fullscreen.viewControllerClass API. Additionally, it is possible to control when and how the view controller is presented via the Fullscreen.presentationDelegate API.

    Remark

    When subclassing and overriding UIViewController lifecycle methods such as viewDidLoad, the super methods must be called to maintain functionality.

    Declaration

    Swift

    open class FullscreenViewController : UIViewController
  • A builder to create CachingParametersTrackSelections.

    Since

    v5.0.0
    See more

    Declaration

    Swift

    @objc(THEOplayerCachingParametersTrackSelectionBuilder)
    public class CachingParametersTrackSelectionBuilder : NSObject
  • The cast error.

    See more

    Declaration

    Swift

    @objc(THEOplayerCastError)
    public class CastError_Objc : NSObject
  • Fired when the CachingTask.status changes to .error.

    See more

    Declaration

    Swift

    @objc(THEOplayerCachingTaskErrorStateChangeEvent)
    public class CachingTaskErrorStateChangeEvent : CachingTaskStateChangeEvent
  • Fired when the CachingTask.status changes to .idle.

    See more

    Declaration

    Swift

    @objc(THEOplayerCachingTaskIdleStateChangeEvent)
    public class CachingTaskIdleStateChangeEvent : CachingTaskStateChangeEvent