DJI Mobile SDK Documentation

      class DUXRecordVideoWidget

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

      Action widget that is used to start and stop recording a video. It also shows a timer for how long the recording has been running.

      Usage:

      Preferred Aspect Ratio: 49:65.

      Class Members:
      property
      property isRecording
      @property BOOL isRecording
      Header:DUXRecordVideoWidget.h
      Description:

      YES if recording is ongoing.

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

      The index of the camera used to record video. Default value is 0.