public static final enum

BatteryManagerPrivileged.State

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

Class Overview

An enumeration of all possible charger/battery states.

Summary

Enum Values
BatteryManagerPrivileged.State  OFFLINE  The charging connection is OFFLINE, or unavailable. 
BatteryManagerPrivileged.State  ONLINE  The charging connection is ONLINE, or available. 
Public Methods
static BatteryManagerPrivileged.State from(int value)
Get the State for a given numeric value.
static BatteryManagerPrivileged.State valueOf(String name)
final static State[] 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.State OFFLINE

The charging connection is OFFLINE, or unavailable.

public static final BatteryManagerPrivileged.State ONLINE

The charging connection is ONLINE, or available.

Public Methods

public static BatteryManagerPrivileged.State from (int value)

Get the State for a given numeric value.

Parameters
value int: a known state value
Returns
BatteryManagerPrivileged.State State

public static BatteryManagerPrivileged.State valueOf (String name)

Parameters
name String
Returns
BatteryManagerPrivileged.State

public static final State[] values ()

Returns
State[]