com.morpho.morphosmart.sdk
Enum MorphoWakeUpMode

java.lang.Object
  extended by java.lang.Enum<MorphoWakeUpMode>
      extended by com.morpho.morphosmart.sdk.MorphoWakeUpMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MorphoWakeUpMode>

public enum MorphoWakeUpMode
extends java.lang.Enum<MorphoWakeUpMode>

This class store possible values of wakeup mode.


Enum Constant Summary
MORPHO_WAKEUP_LED_OFF
          Only available on MorphoSmart™ MSO FFD : leds are turned off while waiting for a finger (impedance wakeup).
MORPHO_WAKEUP_LED_ON
          Only available on MorphoSmart™ FINGER VP : leds are turned on while waiting for a finger
 
Method Summary
 int getCode()
          Return corresponding code of current wakeup mode
 java.lang.String getLabel()
          Return corresponding label of current wakeup mode
static MorphoWakeUpMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MorphoWakeUpMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MORPHO_WAKEUP_LED_ON

public static final MorphoWakeUpMode MORPHO_WAKEUP_LED_ON
Only available on MorphoSmart™ FINGER VP : leds are turned on while waiting for a finger


MORPHO_WAKEUP_LED_OFF

public static final MorphoWakeUpMode MORPHO_WAKEUP_LED_OFF
Only available on MorphoSmart™ MSO FFD : leds are turned off while waiting for a finger (impedance wakeup).

Method Detail

values

public static MorphoWakeUpMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MorphoWakeUpMode c : MorphoWakeUpMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MorphoWakeUpMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public int getCode()
Return corresponding code of current wakeup mode

Returns:
corresponding code

getLabel

public java.lang.String getLabel()
Return corresponding label of current wakeup mode

Returns:
corresponding label