public final enum

BatteryEvent

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.battery.BatteryEvent

Class Overview

Enumerative representing the battery events.

Summary

Enum Values
BatteryEvent  BATTERY_SWAP_EVENT_BEGIN  Batter Swap begin event. 
BatteryEvent  BATTERY_SWAP_EVENT_END  Batter Swap end event. 
BatteryEvent  BATTERY_SWAP_EVENT_UNKNOWN  Unknown Battery Event from. 
Public Methods
static BatteryEvent fromInt(int n)
Retrieves the corresponding BatteryEvent value, from a valid integer.
int toInt()
Converts the BatteryEvent enum to its integer representing value.
String toString()
static BatteryEvent valueOf(String name)
final static BatteryEvent[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final BatteryEvent BATTERY_SWAP_EVENT_BEGIN

Added in revision 21

Batter Swap begin event.

public static final BatteryEvent BATTERY_SWAP_EVENT_END

Added in revision 21

Batter Swap end event.

public static final BatteryEvent BATTERY_SWAP_EVENT_UNKNOWN

Added in revision 21

Unknown Battery Event from.

Public Methods

public static BatteryEvent fromInt (int n)

Added in revision 21

Retrieves the corresponding BatteryEvent value, from a valid integer.

Parameters
n int
Returns
  • BatteryEvent the corresponding one.

public int toInt ()

Added in revision 21

Converts the BatteryEvent enum to its integer representing value.

Returns
  • int

public String toString ()

public static BatteryEvent valueOf (String name)

Added in revision 21

public static final BatteryEvent[] values ()

Added in revision 21