IBBatteryInfo.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


وضعیت فعلی شارژ باتری را شرح می دهد.

خلاصه

مقادیر Enum

IBatteryInfo.BatteryState CHARGING

IBatteryInfo.BatteryState INFEASIBLE

IBatteryInfo.BatteryState NOT_CHARGING

IBatteryInfo.BatteryState UNDEFINED

روش های عمومی

static IBatteryInfo.BatteryState valueOf (String name)
static final BatteryState[] values ()

مقادیر Enum

شارژ کردن

public static final IBatteryInfo.BatteryState CHARGING

غیر ممکن

public static final IBatteryInfo.BatteryState INFEASIBLE

NOT_CHARGING

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