Version: Smart Feature Phone 2.5
DeviceStorage.available()
#
SummaryThe available() method is used to check whether the storage area is available; this is an asynchronous operation that returns a DOMRequest object that will receive a callback when the operation is complete.
The request's result may be:
'available'
Meaning that the storage area is available.'unavailable'
Meaning that the storage area is not available. E.g. The SD card has need been inserted.'shared'
Meaning the storage area is not available because the device is currently being used for USB storage.
#
Syntax#
ReturnsReturns a DOMRequest object to report the success or error of the operation.