public enum AndroidKey extends java.lang.Enum<AndroidKey>
Enum Constant and Description |
---|
_MEDIA_TOP_MENU
Key code constant: Media Top Menu key.
|
_TV_MEDIA_CONTEXT_MENU
Key code constant: Media context menu key.
|
A
Key code constant: 'A' key.
|
ALT_LEFT
Key code constant: Left Alt modifier key.
|
ALT_RIGHT
Key code constant: Right Alt modifier key.
|
APOSTROPHE
Key code constant: ''' (apostrophe) key.
|
APP_SWITCH
Key code constant: App switch key.
|
ASSIST
Key code constant: Assist key.
|
AT
Key code constant: '@' key.
|
AVR_INPUT
Key code constant: A/V Receiver input key.
|
AVR_POWER
Key code constant: A/V Receiver power key.
|
B
Key code constant: 'B' key.
|
BACK
Key code constant: Back key.
|
BACKSLASH
Key code constant: '\' key.
|
BOOKMARK
Key code constant: Bookmark key.
|
BREAK
Key code constant: Break / Pause key.
|
BRIGHTNESS_DOWN
Key code constant: Brightness Down key.
|
BRIGHTNESS_UP
Key code constant: Brightness Up key.
|
BUTTON_1
Key code constant: Generic Game Pad Button #1.
|
BUTTON_10
Key code constant: Generic Game Pad Button #10.
|
BUTTON_11
Key code constant: Generic Game Pad Button #11.
|
BUTTON_12
Key code constant: Generic Game Pad Button #12.
|
BUTTON_13
Key code constant: Generic Game Pad Button #13.
|
BUTTON_14
Key code constant: Generic Game Pad Button #14.
|
BUTTON_15
Key code constant: Generic Game Pad Button #15.
|
BUTTON_16
Key code constant: Generic Game Pad Button #16.
|
BUTTON_2
Key code constant: Generic Game Pad Button #2.
|
BUTTON_3
Key code constant: Generic Game Pad Button #3.
|
BUTTON_4
Key code constant: Generic Game Pad Button #4.
|
BUTTON_5
Key code constant: Generic Game Pad Button #5.
|
BUTTON_6
Key code constant: Generic Game Pad Button #6.
|
BUTTON_7
Key code constant: Generic Game Pad Button #7.
|
BUTTON_8
Key code constant: Generic Game Pad Button #8.
|
BUTTON_9
Key code constant: Generic Game Pad Button #9.
|
BUTTON_A
Key code constant: A Button key.
|
BUTTON_B
Key code constant: B Button key.
|
BUTTON_C
Key code constant: C Button key.
|
BUTTON_L1
Key code constant: L1 Button key.
|
BUTTON_L2
Key code constant: L2 Button key.
|
BUTTON_MODE
Key code constant: Mode Button key.
|
BUTTON_R1
Key code constant: R1 Button key.
|
BUTTON_R2
Key code constant: R2 Button key.
|
BUTTON_SELECT
Key code constant: Select Button key.
|
BUTTON_START
Key code constant: Start Button key.
|
BUTTON_THUMBL
Key code constant: Left Thumb Button key.
|
BUTTON_THUMBR
Key code constant: Right Thumb Button key.
|
BUTTON_X
Key code constant: X Button key.
|
BUTTON_Y
Key code constant: Y Button key.
|
BUTTON_Z
Key code constant: Z Button key.
|
C
Key code constant: 'C' key.
|
CALCULATOR
Key code constant: Calculator special function key.
|
CALENDAR
Key code constant: Calendar special function key.
|
CALL
Key code constant: Call key.
|
CAMERA
Key code constant: Camera key.
|
CAPS_LOCK
Key code constant: Caps Lock key.
|
CAPTIONS
Key code constant: Toggle captions key.
|
CHANNEL_DOWN
Key code constant: Channel down key.
|
CHANNEL_UP
Key code constant: Channel up key.
|
CLEAR
Key code constant: Clear key.
|
COMMA
Key code constant: ',' key.
|
CONTACTS
Key code constant: Contacts special function key.
|
COPY
Key code constant: Copy key.
|
CTRL_LEFT
Key code constant: Left Control modifier key.
|
CTRL_RIGHT
Key code constant: Right Control modifier key.
|
CUT
Key code constant: Cut key.
|
D
Key code constant: 'D' key.
|
DEL
Key code constant: Backspace key.
|
DIGIT_0
Key code constant: '0' key.
|
DIGIT_1
Key code constant: '1' key.
|
DIGIT_2
Key code constant: '2' key.
|
DIGIT_3
Key code constant: '3' key.
|
DIGIT_4
Key code constant: '4' key.
|
DIGIT_5
Key code constant: '5' key.
|
DIGIT_6
Key code constant: '6' key.
|
DIGIT_7
Key code constant: '7' key.
|
DIGIT_8
Key code constant: '8' key.
|
DIGIT_9
Key code constant: '9' key.
|
DPAD_CENTER
Key code constant: Directional Pad Center key.
|
DPAD_DOWN
Key code constant: Directional Pad Down key.
|
DPAD_DOWN_LEFT
Key code constant: Directional Pad Down-Left.
|
DPAD_DOWN_RIGHT
Key code constant: Directional Pad Down-Right.
|
DPAD_LEFT
Key code constant: Directional Pad Left key.
|
DPAD_RIGHT
Key code constant: Directional Pad Right key.
|
DPAD_UP
Key code constant: Directional Pad Up key.
|
DPAD_UP_LEFT
Key code constant: Directional Pad Up-Left.
|
DPAD_UP_RIGHT
Key code constant: Directional Pad Up-Right.
|
DVR
Key code constant: DVR key.
|
E
Key code constant: 'E' key.
|
EISU
Key code constant: Japanese alphanumeric key.
|
ENDCALL
Key code constant: End Call key.
|
ENTER
Key code constant: Enter key.
|
ENVELOPE
Key code constant: Envelope special function key.
|
EQUALS
Key code constant: '=' key.
|
ESCAPE
Key code constant: Escape key.
|
EXPLORER
Key code constant: Explorer special function key.
|
F
Key code constant: 'F' key.
|
F1
Key code constant: F1 key.
|
F10
Key code constant: F10 key.
|
F11
Key code constant: F11 key.
|
F12
Key code constant: F12 key.
|
F2
Key code constant: F2 key.
|
F3
Key code constant: F3 key.
|
F4
Key code constant: F4 key.
|
F5
Key code constant: F5 key.
|
F6
Key code constant: F6 key.
|
F7
Key code constant: F7 key.
|
F8
Key code constant: F8 key.
|
F9
Key code constant: F9 key.
|
FOCUS
Key code constant: Camera Focus key.
|
FORWARD
Key code constant: Forward key.
|
FORWARD_DEL
Key code constant: Forward Delete key.
|
FUNCTION
Key code constant: Function modifier key.
|
G
Key code constant: 'G' key.
|
GRAVE
Key code constant: '`' (backtick) key.
|
GUIDE
Key code constant: Guide key.
|
H
Key code constant: 'H' key.
|
HEADSETHOOK
Key code constant: Headset Hook key.
|
HELP
Key code constant: Help key.
|
HENKAN
Key code constant: Japanese conversion key.
|
HOME
Key code constant: Home key.
|
I
Key code constant: 'I' key.
|
INFO
Key code constant: Info key.
|
INSERT
Key code constant: Insert key.
|
J
Key code constant: 'J' key.
|
K
Key code constant: 'K' key.
|
KANA
Key code constant: Japanese kana key.
|
KATAKANA_HIRAGANA
Key code constant: Japanese katakana / hiragana key.
|
KEY_11
Key code constant: '11' key.
|
KEY_12
Key code constant: '12' key.
|
KEYCODE_ZOOM_IN
Key code constant: Zoom in key.
|
KEYCODE_ZOOM_OUT
Key code constant: Zoom out key.
|
L
Key code constant: 'L' key.
|
LANGUAGE_SWITCH
Key code constant: Language Switch key.
|
LAST_CHANNEL
Key code constant: Last Channel key.
|
LEFT_BRACKET
Key code constant: '[' key.
|
M
Key code constant: 'M' key.
|
MANNER_MODE
Key code constant: Manner Mode key.
|
MEDIA_AUDIO_TRACK
Key code constant: Audio Track key.
|
MEDIA_CLOSE
Key code constant: Close media key.
|
MEDIA_EJECT
Key code constant: Eject media key.
|
MEDIA_FAST_FORWARD
Key code constant: Fast Forward media key.
|
MEDIA_NEXT
Key code constant: Play Next media key.
|
MEDIA_PAUSE
Key code constant: Pause media key.
|
MEDIA_PLAY
Key code constant: Play media key.
|
MEDIA_PLAY_PAUSE
Key code constant: Play/Pause media key.
|
MEDIA_PREVIOUS
Key code constant: Play Previous media key.
|
MEDIA_RECORD
Key code constant: Record media key.
|
MEDIA_REWIND
Key code constant: Rewind media key.
|
MEDIA_SKIP_BACKWARD
Key code constant: Skip backward media key.
|
MEDIA_SKIP_FORWARD
Key code constant: Skip forward media key.
|
MEDIA_STEP_BACKWARD
Key code constant: Step backward media key.
|
MEDIA_STEP_FORWARD
Key code constant: Step forward media key.
|
MEDIA_STOP
Key code constant: Stop media key.
|
MENU
Key code constant: Menu key.
|
META_LEFT
Key code constant: Left Meta modifier key.
|
META_RIGHT
Key code constant: Right Meta modifier key.
|
MINUS
Key code constant: '-'.
|
MODE_3D
Key code constant: 3D Mode key.
|
MOVE_END
Key code constant: End Movement key.
|
MOVE_HOME
Key code constant: Home Movement key.
|
MUHENKAN
Key code constant: Japanese non-conversion key.
|
MUSIC
Key code constant: Music special function key.
|
MUTE
Key code constant: Mute key.
|
N
Key code constant: 'N' key.
|
NAVIGATE_IN
Key code constant: Navigate in key.
|
NAVIGATE_NEXT
Key code constant: Navigate to next key.
|
NAVIGATE_OUT
Key code constant: Navigate out key.
|
NAVIGATE_PREVIOUS
Key code constant: Navigate to previous key.
|
NOTIFICATION
Key code constant: Notification key.
|
NUM
Key code constant: Number modifier key.
|
NUM_LOCK
Key code constant: Num Lock key.
|
NUMPAD_0
Key code constant: Numeric keypad '0' key.
|
NUMPAD_1
Key code constant: Numeric keypad '1' key.
|
NUMPAD_2
Key code constant: Numeric keypad '2' key.
|
NUMPAD_3
Key code constant: Numeric keypad '3' key.
|
NUMPAD_4
Key code constant: Numeric keypad '4' key.
|
NUMPAD_5
Key code constant: Numeric keypad '5' key.
|
NUMPAD_6
Key code constant: Numeric keypad '6' key.
|
NUMPAD_7
Key code constant: Numeric keypad '7' key.
|
NUMPAD_8
Key code constant: Numeric keypad '8' key.
|
NUMPAD_9
Key code constant: Numeric keypad '9' key.
|
NUMPAD_ADD
Key code constant: Numeric keypad '+' key (for addition).
|
NUMPAD_COMMA
Key code constant: Numeric keypad ',' key (for decimals or digit grouping).
|
NUMPAD_DIVIDE
Key code constant: Numeric keypad '/' key (for division).
|
NUMPAD_DOT
Key code constant: Numeric keypad '.' key (for decimals or digit grouping).
|
NUMPAD_ENTER
Key code constant: Numeric keypad Enter key.
|
NUMPAD_EQUALS
Key code constant: Numeric keypad '=' key.
|
NUMPAD_LEFT_PAREN
Key code constant: Numeric keypad '(' key.
|
NUMPAD_MULTIPLY
Key code constant: Numeric keypad '*' key (for multiplication).
|
NUMPAD_RIGHT_PAREN
Key code constant: Numeric keypad ')' key.
|
NUMPAD_SUBTRACT
Key code constant: Numeric keypad '-' key (for subtraction).
|
O
Key code constant: 'O' key.
|
P
Key code constant: 'P' key.
|
PAGE_DOWN
Key code constant: Page Down key.
|
PAGE_UP
Key code constant: Page Up key.
|
PAIRING
Key code constant: Pairing key.
|
PASTE
Key code constant: Paste key.
|
PERIOD
Key code constant: '.' key.
|
PICTSYMBOLS
Key code constant: Picture Symbols modifier key.
|
PLUS
Key code constant: '+' key.
|
POUND
Key code constant: '#' key.
|
POWER
Key code constant: Power key.
|
PROG_BLUE
Key code constant: Blue "programmable" key.
|
PROG_GREEN
Key code constant: Green "programmable" key.
|
PROG_RED
Key code constant: Red "programmable" key.
|
PROG_YELLOW
Key code constant: Yellow "programmable" key.
|
Q
Key code constant: 'Q' key.
|
R
Key code constant: 'R' key.
|
RIGHT_BRACKET
Key code constant: ']' key.
|
RO
Key code constant: Japanese Ro key.
|
S
Key code constant: 'S' key.
|
SCROLL_LOCK
Key code constant: Scroll Lock key.
|
SEARCH
Key code constant: Search key.
|
SEMICOLON
Key code constant: ';' key.
|
SETTINGS
Key code constant: Settings key.
|
SHIFT_LEFT
Key code constant: Left Shift modifier key.
|
SHIFT_RIGHT
Key code constant: Right Shift modifier key.
|
SLASH
Key code constant: '/' key.
|
SLEEP
Key code constant: Sleep key.
|
SOFT_LEFT
Key code constant: Soft Left key.
|
SOFT_RIGHT
Key code constant: Soft Right key.
|
SOFT_SLEEP
Key code constant: put device to sleep unless a wakelock is held.
|
SPACE
Key code constant: Space key.
|
STAR
Key code constant: '*' key.
|
STB_INPUT
Key code constant: Set-top-box input key.
|
STB_POWER
Key code constant: Set-top-box power key.
|
STEM_1
Key code constant: Generic stem key 1 for Wear.
|
STEM_2
Key code constant: Generic stem key 2 for Wear.
|
STEM_3
Key code constant: Generic stem key 3 for Wear.
|
STEM_PRIMARY
Key code constant: Primary stem key for Wear.
|
SWITCH_CHARSET
Key code constant: Switch Charset modifier key.
|
SYM
Key code constant: Symbol modifier key.
|
SYSRQ
Key code constant: System Request / Print Screen key.
|
T
Key code constant: 'T' key.
|
TAB
Key code constant: Tab key.
|
TV
Key code constant: TV key.
|
TV_ANTENNA_CABLE
Key code constant: Antenna/Cable key.
|
TV_AUDIO_DESCRIPTION
Key code constant: Audio description key.
|
TV_AUDIO_DESCRIPTION_MIX_DOWN
Key code constant: Audio description mixing volume down key.
|
TV_AUDIO_DESCRIPTION_MIX_UP
Key code constant: Audio description mixing volume up key.
|
TV_CONTENTS_MENU
Key code constant: Contents menu key.
|
TV_DATA_SERVICE
Key code constant: TV data service key.
|
TV_INPUT
Key code constant: TV input key.
|
TV_INPUT_COMPONENT_1
Key code constant: Component #1 key.
|
TV_INPUT_COMPONENT_2
Key code constant: Component #2 key.
|
TV_INPUT_COMPOSITE_1
Key code constant: Composite #1 key.
|
TV_INPUT_COMPOSITE_2
Key code constant: Composite #2 key.
|
TV_INPUT_HDMI_1
Key code constant: HDMI #1 key.
|
TV_INPUT_HDMI_2
Key code constant: HDMI #2 key.
|
TV_INPUT_HDMI_3
Key code constant: HDMI #3 key.
|
TV_INPUT_HDMI_4
Key code constant: HDMI #4 key.
|
TV_INPUT_VGA_1
Key code constant: VGA #1 key.
|
TV_NETWORK
Key code constant: Toggle Network key.
|
TV_NUMBER_ENTRY
Key code constant: Number entry key.
|
TV_POWER
Key code constant: TV power key.
|
TV_RADIO_SERVICE
Key code constant: Radio key.
|
TV_SATELLITE
Key code constant: Satellite key.
|
TV_SATELLITE_BS
Key code constant: BS key.
|
TV_SATELLITE_CS
Key code constant: CS key.
|
TV_SATELLITE_SERVICE
Key code constant: BS/CS key.
|
TV_TELETEXT
Key code constant: Teletext key.
|
TV_TERRESTRIAL_ANALOG
Key code constant: Analog Terrestrial key.
|
TV_TERRESTRIAL_DIGITAL
Key code constant: Digital Terrestrial key.
|
TV_TIMER_PROGRAMMING
Key code constant: Timer programming key.
|
TV_ZOOM_MODE
Key code constant: Zoom mode key.
|
U
Key code constant: 'U' key.
|
UNKNOWN
Key code constant: Unknown key code.
|
V
Key code constant: 'V' key.
|
VOICE_ASSIST
Key code constant: Voice Assist key.
|
VOLUME_DOWN
Key code constant: Volume Down key.
|
VOLUME_MUTE
Key code constant: Volume Mute key.
|
VOLUME_UP
Key code constant: Volume Up key.
|
W
Key code constant: 'W' key.
|
WAKEUP
Key code constant: Wakeup key.
|
WINDOW
Key code constant: Window key.
|
X
Key code constant: 'X' key.
|
Y
Key code constant: 'Y' key.
|
YEN
Key code constant: Japanese Yen key.
|
Z
Key code constant: 'Z' key.
|
ZENKAKU_HANKAKU
Key code constant: Japanese full-width / half-width key.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
boolean |
isConfirmKey()
Whether key will, by default, trigger a click on the focused view.
|
boolean |
isGamepadButton()
Returns true if the specified nativekey is a gamepad button.
|
boolean |
isMediaKey()
Whether this key is a media key, which can be send to apps that are
interested in media key events.
|
boolean |
isSystemKey()
Is this a system key?
|
boolean |
isWakeKey()
Is it wake key or not.
|
static AndroidKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AndroidKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AndroidKey UNKNOWN
public static final AndroidKey SOFT_LEFT
public static final AndroidKey SOFT_RIGHT
public static final AndroidKey HOME
public static final AndroidKey BACK
public static final AndroidKey CALL
public static final AndroidKey ENDCALL
public static final AndroidKey DIGIT_0
public static final AndroidKey DIGIT_1
public static final AndroidKey DIGIT_2
public static final AndroidKey DIGIT_3
public static final AndroidKey DIGIT_4
public static final AndroidKey DIGIT_5
public static final AndroidKey DIGIT_6
public static final AndroidKey DIGIT_7
public static final AndroidKey DIGIT_8
public static final AndroidKey DIGIT_9
public static final AndroidKey STAR
public static final AndroidKey POUND
public static final AndroidKey DPAD_UP
public static final AndroidKey DPAD_DOWN
public static final AndroidKey DPAD_LEFT
public static final AndroidKey DPAD_RIGHT
public static final AndroidKey DPAD_CENTER
public static final AndroidKey VOLUME_UP
public static final AndroidKey VOLUME_DOWN
public static final AndroidKey POWER
public static final AndroidKey CAMERA
public static final AndroidKey CLEAR
public static final AndroidKey A
public static final AndroidKey B
public static final AndroidKey C
public static final AndroidKey D
public static final AndroidKey E
public static final AndroidKey F
public static final AndroidKey G
public static final AndroidKey H
public static final AndroidKey I
public static final AndroidKey J
public static final AndroidKey K
public static final AndroidKey L
public static final AndroidKey M
public static final AndroidKey N
public static final AndroidKey O
public static final AndroidKey P
public static final AndroidKey Q
public static final AndroidKey R
public static final AndroidKey S
public static final AndroidKey T
public static final AndroidKey U
public static final AndroidKey V
public static final AndroidKey W
public static final AndroidKey X
public static final AndroidKey Y
public static final AndroidKey Z
public static final AndroidKey COMMA
public static final AndroidKey PERIOD
public static final AndroidKey ALT_LEFT
public static final AndroidKey ALT_RIGHT
public static final AndroidKey SHIFT_LEFT
public static final AndroidKey SHIFT_RIGHT
public static final AndroidKey TAB
public static final AndroidKey SPACE
public static final AndroidKey SYM
public static final AndroidKey EXPLORER
public static final AndroidKey ENVELOPE
public static final AndroidKey ENTER
public static final AndroidKey DEL
FORWARD_DEL
.public static final AndroidKey GRAVE
public static final AndroidKey MINUS
public static final AndroidKey EQUALS
public static final AndroidKey LEFT_BRACKET
public static final AndroidKey RIGHT_BRACKET
public static final AndroidKey BACKSLASH
public static final AndroidKey SEMICOLON
public static final AndroidKey APOSTROPHE
public static final AndroidKey SLASH
public static final AndroidKey AT
public static final AndroidKey NUM
ALT_LEFT
and is
interpreted as an ALT keypublic static final AndroidKey HEADSETHOOK
public static final AndroidKey FOCUS
public static final AndroidKey PLUS
public static final AndroidKey MENU
public static final AndroidKey NOTIFICATION
public static final AndroidKey SEARCH
public static final AndroidKey MEDIA_PLAY_PAUSE
public static final AndroidKey MEDIA_STOP
public static final AndroidKey MEDIA_NEXT
public static final AndroidKey MEDIA_PREVIOUS
public static final AndroidKey MEDIA_REWIND
public static final AndroidKey MEDIA_FAST_FORWARD
public static final AndroidKey MUTE
VOLUME_MUTE
.public static final AndroidKey PAGE_UP
public static final AndroidKey PAGE_DOWN
public static final AndroidKey PICTSYMBOLS
public static final AndroidKey SWITCH_CHARSET
public static final AndroidKey BUTTON_A
public static final AndroidKey BUTTON_B
public static final AndroidKey BUTTON_C
public static final AndroidKey BUTTON_X
public static final AndroidKey BUTTON_Y
public static final AndroidKey BUTTON_Z
public static final AndroidKey BUTTON_L1
public static final AndroidKey BUTTON_R1
public static final AndroidKey BUTTON_L2
public static final AndroidKey BUTTON_R2
public static final AndroidKey BUTTON_THUMBL
public static final AndroidKey BUTTON_THUMBR
public static final AndroidKey BUTTON_START
public static final AndroidKey BUTTON_SELECT
public static final AndroidKey BUTTON_MODE
public static final AndroidKey ESCAPE
public static final AndroidKey FORWARD_DEL
DEL
.public static final AndroidKey CTRL_LEFT
public static final AndroidKey CTRL_RIGHT
public static final AndroidKey CAPS_LOCK
public static final AndroidKey SCROLL_LOCK
public static final AndroidKey META_LEFT
public static final AndroidKey META_RIGHT
public static final AndroidKey FUNCTION
public static final AndroidKey SYSRQ
public static final AndroidKey BREAK
public static final AndroidKey MOVE_HOME
public static final AndroidKey MOVE_END
public static final AndroidKey INSERT
public static final AndroidKey FORWARD
BACK
.public static final AndroidKey MEDIA_PLAY
public static final AndroidKey MEDIA_PAUSE
public static final AndroidKey MEDIA_CLOSE
public static final AndroidKey MEDIA_EJECT
public static final AndroidKey MEDIA_RECORD
public static final AndroidKey F1
public static final AndroidKey F2
public static final AndroidKey F3
public static final AndroidKey F4
public static final AndroidKey F5
public static final AndroidKey F6
public static final AndroidKey F7
public static final AndroidKey F8
public static final AndroidKey F9
public static final AndroidKey F10
public static final AndroidKey F11
public static final AndroidKey F12
public static final AndroidKey NUM_LOCK
NUM
.
This key alters the behavior of other keys on the numeric keypad.public static final AndroidKey NUMPAD_0
public static final AndroidKey NUMPAD_1
public static final AndroidKey NUMPAD_2
public static final AndroidKey NUMPAD_3
public static final AndroidKey NUMPAD_4
public static final AndroidKey NUMPAD_5
public static final AndroidKey NUMPAD_6
public static final AndroidKey NUMPAD_7
public static final AndroidKey NUMPAD_8
public static final AndroidKey NUMPAD_9
public static final AndroidKey NUMPAD_DIVIDE
public static final AndroidKey NUMPAD_MULTIPLY
public static final AndroidKey NUMPAD_SUBTRACT
public static final AndroidKey NUMPAD_ADD
public static final AndroidKey NUMPAD_DOT
public static final AndroidKey NUMPAD_COMMA
public static final AndroidKey NUMPAD_ENTER
public static final AndroidKey NUMPAD_EQUALS
public static final AndroidKey NUMPAD_LEFT_PAREN
public static final AndroidKey NUMPAD_RIGHT_PAREN
public static final AndroidKey VOLUME_MUTE
MUTE
.
This key should normally be implemented as a toggle such that the first press
mutes the speaker and the second press restores the original volume.public static final AndroidKey INFO
public static final AndroidKey CHANNEL_UP
public static final AndroidKey CHANNEL_DOWN
public static final AndroidKey KEYCODE_ZOOM_IN
public static final AndroidKey KEYCODE_ZOOM_OUT
public static final AndroidKey TV
public static final AndroidKey WINDOW
public static final AndroidKey GUIDE
public static final AndroidKey DVR
public static final AndroidKey BOOKMARK
public static final AndroidKey CAPTIONS
public static final AndroidKey SETTINGS
public static final AndroidKey TV_POWER
public static final AndroidKey TV_INPUT
public static final AndroidKey STB_POWER
public static final AndroidKey STB_INPUT
public static final AndroidKey AVR_POWER
public static final AndroidKey AVR_INPUT
public static final AndroidKey PROG_RED
public static final AndroidKey PROG_GREEN
public static final AndroidKey PROG_YELLOW
public static final AndroidKey PROG_BLUE
public static final AndroidKey APP_SWITCH
public static final AndroidKey BUTTON_1
public static final AndroidKey BUTTON_2
public static final AndroidKey BUTTON_3
public static final AndroidKey BUTTON_4
public static final AndroidKey BUTTON_5
public static final AndroidKey BUTTON_6
public static final AndroidKey BUTTON_7
public static final AndroidKey BUTTON_8
public static final AndroidKey BUTTON_9
public static final AndroidKey BUTTON_10
public static final AndroidKey BUTTON_11
public static final AndroidKey BUTTON_12
public static final AndroidKey BUTTON_13
public static final AndroidKey BUTTON_14
public static final AndroidKey BUTTON_15
public static final AndroidKey BUTTON_16
public static final AndroidKey LANGUAGE_SWITCH
public static final AndroidKey MANNER_MODE
public static final AndroidKey MODE_3D
public static final AndroidKey CONTACTS
public static final AndroidKey CALENDAR
public static final AndroidKey MUSIC
public static final AndroidKey CALCULATOR
public static final AndroidKey ZENKAKU_HANKAKU
public static final AndroidKey EISU
public static final AndroidKey MUHENKAN
public static final AndroidKey HENKAN
public static final AndroidKey KATAKANA_HIRAGANA
public static final AndroidKey YEN
public static final AndroidKey RO
public static final AndroidKey KANA
public static final AndroidKey ASSIST
public static final AndroidKey BRIGHTNESS_DOWN
public static final AndroidKey BRIGHTNESS_UP
public static final AndroidKey MEDIA_AUDIO_TRACK
public static final AndroidKey SLEEP
POWER
but it
has no effect if the device is already asleep.public static final AndroidKey WAKEUP
POWER
but it
has no effect if the device is already awake.public static final AndroidKey PAIRING
public static final AndroidKey _MEDIA_TOP_MENU
public static final AndroidKey KEY_11
public static final AndroidKey KEY_12
public static final AndroidKey LAST_CHANNEL
public static final AndroidKey TV_DATA_SERVICE
public static final AndroidKey VOICE_ASSIST
public static final AndroidKey TV_RADIO_SERVICE
public static final AndroidKey TV_TELETEXT
public static final AndroidKey TV_NUMBER_ENTRY
public static final AndroidKey TV_TERRESTRIAL_ANALOG
public static final AndroidKey TV_TERRESTRIAL_DIGITAL
public static final AndroidKey TV_SATELLITE
public static final AndroidKey TV_SATELLITE_BS
public static final AndroidKey TV_SATELLITE_CS
public static final AndroidKey TV_SATELLITE_SERVICE
public static final AndroidKey TV_NETWORK
public static final AndroidKey TV_ANTENNA_CABLE
public static final AndroidKey TV_INPUT_HDMI_1
public static final AndroidKey TV_INPUT_HDMI_2
public static final AndroidKey TV_INPUT_HDMI_3
public static final AndroidKey TV_INPUT_HDMI_4
public static final AndroidKey TV_INPUT_COMPOSITE_1
public static final AndroidKey TV_INPUT_COMPOSITE_2
public static final AndroidKey TV_INPUT_COMPONENT_1
public static final AndroidKey TV_INPUT_COMPONENT_2
public static final AndroidKey TV_INPUT_VGA_1
public static final AndroidKey TV_AUDIO_DESCRIPTION
public static final AndroidKey TV_AUDIO_DESCRIPTION_MIX_UP
public static final AndroidKey TV_AUDIO_DESCRIPTION_MIX_DOWN
public static final AndroidKey TV_ZOOM_MODE
public static final AndroidKey TV_CONTENTS_MENU
public static final AndroidKey _TV_MEDIA_CONTEXT_MENU
public static final AndroidKey TV_TIMER_PROGRAMMING
public static final AndroidKey HELP
public static final AndroidKey NAVIGATE_PREVIOUS
public static final AndroidKey NAVIGATE_NEXT
public static final AndroidKey NAVIGATE_IN
public static final AndroidKey NAVIGATE_OUT
public static final AndroidKey STEM_PRIMARY
public static final AndroidKey STEM_1
public static final AndroidKey STEM_2
public static final AndroidKey STEM_3
public static final AndroidKey DPAD_UP_LEFT
public static final AndroidKey DPAD_DOWN_LEFT
public static final AndroidKey DPAD_UP_RIGHT
public static final AndroidKey DPAD_DOWN_RIGHT
public static final AndroidKey MEDIA_SKIP_FORWARD
public static final AndroidKey MEDIA_SKIP_BACKWARD
public static final AndroidKey MEDIA_STEP_FORWARD
public static final AndroidKey MEDIA_STEP_BACKWARD
public static final AndroidKey SOFT_SLEEP
public static final AndroidKey CUT
public static final AndroidKey COPY
public static final AndroidKey PASTE
public static AndroidKey[] values()
for (AndroidKey c : AndroidKey.values()) System.out.println(c);
public static AndroidKey valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public boolean isGamepadButton()
BUTTON_A
.public boolean isConfirmKey()
public boolean isMediaKey()
public boolean isSystemKey()
public boolean isWakeKey()