Type Property

AVPlayerItemFailedToPlayToEndTime

A notification that's posted when the item failed to play to its end time.

Declaration

static let AVPlayerItemFailedToPlayToEndTime: NSNotification.Name

Discussion

The notification’s object is the player item that finished playing.

The user info dictionary contains an error object that describes the problem—see AVPlayerItemFailedToPlayToEndTimeErrorKey.

See Also

Sending Notifications

let AVPlayerItemFailedToPlayToEndTimeErrorKey: String

The key to retrieve an error object from the user info dictionary of an AVPlayerItemTimeJumped notification.

static let AVPlayerItemDidPlayToEndTime: NSNotification.Name

A notification that's posted when the item has played to its end time.

static let AVPlayerItemTimeJumped: NSNotification.Name

A notification that's posted when the item’s current time has changed discontinuously.

static let AVPlayerItemPlaybackStalled: NSNotification.Name

A notification that’s posted when some media doesn’t arrive in time to continue playback.

static let AVPlayerItemNewAccessLogEntry: NSNotification.Name

A notification that's posted when posted when a new access log entry has been added.

static let AVPlayerItemNewErrorLogEntry: NSNotification.Name

A notification that's posted when posted when a new error log entry has been added.