to top
Android APIs
Added in API level 1
Deprecated since API level 11
public static class

KeyCharacterMap.KeyData

extends Object
java.lang.Object
   ↳ android.view.KeyCharacterMap.KeyData

This class was deprecated in API level 11.
instead use getDisplayLabel(int), getNumber(int) and get(int, int).

Class Overview

Describes the character mappings associated with a key.

Summary

Constants
int META_LENGTH
Fields
public char displayLabel The display label (see getDisplayLabel(int)).
public char[] meta The character that will be generated in various meta states (the same ones used for get(int, int) and defined as META_SHIFT_ON and META_ALT_ON).
public char number The "number" value (see getNumber(int)).
Public Constructors
KeyCharacterMap.KeyData()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int META_LENGTH

Added in API level 1

Constant Value: 4 (0x00000004)

Fields

public char displayLabel

Added in API level 1

The display label (see getDisplayLabel(int)).

public char[] meta

Added in API level 1

The character that will be generated in various meta states (the same ones used for get(int, int) and defined as META_SHIFT_ON and META_ALT_ON).

IndexValue
0no modifiers
1caps
2alt
3caps + alt

public char number

Added in API level 1

The "number" value (see getNumber(int)).

Public Constructors

public KeyCharacterMap.KeyData ()

Added in API level 1