Enum android_activity::input::KeyboardType
source · pub enum KeyboardType {
Numeric,
Predictive,
Alpha,
Full,
SpecialFunction,
Unknown(i32),
}Variants§
Numeric
A numeric (12-key) keyboard.
A numeric keyboard supports text entry using a multi-tap approach. It may be necessary to tap a key multiple times to generate the desired letter or symbol.
This type of keyboard is generally designed for thumb typing.
Predictive
A keyboard with all the letters, but with more than one letter per key.
This type of keyboard is generally designed for thumb typing.
Alpha
A keyboard with all the letters, and maybe some numbers.
An alphabetic keyboard supports text entry directly but may have a condensed layout with a small form factor. In contrast to a full keyboard, some symbols may only be accessible using special on-screen character pickers. In addition, to improve typing speed and accuracy, the framework provides special affordances for alphabetic keyboards such as auto-capitalization and toggled / locked shift and alt keys.
This type of keyboard is generally designed for thumb typing.
Full
A full PC-style keyboard.
A full keyboard behaves like a PC keyboard. All symbols are accessed directly by pressing keys on the keyboard without on-screen support or affordances such as auto-capitalization.
This type of keyboard is generally designed for full two hand typing.
SpecialFunction
A keyboard that is only used to control special functions rather than for typing.
A special function keyboard consists only of non-printing keys such as HOME and POWER that are not actually used for typing.
Unknown(i32)
An unknown type of keyboard
Trait Implementations§
source§impl Clone for KeyboardType
impl Clone for KeyboardType
source§fn clone(&self) -> KeyboardType
fn clone(&self) -> KeyboardType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KeyboardType
impl Debug for KeyboardType
source§impl From<KeyboardType> for i32
impl From<KeyboardType> for i32
source§fn from(value: KeyboardType) -> i32
fn from(value: KeyboardType) -> i32
source§impl From<i32> for KeyboardType
impl From<i32> for KeyboardType
source§impl Hash for KeyboardType
impl Hash for KeyboardType
source§impl PartialEq<KeyboardType> for KeyboardType
impl PartialEq<KeyboardType> for KeyboardType
source§fn eq(&self, other: &KeyboardType) -> bool
fn eq(&self, other: &KeyboardType) -> bool
self and other values to be equal, and is used
by ==.