IBatteryInfo.BatteryState
public
static
final
enum
IBatteryInfo.BatteryState
extends Enum<IBatteryInfo.BatteryState>
java.lang.Object 中 | ||
↳ | java.lang.Enum<com.android.tradefed.device.battery.IBatteryInfo.BatteryState> | |
↳ | com.android.tradefed.device.battery.IBatteryInfo.BatteryState |
描述当前的电池充电状态。
摘要
枚举值 | |
---|---|
IBatteryInfo.BatteryState |
CHARGING
|
IBatteryInfo.BatteryState |
INFEASIBLE
|
IBatteryInfo.BatteryState |
NOT_CHARGING
|
IBatteryInfo.BatteryState |
UNDEFINED
|
公共方法 | |
---|---|
static
IBatteryInfo.BatteryState
|
valueOf(String name)
|
static
final
BatteryState[]
|
values()
|
枚举值
公共方法
valueOf
public static IBatteryInfo.BatteryState valueOf (String name)
参数 | |
---|---|
name |
String |
返回 | |
---|---|
IBatteryInfo.BatteryState |