iPlayerEvent
@objc public protocol iPlayerEvent
Interface for player events
-
PlayingStateupdatedDeclaration
Swift
func playingStateChanged(_ oldValue: PlayingState, newValue: PlayingState) -
Current playback position updated
Declaration
Swift
func progress(updatedToPosition position: Float64) -
PlayerErrorreceived fromiPlayerDeclaration
Swift
func request(withError error: PlayerRequestError, statusCode: Int) -
NSErrorreceived from playbackDeclaration
Swift
func playback(withError error: NSError) -
NSErrorreceived from the DRM serviceDeclaration
Swift
func drm(withError error: NSError) -
NSErrorreceived from the Preflight serviceDeclaration
Swift
func preflight(withError error: NSError)
View on GitHub
iPlayerEvent Protocol Reference