| Enum Constant and Description |
|---|
FAILURE_BAD_LEVER_POSITION
The slot's lever is not in the correct position.
|
FAILURE_SOLENOID_OVERTEMPERATURE
The locking solenoid is too hot and the lever cannot be
controlled until temperature will be reduced.
|
FAILURE_UNKNOWN
No failure was detected.
|
FAILURE_WLC_EOC_TIMEOUT
The device asked for an "end of power transmission" for too long.
|
FAILURE_WLC_FOD
There is some metal object which prevents a successful wireless
charge power transmission between the cradle and the device.
|
FAILURE_WLC_TX
The Cradle is experiencing a problem on WLC's TX and
it cannot power to the device.
|
FAILURE_WRONG_DAISY_CHAIN_CONFIG
The current cradle's daisy chain configuration is not allowed.
|
| Modifier and Type | Method and Description |
|---|---|
static Failure |
fromInt(int n)
Retrieves the corresponding Failure value, from a valid integer.
|
int |
toInt()
Converts the Failure enum to its integer representing value.
|
java.lang.String |
toString() |
static Failure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Failure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Failure FAILURE_UNKNOWN
public static final Failure FAILURE_BAD_LEVER_POSITION
public static final Failure FAILURE_WLC_FOD
public static final Failure FAILURE_WLC_EOC_TIMEOUT
public static final Failure FAILURE_WLC_TX
public static final Failure FAILURE_SOLENOID_OVERTEMPERATURE
public static final Failure FAILURE_WRONG_DAISY_CHAIN_CONFIG
public static Failure[] values()
for (Failure c : Failure.values()) System.out.println(c);
public static Failure valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int toInt()
public static Failure fromInt(int n)
n - intpublic java.lang.String toString()
toString in class java.lang.Enum<Failure>