iPlayerEvent
@objc public protocol iPlayerEvent
Interface for player events
-
PlayingState
updatedDeclaration
Swift
func playingStateChanged(_ oldValue: PlayingState, newValue: PlayingState)
-
Current playback position updated
Declaration
Swift
func progress(updatedToPosition position: Float64)
-
PlayerError
received fromiPlayer
Declaration
Swift
func request(withError error: PlayerRequestError, statusCode: Int)
-
NSError
received from playbackDeclaration
Swift
func playback(withError error: NSError)
-
NSError
received from the DRM serviceDeclaration
Swift
func drm(withError error: NSError)
-
NSError
received from the Preflight serviceDeclaration
Swift
func preflight(withError error: NSError)