Extends Class: | |
Declared In: | |
Overview
This category on DRDevice defines methods that make retrieving
the more commonly accessed DRDevice status dictionary properties easier.
Methods
- -bsdName
- -mediaIsAppendable
- -mediaIsBlank
- -mediaIsBusy
- -mediaIsErasable
- -mediaIsOverwritable
- -mediaIsPresent
- -mediaIsReserved
- -mediaIsTransitioning
- -mediaSpaceFree
- -mediaSpaceOverwritable
- -mediaSpaceUsed
- -mediaType
- -trayIsOpen
- (NSString*) bsdName;
Discussion
Returns the bsd /dev node name.
- (BOOL) mediaIsAppendable;
Discussion
Returns YES if the media in the device can have more data appended to
any existing data.
- (BOOL) mediaIsBlank;
Discussion
Returns YES the media in the device is blank.
- (BOOL) mediaIsBusy;
Discussion
Returns YES if the media is in use by some process - even the one
making this call.
- (BOOL) mediaIsErasable;
Discussion
Returns YES if the media can be erased (i.e., CD-RW, DVD-RW, etc).
- (BOOL) mediaIsOverwritable;
Discussion
Returns YES if the media in the device can be fully (re)written.
- (BOOL) mediaIsPresent;
Discussion
Reports the presence of the media.
- (BOOL) mediaIsReserved;
Discussion
Returns YES if the application calling this method currently holds
the reservation on the media.
- (BOOL) mediaIsTransitioning;
Discussion
Returns YES if the media is in transition (spinning up or down for example).
- (DRMSF*) mediaSpaceFree;
Discussion
Returns the amount of free space on the media.
- (DRMSF*) mediaSpaceOverwritable;
Discussion
Returns the amount of writable space on the media.
- (DRMSF*) mediaSpaceUsed;
Discussion
Returns the amount of used space on the media.
- (NSString*) mediaType;
Discussion
Returns the type of media currently inserted into the device.
- (BOOL) trayIsOpen;
Return Value
Returns YES if the device has a tray and it is open.
Discussion
Reports the tray state of the device.
|
Did this document help you? |
Yes: Tell us what works for you.
|
|
Last Updated: 2008-04-01