The error log associated with a player item.


class AVPlayerItemErrorLog : NSObject


Accessing Error Data

var events: [AVPlayerItemErrorLogEvent]

A chronologically ordered array of player item error log event objects.

func extendedLogData() -> Data?

Returns a serialized representation of the error log in the Extended Log File Format.

var extendedLogDataStringEncoding: UInt

The string encoding of the extended log data.


Inherits From

See Also

Accessing Logs

func accessLog() -> AVPlayerItemAccessLog?

Returns an object that represents a snapshot of the network access log.

func errorLog() -> AVPlayerItemErrorLog?

Returns an object that represents a snapshot of the error log.

class AVPlayerItemAccessLog

An object used to retrieve the access log associated with a player item.

class AVPlayerItemAccessLogEvent

A single entry in a player item's access log.

class AVPlayerItemErrorLogEvent

A single item in a player item's error log.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software