public interface RemovableStorageOption
extends StorageOption
This interface represents a removable storage media bay that supports
insertion or removal of storage media while power is applied.
Examples of removable storage media would be memory stick, CD, or DVD.
When an instance of the appropriate storage media is inserted into or
removed from the bay a
StorageManagerEvent SHALL be generated with an event type of
STORAGE_PROXY_CHANGED.
Returns a presence indication for the removable storage.
Method Detail
eject
void eject()
Prepares the storage media to be physically ejected from the bay in
an implementation specific fashion, if applicable to the hardware.
If eject is not applicable to the storage device hardware this method
does nothing and returns successfully
isPresent
boolean isPresent()
Returns a presence indication for the removable storage.
Returns:
True if a removable storage media is present in the
corresponding bay, otherwise returns false.