| java.lang.Object | |
| ↳ | dji.common.battery.DJIBatteryCell |
Class that contains battery cell voltage data.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
DJIBatteryCell(int voltage)
Returns the battery cell object with the initialized voltage.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int |
getVoltage()
Returns the voltage (unit:mV) of the current battery cell.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns the battery cell object with the initialized voltage.
| voltage | Voltage value to be set for the cell. |
|---|
Returns the voltage (unit:mV) of the current battery cell.