DJICameraSDCardState
@interface DJICameraSDCardState : NSObject
This class provides the SD card’s general information and current status.
-
Yes if the SD card is initializing. Note that if the SD card is initializing, the value for other properties in
DJICameraSDCardStateis undefined.Declaration
Objective-C
@property (readonly, nonatomic) BOOL isInitializing; -
YES if there is an SD card error.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL hasError; -
YES if the SD card is read-only.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isReadOnly; -
YES if SD card filesystem format is invalid.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isInvalidFormat; -
YES if the SD card is formatted.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isFormatted; -
YES if the SD card is formatting.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isFormatting; -
YES if the SD card cannot save any more media.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isFull; -
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.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isVerified; -
YES if the SD card is inserted in the camera.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isInserted; -
Total space in Megabytes (MB) available on the SD card.
Declaration
Objective-C
@property (readonly, nonatomic) int totalSpaceInMegaBytes; -
Remaining space in Megabytes (MB) on the SD card.
Declaration
Objective-C
@property (readonly, nonatomic) int remainingSpaceInMegaBytes; -
Returns the number of pictures that can be taken with the remaining space available on the SD card.
Declaration
Objective-C
@property (readonly, nonatomic) int availableCaptureCount; -
Returns the number of seconds available for recording with the remaining space available on the SD card.
Declaration
Objective-C
@property (readonly, nonatomic) int availableRecordingTimeInSeconds;
View on GitHub
DJICameraSDCardState Class Reference