DJI Mobile SDK Documentation

      class CameraStorageStateMsg

      class CameraStorageStateMsg implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The storage information for camera SD card and onboard memory.

      Class Members:

      Members

      method getCurStorageType
      Integer getCurStorageType()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Get the current storage location in use by the camera. 0 means that the SD card is currently being used to store media files. 1 indicates that the onboard memory is currently being used to store media files.

      Return:
      IntegerReturns the current storage location in use by the camera.
      method getStorageInfos
      List<CameraStorageState> getStorageInfos()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the details of the current camera storage card, including the details of the SD Card and onboard memory.

      Return:
      List<CameraStorageState>Returns details of the current camera storage card.