iOS Developer Library

Developer

Media Player Framework Reference MPMovieAccessLog Class Reference

Options
Deployment Target:

On This Page
Language:

MPMovieAccessLog

A movie access log accumulates key metrics about network playback for an associated movie player that is playing streamed content. The log presents these metrics as a collection of MPMovieAccessLogEvent instances and also makes it available in a textual format. A movie access log describes one uninterrupted period of playback. A movie player (an instance of the MPMoviePlayerController class) can access this log from its setAccessLog: property.

All movie access log properties are read-only.

  • A textual version of the web server access log for the associated movie player.

    Declaration

    Swift

    var extendedLogData: NSData! { get }

    Objective-C

    @property(nonatomic, readonly) NSData *extendedLogData

    Discussion

    The web server access 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.

    Availability

    Available in iOS 4.3 and later.

    Deprecated in iOS 9.0.

  • The string encoding for the extendedLogData property.

    Declaration

    Swift

    var extendedLogDataStringEncoding: UInt { get }

    Objective-C

    @property(nonatomic, readonly) NSStringEncoding extendedLogDataStringEncoding

    Discussion

    For possible string encodings, see String_Encodings.

    Availability

    Available in iOS 4.3 and later.

    Deprecated in iOS 9.0.

  • events events (iOS 9.0) Property

    The events in the movie access log.

    Declaration

    Swift

    var events: [AnyObject]! { get }

    Objective-C

    @property(nonatomic, readonly) NSArray *events

    Discussion

    An ordered collection of MPMovieAccessLogEvent instances that represent the chronological sequence of events in the movie access log.

    Availability

    Available in iOS 4.3 and later.

    Deprecated in iOS 9.0.