iOS Developer Library

Developer

MediaPlayer Framework Reference MPMovieErrorLogEvent Class Reference

Options
Deployment Target:

On This Page
Language:

MPMovieErrorLogEvent

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 event represents a single piece of information for a movie error log. For a description of movie error logs, see MPMovieErrorLog Class Reference.

All movie error log event properties are read-only.

  • date date Property

    The date and time when the error occurred.

    Declaration

    Swift

    var date: NSDate! { get }

    Objective-C

    @property(nonatomic, readonly) NSDate *date

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later

  • URI URI Property

    The URI of the item being played when the error occurred.

    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 error.

    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 GUID (globally unique identifier) for the playback session.

    Declaration

    Swift

    var playbackSessionID: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *playbackSessionID

    Discussion

    The GUID is used in HTTP requests.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later

  • A unique error code identifier.

    Declaration

    Swift

    var errorStatusCode: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSInteger errorStatusCode

    Discussion

    If the error is unknown, the value of this property is negative.

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later

  • The network domain of the error.

    Declaration

    Swift

    var errorDomain: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *errorDomain

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later

  • A description of the error.

    Declaration

    Swift

    var errorComment: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *errorComment

    Import Statement

    Objective-C

    @import MediaPlayer;

    Swift

    import MediaPlayer

    Availability

    Available in iOS 4.3 and later