Other Classes
The following classes are available globally.
-
An object to create or build GoogleIMAAdsConfigurations.
See moreDeclaration
Swift
@objc(THEOplayerGoogleIMAConfigurationBuilder) public class GoogleIMAConfigurationBuilder : NSObject
-
Describes the configuration of the picture-in-picture feature.
See moreDeclaration
Swift
@objc(THEOplayerPiPConfiguration) public class PiPConfiguration : NSObject, Codable
-
Thrown to indicate that the ad was skipped.
See moreDeclaration
Swift
@objc(THEOplayerAdSkipEvent) public class AdSkipEvent : AdEvent
-
Represents the base for all other player events.
See moreDeclaration
Swift
@objc(THEOplayerPlayerEvent) public class PlayerEvent : NSObject, EventProtocol
-
Represents the quality of an
See moreAudioTrack
.Declaration
Swift
@objc(THEOplayerAudioQuality) public class AudioQuality : NSObject
-
A set of configurations for different key systems.
See moreDeclaration
Swift
@objc(THEOplayerKeySystemConfigurationCollection) public final class KeySystemConfigurationCollection : NSObject
extension KeySystemConfigurationCollection: Codable
-
A set of DRM parameters.
See moreDeclaration
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 theFullscreen.viewControllerClass
API. Additionally, it is possible to control when and how the view controller is presented via theFullscreen.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
valuetextSelector
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
valuetextSelector
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
valuetextSelector
A string that contains an identifier for the ranges of text to which the style attributes should be applied.
-
Declaration
Swift
@objc(THEOplayerCachingParametersTrackSelection) public class CachingParametersTrackSelection : NSObject, Codable
-
Declaration
Swift
@objc(THEOplayerCachingParametersTrackSelectionBuilder) public class CachingParametersTrackSelectionBuilder : NSObject
-
The cast error.
See moreDeclaration
Swift
@objc(THEOplayerCastError) public class CastError_Objc : NSObject
-
Fired when the
See moreCachingTask.status
changes to.error
.Declaration
Swift
@objc(THEOplayerCachingTaskErrorStateChangeEvent) public class CachingTaskErrorStateChangeEvent : CachingTaskStateChangeEvent