DJI Mobile SDK Documentation

      class DUXBeaconWidget

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

      Widget is used to turn on and turn off the Beacon accessory on Mavic 2 Enterprise.

      Interaction:

      Tapping the widget will enable/disable the flashing of the external beacon accessory. 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:DUXBeaconWidget.h
      Description:

      YES if beacon accessory is supported, NO otherwise.

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

      Current state of the beacon accessory. It will be toggled when user taps on the widget.