Other Classes
The following classes are available globally.
-
Describes the configuration of the Google Interactive Media Ads.
See moreDeclaration
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 moreDeclaration
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
-
An initializer for a custom
Ad
.Remark
ExperimentalDeclaration
Swift
@objc(THEOplayerAdInit) public class AdInit : NSObject
-
An initializer for a custom
AdBreak
.Remark
ExperimentalDeclaration
Swift
@objc(THEOplayerAdBreakInit) public class AdBreakInit : 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
-
Thrown to indicate that an ad was tapped.
- ad : the Ad (either LinearAd or NonLinearAd)
Declaration
Swift
@objc(THEOplayerAdTappedEvent) public class AdTappedEvent : AdEvent
-
Thrown to indicate that an ad was added.
- ad : the Ad (either LinearAd or NonLinearAd)
Declaration
Swift
@objc(THEOplayerAddAdEvent) public class AddAdEvent : AdEvent
-
Thrown to indicate that an ad was updated.
- ad : the Ad (either LinearAd or NonLinearAd)
Declaration
Swift
@objc(THEOplayerUpdateAdEvent) public class UpdateAdEvent : AdEvent
-
Thrown to indicate that an adbreak has been added.
- ad : the AdBreak
Declaration
Swift
@objc(THEOplayerAddAdBreakEvent) public class AddAdBreakEvent : AdBreakEvent
-
Thrown to indicate that an adbreak has been updated.
- ad : the AdBreak
Declaration
Swift
@objc(THEOplayerUpdateAdBreakEvent) public class UpdateAdBreakEvent : AdBreakEvent
-
Thrown to indicate that an adbreak has been removed.
- ad : the AdBreak
Declaration
Swift
@objc(THEOplayerRemoveAdBreakEvent) public class RemoveAdBreakEvent : AdBreakEvent
-
Thrown to indicate that an adbreak has changed.
- ad : the AdBreak
Declaration
Swift
@objc(THEOplayerAdBreakChangeEvent) public class AdBreakChangeEvent : AdBreakEvent
-
Represents the base for all other player events.
See moreDeclaration
Swift
@objc(THEOplayerPlayerEvent) public class PlayerEvent : NSObject, EventProtocol
-
Fired when the media track’s active quality bandwidth changes.
See moreDeclaration
Swift
@objc(THEOplayerActiveQualityChangedEvent) public class ActiveQualityChangedEvent : NSObject, EventProtocol
-
Fired when one or more properties of a track have been updated.
See moreDeclaration
Swift
@objc(THEOplayerTrackUpdateEvent) public class TrackUpdateEvent : NSObject, _TrackEventProtocol
-
Represents a network configuration.
See more- Remark: Use `NetworkConfigurationBuilder` to initialize an instance.
Declaration
Swift
@objc(THEOplayerNetworkConfiguration) public class NetworkConfiguration : NSObject, Codable
-
A builder class to help initialize a
See moreNetworkConfiguration
instance.Declaration
Swift
@objc(THEOplayerNetworkConfigurationBuilder) public class NetworkConfigurationBuilder : NSObject
-
Builder class for the
See moreTHEOplayerConfiguration
object.Declaration
Swift
@objc public class THEOplayerConfigurationBuilder : 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
-
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
-
Fired when the
See moreCachingTask.status
changes to.idle
.Declaration
Swift
@objc(THEOplayerCachingTaskIdleStateChangeEvent) public class CachingTaskIdleStateChangeEvent : CachingTaskStateChangeEvent