DJI Mobile SDK Documentation

      class DUXCaptureWidget

      @interface DUXCaptureWidget : DUXWidget
      Header:DUXCaptureWidget.h
      Inherits From:DUXWidget
      Display:

      uilib_image

      In shooting photo, the widget can show the mode of photo will be taken and the related setting of that mode as following:

      • Single mode.
      • HDR mode.
      • Burst mode and the number of burst shot will be taken.
      • AEB mode and the number of shot will be taken.
      • Interval mode.
      Interaction:

      Tapping when in shoot photo mode will take a photo. Tapping when in record video mode will start/stop recording.

      Usage:

      Preferred Aspect Ratio: 49:65. Check DUXTrailingBarViewController for an example of its usage.

      Class Members:
      property
      property mode
      @property DJICameraMode mode
      Header:DUXCaptureWidget.h
      Description:

      The current camera mode. Defaults to shoot photo.

      property preferredCameraIndex
      @property (nonatomic) NSUInteger preferredCameraIndex
      Header:DUXCaptureWidget.h
      Description:

      Selects which camera index widget refers to. Default value is 0.