Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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 ).

Index Value
0 no modifiers
1 caps
2 alt
3 caps + 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