DJICamera(SDCardOperations)

@interface DJICamera (SDCardOperations)

You can store high quality photos and videos on an SD card.

  • Formats the SD card by deleting all the data on the SD card. This does not change any settings the user may have set on the SD card.

    Declaration

    Objective-C

    - (void)formatSDCardWithCompletion:(DJICompletionBlock)block;
  • Gets the current state of the SD card. For instance, accessing the sdInfo parameter of the block will tell you whether or not the SD card is inserted into the camera or how much memory is remaining. For more information on all possible current states of the SD card, see DJICameraSDCardState.

    @deprecated Call [DJICameraDelegate camera:didUpdateSDCardState:] instead.

    Declaration

    Objective-C

    - (void)getSDCardInfoWithCompletion:
        (void (^_Nonnull)(DJICameraSDCardState *_Nullable,
                          NSError *_Nullable))block;

    Parameters

    block

    Remote execution result callback block.