iOS Developer Library

Developer

AVFoundation Framework Reference AVPlayerItemErrorLogEvent Class Reference

Options
Deployment Target:

On This Page
Language:

AVPlayerItemErrorLogEvent

An AVPlayerItemErrorLogEvent object represents a single item in an AVPlayerItem object’s error log.

An AVPlayerItemErrorLogEvent object provides named properties for accessing the data fields of each log event. None of the properties of this class are observable using key-value observing.

Inheritance


Conforms To


Import Statement


Swift

import AVFoundation

Objective-C

@import AVFoundation;

Availability


Available in iOS 4.3 and later.
  • date date Property

    The date and time when the error occurred. (read-only)

    Declaration

    Swift

    var date: NSDate! { get }

    Objective-C

    @property(nonatomic, readonly) NSDate *date

    Discussion

    The property corresponds to “date”.

    The value of this property may be nil if the date is unknown.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.

  • URI URI Property

    The URI of the playback item (read-only)

    Declaration

    Swift

    var URI: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *URI

    Discussion

    The property corresponds to “uri”.

    The value of this property may be nil if the URI is unknown.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.

  • The IP address of the server that was the source of the error. (read-only)

    Declaration

    Swift

    var serverAddress: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *serverAddress

    Discussion

    The property corresponds to “s-ip”.

    The value of this property can be either an IPv4 or IPv6 address, and may be nil if the address is unknown.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.

  • A GUID that identifies the playback session. (read-only)

    Declaration

    Swift

    var playbackSessionID: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *playbackSessionID

    Discussion

    The property corresponds to “cs-guid”.

    The value of this property is used in HTTP requests, and may be nil if the GUID is unknown.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.

  • A unique error code identifier. (read-only)

    Declaration

    Swift

    var errorStatusCode: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSInteger errorStatusCode

    Discussion

    The property corresponds to “status”.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.

  • The domain of the error. (read-only)

    Declaration

    Swift

    var errorDomain: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *errorDomain

    Discussion

    The property corresponds to “domain”.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.

  • A description of the error encountered (read-only)

    Declaration

    Swift

    var errorComment: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *errorComment

    Discussion

    The property corresponds to “comment”.

    The value of this property may be nil if further information is not available.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.3 and later.