| java.lang.Object | ||
| ↳ | com.datalogic.device.input.MappingObject | |
| ↳ | com.datalogic.device.input.KeyActionMapping | |
Represents a key action.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ACTION_PRESS_DOWN | Action of key pressing | |||||||||
| int | ACTION_RELEASE | Action of key releasing | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.input.MappingObject
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CREATOR | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.input.MappingObject
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a key action with a
KeyCodeEntry. | |||||||||||
Constructs a key action with key code and meta state.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the key action of this class.
| |||||||||||
Gets the
KeyCodeEntry object stored in this class. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.input.MappingObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
Action of key pressing
Action of key releasing
Constructs a key action with a KeyCodeEntry.
| key | a KeyCodeEntry object |
|---|---|
| action | either ACTION_PRESS_DOWN or ACTION_RELEASE
|
Constructs a key action with key code and meta state.
| keyCode | int Android standard keycode |
|---|---|
| metaState | int flags of meta key states |
| action | either ACTION_PRESS_DOWN or ACTION_RELEASE
|
Gets the key action of this class.
ACTION_PRESS_DOWN or ACTION_RELEASE
Gets the KeyCodeEntry object stored in this class.
KeyCodeEntry object