Other Classes

The following classes are available globally.

  • Describes the configuration of the Google Interactive Media Ads.

    See more

    Declaration

    Swift

    @objc(THEOplayerGoogleIMAAdsConfiguration)
    public class GoogleIMAAdsConfiguration : NSObject, Codable
  • An object to create or build GoogleIMAAdsConfigurations.

    See more

    Declaration

    Swift

    @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

    @objc(THEOplayerAudioQuality)
    public class AudioQuality : 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