Partager via


KeyboardType Enum

Definition

Enumerates values returned by several types.

public enum KeyboardType
type KeyboardType = 
Inheritance
KeyboardType

Fields

Name Value Description
VirtualKeyboard -1

The id of a generic virtual keyboard with a full layout that can be used to synthesize key events.

BuiltInKeyboard 0

The id of the device's primary built in keyboard is always 0.

Numeric 1

A numeric (12-key) keyboard.

Predictive 2

A keyboard with all the letters, but with more than one letter per key.

Alpha 3

A keyboard with all the letters, and maybe some numbers.

Full 4

A full PC-style keyboard.

SpecialFunction 5

A keyboard that is only used to control special functions rather than for typing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to