DJI Mobile SDK Documentation

      class LEDsSettings

      class LEDsSettings
      Package:dji.common.flightcontroller
      Description:

      Settings for the aircraft's LEDs.

      Class Members:
      method areFrontLEDsOn
      boolean areFrontLEDsOn()
      Package:dji.common.flightcontroller
      Description:

      true if the LEDs on the front arms are turned on.

      Return:
      booleanA boolean value.
      method areRearLEDsOn
      boolean areRearLEDsOn()
      Package:dji.common.flightcontroller
      Description:

      true if the LEDs on the rear arms are turned on. It is supported by Inspire 2, Matrice 200 series and Mavic 2 series. The other products will ignore this property.

      Return:
      booleanA boolean value.
      method areBeaconsOn
      boolean areBeaconsOn()
      Package:dji.common.flightcontroller
      Description:

      true if the beacons on the top and bottom are turned on. It is supported by Matrice 300 RTK. The other products will ignore this property.

      Return:
      booleanA boolean value.
      method isStatusIndicatorOn
      boolean isStatusIndicatorOn()
      Package:dji.common.flightcontroller
      Description:

      true if the status indicator is on. It is supported by Inspire 2, Matrice 200 series and Mavic 2 series. The other products will ignore this property. For Mavic 2 series, there are two status indicators and they are on the rear arms.

      Return:
      booleanA boolean value.
      class