Java android.view KeyCharacterMap fields, constructors, methods, implement or subclass

Example usage for Java android.view KeyCharacterMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.view KeyCharacterMap.

The text is from its open source code.

Field

intVIRTUAL_KEYBOARD
The id of a generic virtual keyboard with a full layout that can be used to synthesize key events.
intNUMERIC
A numeric (12-key) keyboard.
intCOMBINING_ACCENT
intCOMBINING_ACCENT_MASK
Mask the return value from #get(int,int) with this value to get a printable representation of the accent character of a "dead key."

Method

booleandeviceHasKey(int keyCode)
Queries the framework about whether any physical keys exist on the any keyboard attached to the device that are capable of producing the given key code.
KeyEvent[]getEvents(char[] chars)
Get an array of KeyEvent objects that if put into the input stream could plausibly generate the provided sequence of characters.
intgetKeyboardType()
Gets the keyboard type.
KeyCharacterMapload(int deviceId)
Loads the key character maps for the keyboard with the specified device id.