DJI Mobile SDK Documentation

      class SSDState

      @EXClassNullAway
      class SSDState
      Package:dji.common.camera
      Description:

      This class contains the information about camera's Solid State Drive (SSD) information, including state, whether it is connected, its capacity, video size and rate, etc.

      Class Members:
      Callback
      interface
      interface Callback
      interface Callback
      Package:dji.common.camera
      Description:

      This interface provides general information and current status of the SSD.

      Interface Methods:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull SSDState state)
      Package:dji.common.camera
      Description:

      Called when the camera's SSD state has been updated. This method is available only when isSSDSupported is true.

      Input Parameters:
      @NonNull SSDState stateThe SSD's information.
      Operating State
      method
      method getSSDOperationState
      SSDOperationState getSSDOperationState()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_OPERATION_STATE
      Description:

      SSD state information for currently executing operations.

      Return:
      SSDOperationStateAn instance of SSDOperationState.
      method isConnected
      boolean isConnected()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_IS_CONNECTED
      Description:

      true if the SSD is connected. Note, if the camera is disconnected, the values for other properties in SSDState are undefined.

      Return:
      booleanA boolean value.
      Capacity
      method
      method getCapacity
      SSDCapacity getCapacity()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_TOTAL_SPACE
      Description:

      SSD's total capacity. @return Total SSD capacity.

      Return:
      SSDCapacityAn instance of SSDCapacity.
      method getAvailableRecordingTimeInSeconds
      int getAvailableRecordingTimeInSeconds()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_AVAILABLE_RECORDING_TIME_IN_SECONDS
      Description:

      SSD's remaining time in seconds, based on the current VideoResolution and VideoFrameRate. @return SSD's remaining time measured in seconds.

      Return:
      intAn int value.
      method getRemainingSpaceInMB
      long getRemainingSpaceInMB()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_REMAINING_SPACE_IN_MB
      Description:

      SSD's remaining capacity in MB. @return SSD's remaining capacity measured in MB.

      Return:
      longA long value.
      method getVideoResolution
      VideoResolution getVideoResolution()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_VIDEO_RESOLUTION_AND_FRAME_RATE
      Description:

      Video resolution to be saved to SSD. @return SSD's video resolution.

      Return:
      VideoResolutionA VideoResolution enum value.
      method getVideoFrameRate
      VideoFrameRate getVideoFrameRate()
      Package:dji.common.camera
      SDK Key:CameraKey.SSD_VIDEO_RESOLUTION_AND_FRAME_RATE
      Description:

      Video framerate to be saved to SSD.

      Return:
      VideoFrameRateA VideoFrameRate enum value.
      method getRAWPhotoBurstCount
      int getRAWPhotoBurstCount()
      Package:dji.common.camera
      SDK Key:CameraKey.RAW_PHOTO_BURST_COUNT
      Description:

      Number of photos that are shot in RAW burst mode.

      Return:
      intAn int value.