public class

DJIBatteryCell

extends Object
java.lang.Object
   ↳ dji.common.battery.DJIBatteryCell

Class Overview

Class that contains battery cell voltage data.

Summary

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

Public Constructors

public DJIBatteryCell (int voltage)

Returns the battery cell object with the initialized voltage.

Parameters
voltage Voltage value to be set for the cell.
Returns
  • The battery cell object.

Public Methods

public int getVoltage ()

Returns the voltage (unit:mV) of the current battery cell.