Package com.hp.lft.sdk.mobile
Enum Class Keys
- All Implemented Interfaces:
Serializable
,Comparable<Keys>
,java.lang.constant.Constable
Device keys constants representing mobile keyboard keys, which can be used in the input parameter of the
Device.sendKey(DeviceKeys key)
method.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Backspace key (supported on iOS and Android).The Delete key (supported on iOS and Android).The Down key (supported on Android).The End key (supported on Android).The Enter key (supported on iOS and Android).The Escape key (supported on Android).The Home key (supported on Android).The Left key (supported on Android).The PageDown key (supported on Android).The PageUp key (supported on Android).The Return key (supported on iOS).The Right key (supported on Android).The Tab key (supported on Android).The Up key (supported on Android). -
Method Summary
-
Enum Constant Details
-
ENTER
The Enter key (supported on iOS and Android). -
RETURN
The Return key (supported on iOS). -
BACKSPACE
The Backspace key (supported on iOS and Android). -
DELETE
The Delete key (supported on iOS and Android). -
TAB
The Tab key (supported on Android). -
ESCAPE
The Escape key (supported on Android). -
PAGE_UP
The PageUp key (supported on Android). -
PAGE_DOWN
The PageDown key (supported on Android). -
END
The End key (supported on Android). -
HOME
The Home key (supported on Android). -
LEFT
The Left key (supported on Android). -
RIGHT
The Right key (supported on Android). -
UP
The Up key (supported on Android). -
DOWN
The Down key (supported on Android).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-