Instance Method

accessLog()

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

Declaration

func accessLog() -> AVPlayerItemAccessLog?

Return Value

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

The error log associated with a player item.

class AVPlayerItemErrorLogEvent

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