CarInputManager
public
final
class
CarInputManager
extends Object
java.lang.Object | |
↳ | android.car.input.CarInputManager |
This API allows capturing selected input events.
Summary
Constants | |
---|---|
int |
INPUT_TYPE_CUSTOM_INPUT_EVENT
This is for |
int |
INPUT_TYPE_DPAD_KEYS
This is the group of keys for DPAD. |
int |
INPUT_TYPE_NAVIGATE_KEYS
This is for all |
int |
INPUT_TYPE_NONE
This is for displays that don't support any input type |
int |
INPUT_TYPE_ROTARY_NAVIGATION
This covers rotary input device for navigation. |
int |
INPUT_TYPE_ROTARY_VOLUME
Volume knob. |
int |
INPUT_TYPE_SYSTEM_NAVIGATE_KEYS
This is for all |
int |
INPUT_TYPE_TOUCH_SCREEN
This is for touch mode input type. |
Inherited methods | |
---|---|
Constants
INPUT_TYPE_CUSTOM_INPUT_EVENT
public static final int INPUT_TYPE_CUSTOM_INPUT_EVENT
This is for HW_CUSTOM_INPUT
events.
Constant Value: 200 (0x000000c8)
INPUT_TYPE_DPAD_KEYS
public static final int INPUT_TYPE_DPAD_KEYS
This is the group of keys for DPAD.
Included key events are: KeyEvent#KEYCODE_DPAD_UP
,
KeyEvent#KEYCODE_DPAD_DOWN
, KeyEvent#KEYCODE_DPAD_LEFT
,
KeyEvent#KEYCODE_DPAD_RIGHT
, KeyEvent#KEYCODE_DPAD_CENTER
,
KeyEvent#KEYCODE_DPAD_DOWN_LEFT
, KeyEvent#KEYCODE_DPAD_DOWN_RIGHT
,
KeyEvent#KEYCODE_DPAD_UP_LEFT
, KeyEvent#KEYCODE_DPAD_UP_RIGHT
Constant Value: 100 (0x00000064)
INPUT_TYPE_NAVIGATE_KEYS
public static final int INPUT_TYPE_NAVIGATE_KEYS
This is for all KeyEvent#KEYCODE_NAVIGATE_*
keys and KeyEvent#KEYCODE_BACK
.
Constant Value: 101 (0x00000065)
INPUT_TYPE_NONE
public static final int INPUT_TYPE_NONE
This is for displays that don't support any input type
Constant Value: -1 (0xffffffff)
INPUT_TYPE_ROTARY_NAVIGATION
public static final int INPUT_TYPE_ROTARY_NAVIGATION
This covers rotary input device for navigation.
Constant Value: 10 (0x0000000a)
INPUT_TYPE_ROTARY_VOLUME
public static final int INPUT_TYPE_ROTARY_VOLUME
Volume knob.
Constant Value: 11 (0x0000000b)
INPUT_TYPE_SYSTEM_NAVIGATE_KEYS
public static final int INPUT_TYPE_SYSTEM_NAVIGATE_KEYS
This is for all KeyEvent#KEYCODE_SYSTEM_NAVIGATE_*
keys.
Constant Value: 102 (0x00000066)
INPUT_TYPE_TOUCH_SCREEN
public static final int INPUT_TYPE_TOUCH_SCREEN
This is for touch mode input type.
Constant Value: 210 (0x000000d2)