| java.lang.Object | ||
| ↳ | java.lang.Enum<masonamerica.platform.BatteryManagerPrivileged.Status> | |
| ↳ | masonamerica.platform.BatteryManagerPrivileged.Status | |
An enumeration of all possible charge status's.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BatteryManagerPrivileged.Status | CHARGING | The current charging status is CHARGING, or drawing power. | |||||||||
| BatteryManagerPrivileged.Status | DISCHARGING | The current charging status is DISCHARGING, or draining power. | |||||||||
| BatteryManagerPrivileged.Status | FULL | The current charging status is FULL. | |||||||||
| BatteryManagerPrivileged.Status | NOT_CHARGING | The current charging status is NOT_CHARGING, or not drawing power. | |||||||||
| BatteryManagerPrivileged.Status | UNKNOWN | The current charging status is UNKNOWN, or not representable. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the
BatteryManagerPrivileged.Status for a given numeric value.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
|
| |||||||||||
The current charging status is CHARGING, or drawing power.
The current charging status is DISCHARGING, or draining power.
The current charging status is NOT_CHARGING, or not drawing power.
The current charging status is UNKNOWN, or not representable.
Get the BatteryManagerPrivileged.Status for a given numeric value.
| Parameters | |
|---|---|
value |
int:
a known status value |
| Returns | |
|---|---|
BatteryManagerPrivileged.Status |
BatteryManagerPrivileged.Status
|
| Parameters | |
|---|---|
name |
String
|
| Returns | |
|---|---|
BatteryManagerPrivileged.Status |
|