DJI Mobile SDK Documentation

      class DUXCameraCapacityConfigWidget

      @interface DUXCameraCapacityConfigWidget : DUXCameraConfigWidget
      Header:DUXCameraCapacityConfigWidget.h
      Inherits From:DUXCameraConfigWidget
      Display:

      Camera state widget that reports remaining capacity of the media storage.

      Usage:

      Preferred Aspect Ratio: (variable, max:221):30

      Class Members:
      property preferredCameraIndex
      @property (nonatomic) NSUInteger preferredCameraIndex
      Header:DUXCameraCapacityConfigWidget.h
      Description:

      Selects which camera index widget refers to.

      property remainingPhotoCount
      @property (nonatomic, readonly) NSInteger remainingPhotoCount
      Header:DUXCameraCapacityConfigWidget.h
      Description:

      The amount of remaining photos that can be stored assuming the current camera photo settings.

      property remainingSpaceMB
      @property (nonatomic, readonly) NSInteger remainingSpaceMB
      Header:DUXCameraCapacityConfigWidget.h
      Description:

      The remaining storage space left in MegaBytes.

      property
      property storageType
      @property DUXCameraConfigWidgetStorageType storageType
      Header:DUXCameraCapacityConfigWidget.h
      Description:

      This widget may be used with both SD and SSD storage. This enum differentiates between the two.

      property remainingRecordingTime
      @property (nonatomic, readonly) NSInteger remainingRecordingTime
      Header:DUXCameraCapacityConfigWidget.h
      Description:

      The amount of remaining video in seconds that can be stored assuming the current video settings