Mac Developer Library

Developer

IOCDMedia.h Reference

Options
Deployment Target:

On This Page

IOCDMedia.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

This header contains the IOCDMedia class definition.

Included Headers

  • <IOKit/storage/IOCDBlockStorageDriver.h>

  • <IOKit/storage/IOMedia.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    #define kIOCDMediaClass "IOCDMedia" #define kIOCDMediaTOCKey "TOC" #define kIOCDMediaTypeKey "Type" #define kIOCDMediaTypeR "CD-R" #define kIOCDMediaTypeROM "CD-ROM" #define kIOCDMediaTypeRW "CD-RW"

    Constants

    • kIOCDMediaClass

      kIOCDMediaClass

      kIOCDMediaClass is the name of the IOCDMedia class.

      kIOCDMediaClass is the name of the IOCDMedia class.

      Available in OS X v10.0 and later.

    • kIOCDMediaTOCKey

      kIOCDMediaTOCKey

      kIOCDMediaTOCKey is a property of IOCDMedia objects. It has an OSData value and a CDTOC structure.

      The kIOCDMediaTOCKey property contains the CD's full table of contents, formatted as a CDTOC structure. The CDTOC structure is same as what is returned by a READ TOC command, format 0x02. All fields in the TOC are guaranteed to be binary-encoded (no BCD-encoded numbers are ever passed).

      Available in OS X v10.0 and later.

    • kIOCDMediaTypeKey

      kIOCDMediaTypeKey

      kIOCDMediaTypeKey is a property of IOCDMedia objects. It has an OSString value.

      The kIOCDMediaTypeKey property identifies the CD media type (CD-ROM, CD-R, CD-RW, etc). See the kIOCDMediaType contants for possible values.

      Available in OS X v10.0 and later.

    • kIOCDMediaTypeR

      kIOCDMediaTypeR

      The kIOCDMediaTypeKey constant for CD Recordable (CD-R) media.

      Available in OS X v10.0 and later.

    • kIOCDMediaTypeROM

      kIOCDMediaTypeROM

      The kIOCDMediaTypeKey constant for CD-ROM media (inclusive of the CD-I, CD-ROM XA, and CD Audio standards, and mixed mode combinations thereof).

      Available in OS X v10.0 and later.

    • kIOCDMediaTypeRW

      kIOCDMediaTypeRW

      The kIOCDMediaTypeKey constant for CD ReWritable (CD-RW) media.

      Available in OS X v10.0 and later.