public final enum

AvailableSourcePower

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.cradle.AvailableSourcePower

Class Overview

Enumerative representing the Cradle Available Source Power Level depending on the cradle configuration.

Summary

Enum Values
AvailableSourcePower  AVAILABLE_SOURCE_POWER_10_WATT  Cradle are charging the device with 10 watt. 
AvailableSourcePower  AVAILABLE_SOURCE_POWER_15_WATT  Cradle are charging the device with 15 watt. 
AvailableSourcePower  AVAILABLE_SOURCE_POWER_5_WATT  Cradle are charging the device with 5 watt. 
AvailableSourcePower  AVAILABLE_SOURCE_POWER_LEVEL_UNKNOWN  Unknown Cradle charging level. 
AvailableSourcePower  AVAILABLE_SOURCE_POWER_NOT_SUPPORTED  Cradle Type or Device don't support this information. 
Public Methods
static AvailableSourcePower fromInt(int n)
Retrieves the corresponding AvailableSourcePower value, from a valid integer.
int toInt()
Converts the AvailableSourcePower enum to its integer representing value.
String toString()
static AvailableSourcePower valueOf(String name)
final static AvailableSourcePower[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AvailableSourcePower AVAILABLE_SOURCE_POWER_10_WATT

Added in revision 16

Cradle are charging the device with 10 watt.

public static final AvailableSourcePower AVAILABLE_SOURCE_POWER_15_WATT

Added in revision 23

Cradle are charging the device with 15 watt.

public static final AvailableSourcePower AVAILABLE_SOURCE_POWER_5_WATT

Added in revision 16

Cradle are charging the device with 5 watt.

public static final AvailableSourcePower AVAILABLE_SOURCE_POWER_LEVEL_UNKNOWN

Added in revision 16

Unknown Cradle charging level.

public static final AvailableSourcePower AVAILABLE_SOURCE_POWER_NOT_SUPPORTED

Added in revision 16

Cradle Type or Device don't support this information.

Public Methods

public static AvailableSourcePower fromInt (int n)

Added in revision 16

Retrieves the corresponding AvailableSourcePower value, from a valid integer.

Parameters
n int
Returns
  • AvailableSourcePower the corresponding one.

public int toInt ()

Added in revision 16

Converts the AvailableSourcePower enum to its integer representing value.

Returns
  • int

public String toString ()

public static AvailableSourcePower valueOf (String name)

Added in revision 16

public static final AvailableSourcePower[] values ()

Added in revision 16