iOS Developer Library

Developer

MediaPlayer Framework Reference MPMovieAccessLogEvent Class Reference

Options
Deployment Target:

On This Page
Language:

MPMovieAccessLogEvent

Inheritance


Conforms To


Import Statement


Swift

import MediaPlayer

Objective-C

@import MediaPlayer;

Availability


Available in iOS 4.3 and later.

A movie access log event represents a single piece of information for a movie access log. For a description of movie access logs, see MPMovieAccessLog Class Reference.

  • A count of media segments downloaded from the web server to your app.

    Declaration

    Swift

    var numberOfSegmentsDownloaded: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSUInteger numberOfSegmentsDownloaded

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The timestamp for when playback began for the movie log access event.

    Declaration

    Swift

    var playbackStartDate: NSDate! { get }

    Objective-C

    @property(nonatomic, readonly) NSDate *playbackStartDate

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • URI URI Property

    The URI of the playback item.

    Declaration

    Swift

    var URI: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *URI

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The IP address of the web server that was the source of the last delivered media segment. Can be either an IPv4 or an IPv6 address.

    Declaration

    Swift

    var serverAddress: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *serverAddress

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • A count of changes to the serverAddress property over the last uninterrupted period of playback.

    Declaration

    Swift

    var numberOfServerAddressChanges: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSUInteger numberOfServerAddressChanges

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • A GUID that identifies the playback session. This value is used in HTTP requests.

    Declaration

    Swift

    var playbackSessionID: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *playbackSessionID

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • An offset into the playlist where the last uninterrupted period of playback began, in seconds.

    Declaration

    Swift

    var playbackStartOffset: NSTimeInterval { get }

    Objective-C

    @property(nonatomic, readonly) NSTimeInterval playbackStartOffset

    Discussion

    If the playback start offset is unknown, this property’s value is negative.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The accumulated duration of the media downloaded, in seconds.

    Declaration

    Swift

    var segmentsDownloadedDuration: NSTimeInterval { get }

    Objective-C

    @property(nonatomic, readonly) NSTimeInterval segmentsDownloadedDuration

    Discussion

    If the accumulated media duration is unknown, this property’s value is negative.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The accumulated duration of the media played, in seconds.

    Declaration

    Swift

    var durationWatched: NSTimeInterval { get }

    Objective-C

    @property(nonatomic, readonly) NSTimeInterval durationWatched

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The total number of playback stalls encountered.

    Declaration

    Swift

    var numberOfStalls: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSInteger numberOfStalls

    Discussion

    If the number of playback stalls is unknown, this property’s value is negative.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The accumulated number of bytes transferred.

    Declaration

    Swift

    var numberOfBytesTransferred: Int64 { get }

    Objective-C

    @property(nonatomic, readonly) int64_t numberOfBytesTransferred

    Discussion

    If the number of bytes transferred is unknown, this property’s value is negative.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The empirical throughput across all media downloaded for the movie player, in bits per second.

    Declaration

    Swift

    var observedBitrate: Double { get }

    Objective-C

    @property(nonatomic, readonly) double observedBitrate

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The throughput required to play the stream, as advertised by the web server, in bits per second.

    Declaration

    Swift

    var indicatedBitrate: Double { get }

    Objective-C

    @property(nonatomic, readonly) double indicatedBitrate

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.

  • The total number of dropped video frames.

    Declaration

    Swift

    var numberOfDroppedVideoFrames: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSInteger numberOfDroppedVideoFrames

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later.