AVPlayerItemErrorLog 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
You use an AVPlayerItemErrorLog object to retrieve the error log associated with an AVPlayerItem object.
Properties
events
A chronologically ordered array of AVPlayerItemErrorLogEvent objects. (read-only)
Discussion
The array contains AVPlayerItemErrorLogEvent objects that represent the chronological sequence of events contained in the error log.
This property is not observable using key-value observing.
Availability
- Available in iOS 4.3 and later.
Declared In
AVPlayerItem.hInstance Methods
extendedLogData
Returns a serialized representation of the error log in the Extended Log File Format.
Return Value
A serialized representation of the error log in the Extended Log File Format.
Discussion
This method converts the web server error log into a textual format that conforms to the W3C Extended Log File Format for web server log files. For more information, see http://www.w3.org/pub/WWW/TR/WD-logfile.html.
You can generate a string suitable for console output using:
[[NSString alloc] initWithData:[myLog extendedLogData] encoding:[myLog extendedLogDataStringEncoding]] |
Availability
- Available in iOS 4.3 and later.
See Also
Declared In
AVPlayerItem.hextendedLogDataStringEncoding
Returns the string ecoding of the extended log data.
Return Value
The string encoding of the data returned by extendedLogData.
Availability
- Available in iOS 4.3 and later.
See Also
Declared In
AVPlayerItem.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-01-06)