class StorageState
@EXClassNullAway class StorageState
Package: dji.common.camera
Description:
This class provides the general information and state of the storage (SD card or the internal storage).
Class Members:
method isInserted
Description:
true
if the SD card is inserted in the camera. It is always true
when it is the internal storage.
Return:
method isInitializing
Description:
true
if the storage is initializing. Note that if the storage is initializing, the value for other properties in StorageState
is undefined.
Return:
method isReadOnly
Description:
true
if the storage is read-only.
Return:
method isFull
Description:
true
if the storage cannot save any more media.
Return:
method isVerified
Description:
true
if the SD card is verified as genuine. The SD card is not valid if it is fake, which can be a problem if the SD card was purchased by a non-reputable retailer. It is always true
when it is the internal storage.
Return:
method hasError
Description:
true
if there is an error with the storage.
Return:
method getStorageLocation
SettingsDefinitions.StorageLocation getStorageLocation ()
Package: dji.common.camera
Description:
The location of the storage.
Return:
method getTotalSpaceInMB
Description:
Total space in Megabytes (MB) available on the storage.
Return:
method getRemainingSpaceInMB
int getRemainingSpaceInMB ()
Description:
Remaining space in Megabytes (MB) on the storage.
Return:
method getAvailableCaptureCount
long getAvailableCaptureCount ()
Description:
Returns the number of pictures that can be taken with the remaining space available on the storage.
Return:
method getAvailableRecordingTimeInSeconds
int getAvailableRecordingTimeInSeconds ()
Description:
Returns the number of seconds available for recording with the remaining space available on the storage.
Return: