Mac Developer Library

Developer

DRStatus.h Reference

Options
Deployment Target:

On This Page

DRStatus.h Reference

Status dictionary content keys.

Included Headers

  • <Foundation/Foundation.h>

  • <AvailabilityMacros.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    extern NSString* const DRErrorStatusAdditionalSenseStringKey; extern NSString* const DRErrorStatusErrorInfoStringKey; extern NSString* const DRErrorStatusErrorKey; extern NSString* const DRErrorStatusErrorStringKey; extern NSString* const DRErrorStatusKey; extern NSString* const DRErrorStatusSenseCodeStringKey; extern NSString* const DRErrorStatusSenseKey; extern NSString* const DRStatusCurrentSessionKey; extern NSString* const DRStatusCurrentSpeedKey; extern NSString* const DRStatusCurrentTrackKey; extern NSString* const DRStatusEraseTypeKey; extern NSString* const DRStatusPercentCompleteKey; extern NSString* const DRStatusProgressCurrentKPS; extern NSString* const DRStatusProgressCurrentXFactor; extern NSString* const DRStatusProgressInfoKey; extern NSString* const DRStatusStateDone; extern NSString* const DRStatusStateErasing; extern NSString* const DRStatusStateFailed; extern NSString* const DRStatusStateFinishing; extern NSString* const DRStatusStateKey; extern NSString* const DRStatusStateNone; extern NSString* const DRStatusStatePreparing; extern NSString* const DRStatusStateSessionClose; extern NSString* const DRStatusStateSessionOpen; extern NSString* const DRStatusStateTrackClose; extern NSString* const DRStatusStateTrackOpen; extern NSString* const DRStatusStateTrackWrite; extern NSString* const DRStatusStateVerifying; extern NSString* const DRStatusTotalSessionsKey; extern NSString* const DRStatusTotalTracksKey;

    Constants

    • DRErrorStatusAdditionalSenseStringKey

      An NSString describing the RBC additional sense code and additional sense code qualifier pair returned by the device. If no sense is reported, this key will not be present.

    • DRErrorStatusErrorInfoStringKey

      An NSString describing extended error information in a user appropriate manner.

    • DRErrorStatusErrorKey

      An NSNumber containing the OS error code for the error.

    • DRErrorStatusErrorStringKey

      An NSString describing the error in a user appropriate manner.

    • DRErrorStatusKey

      The key in the status dictionary for the error dictionary.

    • DRErrorStatusSenseCodeStringKey

      An NSString describing the RBC sense code returned by the device. If no sense is reported, this key will not be present.

    • DRErrorStatusSenseKey

      An NSData object containing the raw RBC sense information structure reported by the device. If no sense is reported, this key will not be present.

    • DRStatusCurrentSessionKey

      A key for the burn status dictionary. NSNumber indicating the current session being burned.

    • DRStatusCurrentSpeedKey

      A key for the burn status dictionary. NSNumber indicating the current burn speed.

    • DRStatusCurrentTrackKey

      A key for the status dictionaries. NSNumber indicating the current track being burned.

    • DRStatusEraseTypeKey

      A key for the erase status dictionary. NSString indicating the type of erase operation.

    • DRStatusPercentCompleteKey

      A key for the status dictionaries. NSNumber containing the percent complete of the operation expressed as a floating point number from 0 to 1.

    • DRStatusProgressCurrentKPS

      This is an optional key within the DRStatusProgressInfoKey dictionary. The value of this key, if present, is a NSNumber object containing the write speed of the burn.

    • DRStatusProgressCurrentXFactor

      This is an optional key within the DRStatusProgressInfoKey dictionary. The value of this key, if present, is a NSNumber object containing the appropriate x-factor for the media.

    • DRStatusProgressInfoKey

      A key for the status dictionary. The value of this key is a reference to a NSDictionary object containing extended progress information.

    • DRStatusStateDone

      One possible value for DRStatusStateKey . Indicates the operation is finished and it succeeded.

    • DRStatusStateErasing

      One possible value for DRStatusStateKey in the erase status dictionary. Indicates the erase is currently in progress.

    • DRStatusStateFailed

      One possible value for DRStatusStateKey . Indicates the operation is finished and it failed.

    • DRStatusStateFinishing

      One possible value for DRStatusStateKey in the burn status dictionary. Indicates the burn is finishing up (closing the last session, writing the TOC, etc).

    • DRStatusStateKey

      A key for the status dictionaries. NSString indicating the current state of the operation.

    • DRStatusStateNone

      One possible value for DRStatusStateKey . Indicates the operation has not yet begun.

    • DRStatusStatePreparing

      One possible value for DRStatusStateKey . Indicates the operation is preparing to begin.

    • DRStatusStateSessionClose

      One possible value for DRStatusStateKey in the burn status dictionary. Indicates the burn is closing a session on disc. The exact session being closing is contained in DRStatusCurrentSessionKey .

    • DRStatusStateSessionOpen

      One possible value for DRStatusStateKey in the burn status dictionary. Indicates the burn is opening a session on disc. The exact session being opened is contained in DRStatusCurrentSessionKey .

    • DRStatusStateTrackClose

      One possible value for DRStatusStateKey in the burn status dictionary. Indicates the burn is closing a track on disc. The exact track being closed is contained in DRStatusCurrentTrackKey .

    • DRStatusStateTrackOpen

      One possible value for DRStatusStateKey in the burn status dictionary. Indicates the burn is opening a track on disc. The exact track being opened is contained in DRStatusCurrentTrackKey .

    • DRStatusStateTrackWrite

      One possible value for DRStatusStateKey in the burn status dictionary. Indicates the burn is writing a track on disc. The exact track being written is contained in DRStatusCurrentTrackKey .

    • DRStatusStateVerifying

      One possible value for DRStatusStateKey . Indicates the operation is verifying what it did.

    • DRStatusTotalSessionsKey

      A key for the status dictionaries. NSNumber indicating the total number of sessions being burned.

    • DRStatusTotalTracksKey

      A key for the status dictionaries. NSNumber indicating the total number of tracks in the current session being burned.