Kanzi  3.9.6
Java API
KeyState Enum Reference

Indicates the states of a hardware key. More...

Inheritance diagram for KeyState:
[legend]

Public Member Functions

 KeyState (int mValue)
 
 KeyState (KeyState enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static KeyState swigToEnum (int swigValue)
 
static KeyState toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 Pressed
 The key is pressed.
 

Detailed Description

Indicates the states of a hardware key.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static KeyState toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.