DJI Mobile SDK Documentation

      class CameraStorageInfo

      class CameraStorageInfo
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Details of the camera storage card. storage cards include SD Card and onboard memory.

      Class Members:

      Members

      method getStorageType
      CameraStorageLocation getStorageType()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get camera storage type.

      Return:
      CameraStorageLocationReturn camera storage type.
      method getStorageState
      SDCardLoadState getStorageState()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Get the storage card insertion status. The on-board memory is plugged in by default.

      Return:
      SDCardLoadStateReturn the storage card inserted state.
      method getStorageCapacity
      Integer getStorageCapacity()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the storage card capacity. Unit: MB.

      Return:
      IntegerReturn the storage card capacity.
      method getStorageLeftCapacity
      Integer getStorageLeftCapacity()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the remaining capacity of the memory card. Unit: MB.

      Return:
      IntegerReturn the remaining capacity of the memory card.
      method getAvailablePhotoCount
      Integer getAvailablePhotoCount()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the remaining available photo count.

      Return:
      IntegerReturns the remaining available photo count.
      method getAvailableVideoDuration
      Integer getAvailableVideoDuration()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the remaining available video duration. Unit: second.

      Return:
      IntegerReturns the remaining available video duration. Unit: second.