DJI Mobile SDK Documentation
      包:dji.sdk.keyvalue.value.camera
      class

      CameraStorageInfo

      相机存储卡的详细信息。存储卡包括:SD卡和机载存储器。

      Package dji.sdk.keyvalue.value.cameraAndroid · Java / Kotlin

      相机存储卡的详细信息。存储卡包括:SD卡和机载存储器。

      成员

      6 个成员

      方法

      6

      Members

      method

      getStorageType

      CameraStorageLocation getStorageType() 

      获取相机存储类型。

      返回值

      类型说明
      CameraStorageLocation返回相机存储类型。
      method

      getStorageState

      SDCardLoadState getStorageState() 

      获取存储卡插入状态。机载存储器默认是插入状态。

      返回值

      类型说明
      SDCardLoadState返回存储卡插入状态。
      method

      getStorageCapacity

      Integer getStorageCapacity() 

      获取存储卡总容量,单位:MB。

      返回值

      类型说明
      Integer返回存储卡总容量。
      method

      getStorageLeftCapacity

      Integer getStorageLeftCapacity() 

      获取存储卡剩余容量,单位:MB。

      返回值

      类型说明
      Integer返回存储卡剩余容量。
      method

      getAvailablePhotoCount

      Integer getAvailablePhotoCount() 

      获取当前剩余可拍摄的照片张数。

      返回值

      类型说明
      Integer返回当前剩余可拍摄的照片张数。
      method

      getAvailableVideoDuration

      Integer getAvailableVideoDuration() 

      获取当前剩余可录像时长,单位:秒。

      返回值

      类型说明
      Integer返回当前剩余可录像时长,单位:秒。