Kanzi  3.9.7
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 =(0)
 The key is pressed.
 
 Released =(1)
 The key is released.
 

Detailed Description

Indicates the states of a hardware key.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.