DJI Mobile SDK Documentation

      class DUXFocusModeWidget

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

      Widget for controlling the focus mode. Not supported on Spark.

      Usage:

      Preferred Aspect Ratio: 30:35

      Class Members:
      property
      property focusMode
      @property DJICameraFocusMode focusMode
      Header:DUXFocusModeWidget.h
      Display:

      Current focus mode that the camera is in.

      property
      property isSupported
      @property (readonly) BOOL isSupported
      Header:DUXFocusModeWidget.h
      Description:

      YES if widget is supported, NO otherwise. Widget will hide itself if not supported. It is not supported on Spark and Mavic Air.

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

      The index representing the camera that the widget controls. Default value is 0.