class DJICameraStorageState
@interface DJICameraStorageState : NSObject
Header: DJICameraStorageState.h Inherits From: NSObject
Description:
This class provides the general information and state of the storage (SD card or the internal storage).
Class Members:
property isInserted
@property (nonatomic , readonly ) BOOL isInserted
Description:
YES
if the SD card is inserted in the camera. It is always YES
when it is the internal storage.
property isInitializing
@property (nonatomic , readonly ) BOOL isInitializing
Description:
YES
if the storage is initializing. Note that if the storage is initializing, the value for other properties in DJICameraStorageState
is undefined.
property isReadOnly
@property (nonatomic , readonly ) BOOL isReadOnly
Description:
YES
if the storage is read-only.
property isFull
@property (nonatomic , readonly ) BOOL isFull
Description:
YES
if the storage cannot save any more media.
property isVerified
@property (nonatomic , readonly ) BOOL isVerified
Description:
YES
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 YES
when it is the internal storage.
property hasError
@property (nonatomic , readonly ) BOOL hasError
Description:
YES
if there is an error with the storage.
property location
@property (nonatomic , readonly ) DJICameraStorageLocation location
Header: DJICameraStorageState.h
Description:
The location of the storage.
See Also:
DJICameraStorageLocation
property totalSpaceInMB
@property (nonatomic , readonly ) NSUInteger totalSpaceInMB
Description:
Total space in Megabytes (MB) available on the storage.
property remainingSpaceInMB
@property (nonatomic , readonly ) NSUInteger remainingSpaceInMB
Description:
Remaining space in Megabytes (MB) on the storage.
property availableCaptureCount
@property (nonatomic , readonly ) NSUInteger availableCaptureCount
Description:
Returns the number of pictures that can be taken with the remaining space available on the storage.
property availableRecordingTimeInSeconds
@property (nonatomic , readonly ) NSUInteger availableRecordingTimeInSeconds
Description:
Returns the number of seconds available for recording with the remaining space available on the storage.