AVPlayerItemErrorLogEvent Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AVFoundation.framework
Availability
Available in iOS 4.3 and later.
Declared in
AVPlayerItem.h

Overview

An AVPlayerItemErrorLogEvent object represents a single item in an AVPlayerItem object’s error log.

An AVPlayerItemErrorLogEvent object provides named properties for accessing the data fields of each log event. None of the properties of this class are observable using key-value observing.

Tasks

Information About the Event

Properties

date

The date and time when the error occurred. (read-only)

@property(nonatomic, readonly) NSDate *date
Discussion

The property corresponds to “date”.

The value of this property may be nil if the date is unknown.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

errorComment

A description of the error encountered (read-only)

@property(nonatomic, readonly) NSString *errorComment
Discussion

The property corresponds to “comment”.

The value of this property may be nil if further information is not available.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

errorDomain

The domain of the error. (read-only)

@property(nonatomic, readonly) NSString *errorDomain
Discussion

The property corresponds to “domain”.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

errorStatusCode

A unique error code identifier. (read-only)

@property(nonatomic, readonly) NSInteger errorStatusCode
Discussion

The property corresponds to “status”.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

playbackSessionID

A GUID that identifies the playback session. (read-only)

@property(nonatomic, readonly) NSString *playbackSessionID
Discussion

The property corresponds to “cs-guid”.

The value of this property is used in HTTP requests, and may be nil if the GUID is unknown.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

serverAddress

The IP address of the server that was the source of the error. (read-only)

@property(nonatomic, readonly) NSString *serverAddress
Discussion

The property corresponds to “s-ip”.

The value of this property can be either an IPv4 or IPv6 address, and may be nil if the address is unknown.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

URI

The URI of the playback item (read-only)

@property(nonatomic, readonly) NSString *URI
Discussion

The property corresponds to “uri”.

The value of this property may be nil if the URI is unknown.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h