iOS Developer Library

Developer

MediaPlayer 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. More...

Inheritance


Conforms To


Import Statement


import MediaPlayer @import MediaPlayer;

Availability


Available in iOS 4.3 and later.
  • 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.

    Import Statement

    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

    Discussion

    For possible string encodings, see String_Encodings.

    Import Statement

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • events events 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.

    Import Statement

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.