Google is committed to advancing racial equity for Black communities. See how.
本頁面由 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[]