public class

BatteryDefinitions

extends Object
java.lang.Object
   ↳ com.datalogic.device.battery.BatteryDefinitions

Summary

Constants
int BATTERY_SWAP_EVENT_BEGIN Battery swap start event, constant int value for extra EXTRA_BATTERY_EVENT_ID
int BATTERY_SWAP_EVENT_END Battery swap end event, constant int value for extra EXTRA_BATTERY_EVENT_ID
int BATTERY_SWAP_EVENT_UNKNOWN Unknown battery swap event, constant int value for extra EXTRA_BATTERY_EVENT_ID
String BATTERY_SWAP_REQUEST_CONFIRMED Battery swap request asking for confirmation through a dialog, constant string value for extra EXTRA_BATTERY_SWAP_REQUEST
String BATTERY_SWAP_REQUEST_UNATTENDED Battery swap request without asking for confirmation, constant string value for extra EXTRA_BATTERY_SWAP_REQUEST
Public Constructors
BatteryDefinitions()
Public Methods
static String toString(int id)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int BATTERY_SWAP_EVENT_BEGIN

Added in revision 35

Battery swap start event, constant int value for extra EXTRA_BATTERY_EVENT_ID

Constant Value: 2 (0x00000002)

public static final int BATTERY_SWAP_EVENT_END

Added in revision 35

Battery swap end event, constant int value for extra EXTRA_BATTERY_EVENT_ID

Constant Value: 3 (0x00000003)

public static final int BATTERY_SWAP_EVENT_UNKNOWN

Added in revision 35

Unknown battery swap event, constant int value for extra EXTRA_BATTERY_EVENT_ID

Constant Value: 1 (0x00000001)

public static final String BATTERY_SWAP_REQUEST_CONFIRMED

Added in revision 36

Battery swap request asking for confirmation through a dialog, constant string value for extra EXTRA_BATTERY_SWAP_REQUEST

Constant Value: "BATTERY_SWAP_REQUEST_CONFIRMED"

public static final String BATTERY_SWAP_REQUEST_UNATTENDED

Added in revision 36

Battery swap request without asking for confirmation, constant string value for extra EXTRA_BATTERY_SWAP_REQUEST

Constant Value: "BATTERY_SWAP_REQUEST_UNATTENDED"

Public Constructors

public BatteryDefinitions ()

Added in revision 35

Public Methods

public static String toString (int id)

Added in revision 35