DJI Mobile SDK Documentation

      class DUXSpotlightWidget

      @interface DUXSpotlightWidget : DUXWidget
      Header:DUXSpotlightWidget.h
      Inherits From:DUXWidget
      Description:

      Tapping the widget opens the spotlight settings panel. The widget will be hidden automatically if the accessory is not present or not supported.

      Class Members:
      property
      property isSupported
      @property (readonly) BOOL isSupported
      Header:DUXSpotlightWidget.h
      Description:

      YES if spotlight accessory is supported, NO otherwise.

      property
      property isEnabled
      @property (readonly) BOOL isEnabled
      Header:DUXSpotlightWidget.h
      Description:

      Current state of the spotlight. It is enabled from the spotlight settings panel.