DJI Mobile SDK Documentation

      class BatteryLedsInfo

      class BatteryLedsInfo implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.battery
      Description:

      Status of battery LED.

      Class Members:

      Members

      method getAircraftLed
      Boolean getAircraftLed()
      Package:dji.sdk.keyvalue.value.battery
      Description:

      Parameter: Boolean

      true means that the power light on the aircraft is on.

      Return:
      BooleanReturns whether the power light on the aircraft is on.
      method setAircraftLed
      void setAircraftLed(Boolean aircraftLed)
      Package:dji.sdk.keyvalue.value.battery
      Description:

      To set the status of the power light on the aircraft.

      Input Parameters:
      Boolean aircraftLedtrue means to set the power light on the aircraft to be on.
      method getBatteryLed
      Boolean getBatteryLed()
      Package:dji.sdk.keyvalue.value.battery
      Description:

      Parameter: Boolean

      true means that the power light on the aircraft is on.

      Return:
      BooleanReturns whether the power light on the aircraft is on.
      method setBatteryLed
      void setBatteryLed(Boolean batteryLed)
      Package:dji.sdk.keyvalue.value.battery
      Description:

      To set the status of the battery on the aircraft.

      Input Parameters:
      Boolean batteryLedtrue means to set the power light on the battery to be on.