DJI Mobile SDK Documentation

      class Builder

      static final class Builder
      Package:dji.common.flightcontroller
      Description:

      Used to create LEDsSettings instance.

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

      true to turn on the LEDs on the front arms.

      Input Parameters:
      boolean frontLEDsOntrue to turn on the LEDs on the front arms.
      Return:
      BuilderA Builder object.
      method rearLEDsOn
      Builder rearLEDsOn(boolean rearLEDsOn)
      Package:dji.common.flightcontroller
      Description:

      true to turn on the LEDs on the rear arms. It is supported by Inspire 2 and Matrice 200 series. The other products will always return false.

      Input Parameters:
      boolean rearLEDsOntrue to turn on the LEDs on the rear arms.
      Return:
      BuilderA Builder object.
      method statusIndicatorOn
      Builder statusIndicatorOn(boolean statusIndicatorOn)
      Package:dji.common.flightcontroller
      Description:

      true to turn on the LEDs on the rear arms. It is supported by Inspire 2, Matrice 200 series and Mavic 2 series. The other products will always return false.

      Input Parameters:
      boolean statusIndicatorOntrue to turn on the LEDs on the rear arms.
      Return:
      BuilderA Builder object.
      method
      method beaconsOn
      Builder beaconsOn(boolean beaconsOn)
      Package:dji.common.flightcontroller
      Description:

      true to turn on the beacons on the top and bottom of aircraft. It is supported by Matrice 300 RTK. The other products will ignore this property.

      Input Parameters:
      boolean beaconsOntrue to turn on the beacons.
      Return:
      BuilderA Builder object.