KeyData
open classKeyData
kotlin.Any | |
↳ | android.view.KeyCharacterMap.KeyData |
Describes the character mappings associated with a key.
Summary
Constants | |
---|---|
static Int |
Public constructors | |
---|---|
KeyData() |
Properties | |
---|---|
Char |
The display label (see |
CharArray! |
The character that will be generated in various meta states (the same ones used for |
Char |
The "number" value (see |
Constants
META_LENGTH
static valMETA_LENGTH: Int
Deprecated: Deprecated in Java.
Value: 4
Public constructors
KeyData
KeyData()
Properties
displayLabel
vardisplayLabel: Char
Deprecated: Deprecated in Java.
The display label (see getDisplayLabel
).
meta
varmeta: CharArray!
Deprecated: Deprecated in Java.
The character that will be generated in various meta states (the same ones used for get
and defined as KeyEvent.META_SHIFT_ON
and KeyEvent.META_ALT_ON
).
Index | Value |
---|---|
0 | no modifiers |
1 | caps |
2 | alt |
3 | caps + alt |
number
varnumber: Char
Deprecated: Deprecated in Java.
The "number" value (see getNumber
).