Preload
@objc(THEOplayerPreload)
public enum Preload : Int
The preload strategy of the player. The strategy specifies what data to load on source change.
-
The player will not load any data.
Declaration
Swift
@objc(THEOplayerPreloadNONE) case none = 0
-
The player will load the metadata and the media.
Declaration
Swift
@objc(THEOplayerPreloadAUTO) case auto = 1
-
The player will load the metadata.
Remark
Only available on iOS.Declaration
Swift
@objc(THEOplayerPreloadMETADATA) case metadata = 2
-
The raw value of type String.
Declaration
Swift
public var _rawValue: String { get set }