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()

枚举值

正在充电

public static final IBatteryInfo.BatteryState CHARGING

不可行

public static final IBatteryInfo.BatteryState INFEASIBLE

不收费

public static final IBatteryInfo.BatteryState NOT_CHARGING

UNDEFINED

public static final IBatteryInfo.BatteryState UNDEFINED

公共方法

valueOf

public static IBatteryInfo.BatteryState valueOf (String name)

参数
name String

返回
IBatteryInfo.BatteryState

values

public static final BatteryState[] values ()

返回
BatteryState[]