public static final enum

BatteryManagerPrivileged.BatteryMode

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

Class Overview

An enumeration of all possible charge suppliers.

Summary

Enum Values
BatteryManagerPrivileged.BatteryMode  AC  AC represents an AC adapter or converter connection. 
BatteryManagerPrivileged.BatteryMode  USB  USB represents the Universal Serial Bus connection. 
BatteryManagerPrivileged.BatteryMode  WIRELESS  WIRELESS represents any non wired charging connection. 
Public Methods
static BatteryManagerPrivileged.BatteryMode from(int value)
Get the BatteryManagerPrivileged.BatteryMode for a given numeric value.
static BatteryManagerPrivileged.BatteryMode valueOf(String name)
final static BatteryMode[] 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.BatteryMode AC

AC represents an AC adapter or converter connection.

public static final BatteryManagerPrivileged.BatteryMode USB

USB represents the Universal Serial Bus connection.

public static final BatteryManagerPrivileged.BatteryMode WIRELESS

WIRELESS represents any non wired charging connection.

Public Methods

public static BatteryManagerPrivileged.BatteryMode from (int value)

Get the BatteryManagerPrivileged.BatteryMode for a given numeric value.

Parameters
value int: a known battery mode value
Returns
BatteryManagerPrivileged.BatteryMode BatteryManagerPrivileged.BatteryMode

public static BatteryManagerPrivileged.BatteryMode valueOf (String name)

Parameters
name String
Returns
BatteryManagerPrivileged.BatteryMode

public static final BatteryMode[] values ()

Returns
BatteryMode[]