|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access Disc Recording Framework Reference
|
DRDevice(StatusConvenience) |
| Extends Class: | |
| Declared In: |
This category on DRDevice defines methods that make retrieving the more commonly accessed DRDevice status dictionary properties easier.
bsdName |
- (NSString*) bsdName;
Returns the bsd /dev node name.
mediaIsAppendable |
- (BOOL) mediaIsAppendable;
Returns YES if the media in the device can have more data appended to any existing data.
mediaIsBlank |
- (BOOL) mediaIsBlank;
Returns YES the media in the device is blank.
mediaIsBusy |
- (BOOL) mediaIsBusy;
Returns YES if the media is in use by some process - even the one making this call.
mediaIsErasable |
- (BOOL) mediaIsErasable;
Returns YES if the media can be erased (i.e., CD-RW, DVD-RW, etc).
mediaIsOverwritable |
- (BOOL) mediaIsOverwritable;
Returns YES if the media in the device can be fully (re)written.
mediaIsPresent |
- (BOOL) mediaIsPresent;
Reports the presence of the media.
mediaIsReserved |
- (BOOL) mediaIsReserved;
Returns YES if the application calling this method currently holds the reservation on the media.
mediaIsTransitioning |
- (BOOL) mediaIsTransitioning;
Returns YES if the media is in transition (spinning up or down for example).
mediaSpaceFree |
- (DRMSF*) mediaSpaceFree;
Returns the amount of free space on the media.
mediaSpaceOverwritable |
- (DRMSF*) mediaSpaceOverwritable;
Returns the amount of writable space on the media.
mediaSpaceUsed |
- (DRMSF*) mediaSpaceUsed;
Returns the amount of used space on the media.
mediaType |
- (NSString*) mediaType;
Returns the type of media currently inserted into the device.
trayIsOpen |
- (BOOL) trayIsOpen;
Returns YES if the device has a tray and it is open.
Reports the tray state of the device.
Last Updated: 2009-08-12