Mac Developer Library

Developer

DRCoreStatus.h Reference

Options
Deployment Target:

On This Page

DRCoreStatus.h Reference

Status dictionary content keys.

Included Headers

  • <CoreServices/CoreServices.h>

  • <AvailabilityMacros.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    extern const CFStringRef kDRStatusCurrentSessionKey; extern const CFStringRef kDRStatusCurrentSpeedKey; extern const CFStringRef kDRStatusCurrentTrackKey; extern const CFStringRef kDRStatusEraseTypeKey; extern const CFStringRef kDRStatusPercentCompleteKey; extern const CFStringRef kDRStatusProgressCurrentKPS; extern const CFStringRef kDRStatusProgressCurrentXFactor; extern const CFStringRef kDRStatusProgressInfoKey; extern const CFStringRef kDRStatusStateDone; extern const CFStringRef kDRStatusStateErasing; extern const CFStringRef kDRStatusStateFailed; extern const CFStringRef kDRStatusStateFinishing; extern const CFStringRef kDRStatusStateKey; extern const CFStringRef kDRStatusStateNone; extern const CFStringRef kDRStatusStatePreparing; extern const CFStringRef kDRStatusStateSessionClose; extern const CFStringRef kDRStatusStateSessionOpen; extern const CFStringRef kDRStatusStateTrackClose; extern const CFStringRef kDRStatusStateTrackOpen; extern const CFStringRef kDRStatusStateTrackWrite; extern const CFStringRef kDRStatusStateVerifying; extern const CFStringRef kDRStatusTotalSessionsKey; extern const CFStringRef kDRStatusTotalTracksKey;

    Constants

    • kDRStatusCurrentSessionKey

      A key for the burn status dictionary. The value of this key is a CFNumber object containing the number of the current burn session.

    • kDRStatusCurrentSpeedKey

      A key for the burn status dictionary. The value of this key is a CFNumber object containing the current burn or erase speed.

    • kDRStatusCurrentTrackKey

      A key for the status dictionaries. The value of this key is a CFNumber object containing the number of the track being burned.

    • kDRStatusEraseTypeKey

      A key for the erase status dictionary. The value of this key is a CFString object containing the type of erase operation -- either kDREraseTypeQuick or kDREraseTypeComplete .

    • kDRStatusPercentCompleteKey

      A key for the status dictionaries. The value of this key is a CFNumber object containing the precentage of completion for the burn or erase operation, expressed as a foating point number from 0 to 1.

    • kDRStatusProgressCurrentKPS

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

    • kDRStatusProgressCurrentXFactor

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

    • kDRStatusProgressInfoKey

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

    • kDRStatusStateDone

      A value for the kDRStatusStateKey dictionary key. This value indicates the burn or erase operation finished and succeeded.

    • kDRStatusStateErasing

      A value for the kDRStatusStateKey key in the erase status dictionary. This value indicates the erase is currently in progress.

    • kDRStatusStateFailed

      A value for the kDRStatusStateKey dictionary key. This value indicates the burn or erase operation finished but failed.

    • kDRStatusStateFinishing

      A value for the kDRStatusStateKey key in the burn status dictionary. This value indicates the burn is finishing--closing the last session, writing the TOC, and so on.

    • kDRStatusStateKey

      A key for the status dictionaries. The value of this key is a CFString object indicating the current state of the burn or erase operation.

    • kDRStatusStateNone

      A value for the kDRStatusStateKey dictionary key. This value indicates the burn or erase operation has not yet begun.

    • kDRStatusStatePreparing

      A value for the kDRStatusStateKey dictionary key. This value indicates the burn or erase operation is preparing to begin.

    • kDRStatusStateSessionClose

      A value for the kDRStatusStateKey key in the burn status dictionary. This value indicates the burn engine is closing a session on disc. The number of the session being closed is available as the value for the kDRStatusCurrentSessionKey dictionary key.

    • kDRStatusStateSessionOpen

      A value for the kDRStatusStateKey key in the burn status dictionary. This value indicates the burn engine is opening a session on disc. The number of the session being opened is available as the value for the kDRStatusCurrentSessionKey dictionary key.

    • kDRStatusStateTrackClose

      A value for the kDRStatusStateKey key in the burn status dictionary. This value indicates the burn engine is closing a track on disc. The number of the track being closed is available as the value for the kDRStatusCurrentTrackKey dictionary key.

    • kDRStatusStateTrackOpen

      A value for the kDRStatusStateKey key in the burn status dictionary. This value indicates the burn engine is opening a track on disc. The number of the track being opened is available as the value for the kDRStatusCurrentTrackKey dictionary key.

    • kDRStatusStateTrackWrite

      A value for the kDRStatusStateKey key in the burn status dictionary. This value indicates the burn engine is writing a track on disc. The number of the track being written is available as the value for the in kDRStatusCurrentTrackKey dictionary key.

    • kDRStatusStateVerifying

      A value for the kDRStatusStateKey dictionary key. This value indicates the operation is verifying what it did.

    • kDRStatusTotalSessionsKey

      A key for the status dictionaries. The value of this key is a CFNumber object containing the total number of sessions being burned.

    • kDRStatusTotalTracksKey

      A key for the status dictionaries. The value of this key is a CFNumber object containing the total number of tracks being burned in the current session.