Instance Method

errorLog()

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

Declaration

func errorLog() -> AVPlayerItemErrorLog?

Return Value

An object that represents a snapshot of the error log. The returned value can be nil.

Discussion

If the method returns nil, there is no logging information currently available for the player item.

See Also

Accessing Logs

func accessLog() -> AVPlayerItemAccessLog?

Returns an object that represents a snapshot of the network access 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 AVPlayerItemErrorLog

The error log associated with a player item.

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