THEOplayer API
-
The THEOplayer object.
See moreDeclaration
Swift
@objc public class THEOplayer : NSObject, EventDispatcherProtocol
-
The configuration for a THEOplayer instance.
See moreDeclaration
Swift
@objc public class THEOplayerConfiguration : NSObject, Encodable
-
The Cast object helps you configure and control casting to external devices with THEOplayer.
See moreDeclaration
Swift
public protocol Cast : EventDispatcherProtocol
-
The ready state of the player.
See moreDeclaration
Swift
@objc(THEOplayerReadyState) public enum ReadyState : Int
-
The presentation mode specifies how the player will be displayed.
See moreDeclaration
Swift
@objc(THEOplayerPresentationMode) public enum PresentationMode : Int
-
The preload strategy of the player. The strategy specifies what data to load on source change.
See moreDeclaration
Swift
@objc(THEOplayerPreload) public enum Preload : Int
-
The metrics API which can be used to gather information related to the quality-of-service and video playback experience.
Remark
- Values will be updated periodically.
Since
v2.46.0.Declaration
Swift
@objc(THEOplayerMetrics) public class Metrics : NSObject, Codable
-
A delegate defining behavior for background playback
See moreDeclaration
Swift
public protocol BackgroundPlaybackDelegate