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[]