Other Classes

The following classes are available globally.

  • 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
  • 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 TextTrackStyleRule that holds a color (UIColor) value.

    Remark

    Eligible identifiers are determined by the media format and its corresponding text content. For example, the string could contain the CSS selectors used by the corresponding text in Web Video Text Tracks (WebVTT) markup. Specify nil if you want the style attributes to apply to all text in the item.

    Declaration

    Swift

    @objc(THEOplayerTextTrackStyleRuleColor)
    public class TextTrackStyleRuleColor : NSObject, TextTrackStyleRule

    Parameters

    color

    UIColor value

    textSelector

    A string that contains an identifier for the ranges of text to which the style attributes should be applied.

  • A TextTrackStyleRule that holds a color (String) value.

    Remark

    Eligible identifiers are determined by the media format and its corresponding text content. For example, the string could contain the CSS selectors used by the corresponding text in Web Video Text Tracks (WebVTT) markup. Specify nil if you want the style attributes to apply to all text in the item.

    Declaration

    Swift

    @objc(THEOplayerTextTrackStyleRuleString)
    public class TextTrackStyleRuleString : NSObject, TextTrackStyleRule

    Parameters

    string

    String value

    textSelector

    A string that contains an identifier for the ranges of text to which the style attributes should be applied.

  • A TextTrackStyleRule that holds a color (Int) value.

    Remark

    Eligible identifiers are determined by the media format and its corresponding text content. For example, the string could contain the CSS selectors used by the corresponding text in Web Video Text Tracks (WebVTT) markup. Specify nil if you want the style attributes to apply to all text in the item.

    Declaration

    Swift

    @objc(THEOplayerTextTrackStyleRuleNumber)
    public class TextTrackStyleRuleNumber : NSObject, TextTrackStyleRule

    Parameters

    string

    Int value

    textSelector

    A string that contains an identifier for the ranges of text to which the style attributes should be applied.

  • An object that represents a CachingParametersTrackSelection.

    Remark

    Remark:

    Since

    v5.0.0

    See more

    Declaration

    Swift

    @objc(THEOplayerCachingParametersTrackSelection)
    public class CachingParametersTrackSelection : NSObject, Codable
  • 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