iOS Developer Library

Developer

MediaPlayer Framework Reference MPMovieErrorLog Class Reference

Options
Deployment Target:

On This Page
Language:

MPMovieErrorLog

Inherits From


Conforms To


Import Statement


Swift

import MediaPlayer

Objective-C

@import MediaPlayer;

Availability


Available in iOS 4.3 and later

A movie error log contains data describing network resource playback failures for the associated movie player. The data includes timestamps indicating when each failure occurred.

All movie error log properties are read-only.

  • A textual version of the web server error log.

    Declaration

    Swift

    var extendedLogData: NSData! { get }

    Objective-C

    @property(nonatomic, readonly) NSData *extendedLogData

    Discussion

    The web server error log in 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.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later

  • The string encoding for the extendedLogData property.

    Declaration

    Swift

    var extendedLogDataStringEncoding: UInt { get }

    Objective-C

    @property(nonatomic, readonly) NSStringEncoding extendedLogDataStringEncoding

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later

  • events events Property

    The events in the movie error log.

    Declaration

    Swift

    var events: [AnyObject]! { get }

    Objective-C

    @property(nonatomic, readonly) NSArray *events

    Discussion

    An ordered collection of MPMovieErrorLogEvent instances that represent the chronological sequence of events in the movie error log.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later