public static final enum

BatteryManagerPrivileged.Status

extends Enum<BatteryManagerPrivileged.Status>
java.lang.Object
   ↳ java.lang.Enum<masonamerica.platform.BatteryManagerPrivileged.Status>
     ↳ masonamerica.platform.BatteryManagerPrivileged.Status

Class Overview

An enumeration of all possible charge status's.

Summary

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
static BatteryManagerPrivileged.Status from(int value)
Get the BatteryManagerPrivileged.Status for a given numeric value.
static BatteryManagerPrivileged.Status valueOf(String name)
final static Status[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final BatteryManagerPrivileged.Status CHARGING

The current charging status is CHARGING, or drawing power.

public static final BatteryManagerPrivileged.Status DISCHARGING

The current charging status is DISCHARGING, or draining power.

public static final BatteryManagerPrivileged.Status FULL

The current charging status is FULL.

public static final BatteryManagerPrivileged.Status NOT_CHARGING

The current charging status is NOT_CHARGING, or not drawing power.

public static final BatteryManagerPrivileged.Status UNKNOWN

The current charging status is UNKNOWN, or not representable.

Public Methods

public static BatteryManagerPrivileged.Status from (int value)

Get the BatteryManagerPrivileged.Status for a given numeric value.

Parameters
value int: a known status value
Returns
BatteryManagerPrivileged.Status BatteryManagerPrivileged.Status

public static BatteryManagerPrivileged.Status valueOf (String name)

Parameters
name String
Returns
BatteryManagerPrivileged.Status

public static final Status[] values ()

Returns
Status[]