PlayerEngine
@objc
public protocol PlayerEngine : BasicPlayer
Undocumented
-
Fired when some event is triggred.
Declaration
Swift
var onEventBlock: ((PKEvent) -> Void)? { get set }
-
The player’s start time.
Declaration
Swift
var startPosition: TimeInterval { get set }
-
The player’s current time.
Declaration
Swift
var currentPosition: TimeInterval { get set }
-
Undocumented
Declaration
Swift
var mediaConfig: MediaConfig? { get set }
-
Load media on player
Declaration
Swift
func loadMedia(from mediaSource: PKMediaSource?, handler: AssetHandler)