class BatteryInfo
class BatteryInfo implements DJIValue, JNIProguardKeepTag, ByteStream
|
Package: | dji.sdk.keyvalue.value.remotecontroller |
Description:
This class is used to get the remote controller battery information.
Class Members:
method getEnabled
Package: | dji.sdk.keyvalue.value.remotecontroller |
Description:
Get if the remote control battery is valid.
Return:
Boolean | Return if the remote control battery is valid. |
method getBatteryPower
Integer getBatteryPower()
|
Package: | dji.sdk.keyvalue.value.remotecontroller |
Description:
Get the remaining power of the remote controller, unit: mah.
Return:
Integer | Return the remaining power of the remote controller, unit: mah. |
method getBatteryPercent
Integer getBatteryPercent()
|
Package: | dji.sdk.keyvalue.value.remotecontroller |
Description:
Get the remaining power percentage of the remote controller.
Return:
Integer | Return the remaining power percentage of the remote controller. |