Added in API level 1
Deprecated in API level 11

KeyData


open class KeyData
kotlin.Any
   ↳ android.view.KeyCharacterMap.KeyData

Describes the character mappings associated with a key.

Summary

Constants
static Int

Public constructors

Properties
Char

The display label (see getDisplayLabel).

CharArray!

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).

Char

The "number" value (see getNumber).

Constants

META_LENGTH

Added in API level 1
static val META_LENGTH: Int

Deprecated: Deprecated in Java.

Value: 4

Public constructors

KeyData

KeyData()

Properties

displayLabel

Added in API level 1
var displayLabel: Char

Deprecated: Deprecated in Java.

The display label (see getDisplayLabel).

meta

Added in API level 1
var meta: 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

Added in API level 1
var number: Char

Deprecated: Deprecated in Java.

The "number" value (see getNumber).