Indicates the states of a hardware key. More...
Public Member Functions | |
| KeyState (int value) | |
| Constructs a KeyState of an integer value. More... | |
| KeyState (KeyState enum_) | |
| Constructs a copy of a KeyState object. More... | |
| int | getValue () |
| Returns the integer value of the enumeration constant. More... | |
| final int | swigValue () |
| Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
| static KeyState | swigToEnum (int swigValue) |
| Converts an integer value to the matching enumeration constant. More... | |
| static KeyState | toEnum (int value) |
| Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
| Pressed =(0) | |
| The key is pressed. | |
| Released =(1) | |
| The key is released. | |
Indicates the states of a hardware key.
| KeyState | ( | int | value | ) |
Constructs a KeyState of an integer value.
| value | Integer value to convert to enumeration constant. |
| int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
| swigValue | Integer value to convert to enumeration constant. |
| final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
| value | Integer value to convert to enumeration constant. |