# class BatteryLedsInfo

    class BatteryLedsInfo implements DJIValue, JNIProguardKeepTag, ByteStream

Package: | dji.sdk.keyvalue.value.battery

##### Description:

Status of battery LED.

##### Class Members:

#### Members

method
getAircraftLed

###### 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:

Boolean | Returns whether the power light on the aircraft is on.

method
setAircraftLed

###### 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 aircraftLed | `true` means to set the power light on the aircraft to be on.

method
getBatteryLed

###### 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:

Boolean | Returns whether the power light on the aircraft is on.

method
setBatteryLed

###### 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 batteryLed | `true` means to set the power light on the battery to be on.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found