Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

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

未定义

public static final IBatteryInfo.BatteryState UNDEFINED

公开方法

的价值

public static IBatteryInfo.BatteryState valueOf (String name)

参量
name String

退货
IBatteryInfo.BatteryState

价值观

public static final BatteryState[] values ()

退货
BatteryState[]