{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Key.Companion

public static class Key.Companion


Summary

Public methods

static final @NonNull Key

'A' key.

static final @NonNull Key

Show all apps.

static final @NonNull Key

Left Alt modifier key.

static final @NonNull Key

Right Alt modifier key.

static final @NonNull Key

''' (apostrophe) key.

static final @NonNull Key

App switch key.

static final @NonNull Key

Assist key.

static final @NonNull Key

'@' key.

static final @NonNull Key

A/V Receiver input key.

static final @NonNull Key

A/V Receiver power key.

static final @NonNull Key

'B' key.

static final @NonNull Key

Back key.

static final @NonNull Key

'\' key.

static final @NonNull Key

Backspace key.

static final @NonNull Key

Bookmark key.

static final @NonNull Key

Break / Pause key.

static final @NonNull Key

Brightness Down key.

static final @NonNull Key

Brightness Up key.

static final @NonNull Key

Browser special function key.

static final @NonNull Key

Generic Game Pad Button #1.

static final @NonNull Key

Generic Game Pad Button #10.

static final @NonNull Key

Generic Game Pad Button #11.

static final @NonNull Key

Generic Game Pad Button #12.

static final @NonNull Key

Generic Game Pad Button #13.

static final @NonNull Key

Generic Game Pad Button #14.

static final @NonNull Key

Generic Game Pad Button #15.

static final @NonNull Key

Generic Game Pad Button #16.

static final @NonNull Key

Generic Game Pad Button #2.

static final @NonNull Key

Generic Game Pad Button #3.

static final @NonNull Key

Generic Game Pad Button #4.

static final @NonNull Key

Generic Game Pad Button #5.

static final @NonNull Key

Generic Game Pad Button #6.

static final @NonNull Key

Generic Game Pad Button #7.

static final @NonNull Key

Generic Game Pad Button #8.

static final @NonNull Key

Generic Game Pad Button #9.

static final @NonNull Key

A Button key.

static final @NonNull Key

B Button key.

static final @NonNull Key

C Button key.

static final @NonNull Key

L1 Button key.

static final @NonNull Key

L2 Button key.

static final @NonNull Key

Mode Button key.

static final @NonNull Key

R1 Button key.

static final @NonNull Key

R2 Button key.

static final @NonNull Key

Select Button key.

static final @NonNull Key

Start Button key.

static final @NonNull Key

Left Thumb Button key.

static final @NonNull Key

Right Thumb Button key.

static final @NonNull Key

X Button key.

static final @NonNull Key

Y Button key.

static final @NonNull Key

Z Button key.

static final @NonNull Key

'C' key.

static final @NonNull Key

Calculator special function key.

static final @NonNull Key

Calendar special function key.

static final @NonNull Key

Call key.

static final @NonNull Key

Camera key.

static final @NonNull Key

Caps Lock key.

static final @NonNull Key

Toggle captions key.

static final @NonNull Key

Channel down key.

static final @NonNull Key

Channel up key.

static final @NonNull Key

Clear key.

static final @NonNull Key

',' key.

static final @NonNull Key

Contacts special function key.

static final @NonNull Key

Copy key.

static final @NonNull Key

Left Control modifier key.

static final @NonNull Key

Right Control modifier key.

static final @NonNull Key

Cut key.

static final @NonNull Key

'D' key.

static final @NonNull Key

Delete key.

static final @NonNull Key

Center Arrow Key / Directional Pad Center key.

static final @NonNull Key

Down Arrow Key / Directional Pad Down key.

static final @NonNull Key

Directional Pad Down-Left.

static final @NonNull Key

Directional Pad Down-Right.

static final @NonNull Key

Left Arrow Key / Directional Pad Left key.

static final @NonNull Key

Right Arrow Key / Directional Pad Right key.

static final @NonNull Key

Up Arrow Key / Directional Pad Up key.

static final @NonNull Key

Directional Pad Up-Left.

static final @NonNull Key

Directional Pad Up-Right.

static final @NonNull Key

DVR key.

static final @NonNull Key

'E' key.

static final @NonNull Key

'8' key.

static final @NonNull Key

Japanese alphanumeric key.

static final @NonNull Key

End Call key.

static final @NonNull Key

Enter key.

static final @NonNull Key

Envelope special function key.

static final @NonNull Key

'=' key.

static final @NonNull Key

Escape key.

static final @NonNull Key

'F' key.

static final @NonNull Key

F1 key.

static final @NonNull Key

F10 key.

static final @NonNull Key

F11 key.

static final @NonNull Key

F12 key.

static final @NonNull Key

F2 key.

static final @NonNull Key

F3 key.

static final @NonNull Key

F4 key.

static final @NonNull Key

F5 key.

static final @NonNull Key

F6 key.

static final @NonNull Key

F7 key.

static final @NonNull Key

F8 key.

static final @NonNull Key

F9 key.

static final @NonNull Key

'5' key.

static final @NonNull Key

Camera Focus key.

static final @NonNull Key

Forward key.

static final @NonNull Key

'4' key.

static final @NonNull Key

Function modifier key.

static final @NonNull Key

'G' key.

static final @NonNull Key

'`' (backtick) key.

static final @NonNull Key

Guide key.

static final @NonNull Key

'H' key.

static final @NonNull Key

Headset Hook key.

static final @NonNull Key

Help key.

static final @NonNull Key

Japanese conversion key.

static final @NonNull Key

Home key.

static final @NonNull Key

'I' key.

static final @NonNull Key

Info key.

static final @NonNull Key

Insert key.

static final @NonNull Key

'J' key.

static final @NonNull Key

'K' key.

static final @NonNull Key

Japanese kana key.

static final @NonNull Key

Japanese katakana / hiragana key.

static final @NonNull Key

'L' key.

static final @NonNull Key

Language Switch key.

static final @NonNull Key

Last Channel key.

static final @NonNull Key

'[' key.

static final @NonNull Key

'M' key.

static final @NonNull Key

Manner Mode key.

static final @NonNull Key

Audio Track key.

static final @NonNull Key

Close media key.

static final @NonNull Key

Eject media key.

static final @NonNull Key

Fast Forward media key.

static final @NonNull Key

Play Next media key.

static final @NonNull Key

Pause media key.

static final @NonNull Key

Play media key.

static final @NonNull Key

Play/Pause media key.

static final @NonNull Key

Play Previous media key.

static final @NonNull Key

Record media key.

static final @NonNull Key

Rewind media key.

static final @NonNull Key

Skip backward media key.

static final @NonNull Key

Skip forward media key.

static final @NonNull Key

Step backward media key.

static final @NonNull Key

Step forward media key.

static final @NonNull Key

Stop media key.

static final @NonNull Key

Media Top Menu key.

static final @NonNull Key

Menu key.

static final @NonNull Key

Left Meta modifier key.

static final @NonNull Key

Right Meta modifier key.

static final @NonNull Key

Mute key.

static final @NonNull Key

'-' key.

static final @NonNull Key

End Movement key.

static final @NonNull Key

Home Movement key.

static final @NonNull Key

Japanese non-conversion key.

static final @NonNull Key

'*' key.

static final @NonNull Key

Music special function key.

static final @NonNull Key

'N' key.

static final @NonNull Key

Navigate in key.

static final @NonNull Key

Navigate to next key.

static final @NonNull Key

Navigate out key.

static final @NonNull Key

Navigate to previous key.

static final @NonNull Key

'9' key.

static final @NonNull Key

Notification key.

static final @NonNull Key

Num Lock key.

static final @NonNull Key

Numeric keypad '0' key.

static final @NonNull Key

Numeric keypad '1' key.

static final @NonNull Key

Numeric keypad '2' key.

static final @NonNull Key

Numeric keypad '3' key.

static final @NonNull Key

Numeric keypad '4' key.

static final @NonNull Key

Numeric keypad '5' key.

static final @NonNull Key

Numeric keypad '6' key.

static final @NonNull Key

Numeric keypad '7' key.

static final @NonNull Key

Numeric keypad '8' key.

static final @NonNull Key

Numeric keypad '9' key.

static final @NonNull Key

Numeric keypad '+' key (for addition).

static final @NonNull Key

Numeric keypad ',' key (for decimals or digit grouping).

static final @NonNull Key

Numeric keypad '/' key (for division).

static final @NonNull Key

Numeric keypad '.' key (for decimals or digit grouping).

static final @NonNull Key

Numeric keypad Enter key.

static final @NonNull Key

Numeric keypad '=' key.

static final @NonNull Key

Numeric keypad '(' key.

static final @NonNull Key

Numeric keypad '*' key (for multiplication).

static final @NonNull Key

Numeric keypad ')' key.

static final @NonNull Key

Numeric keypad '-' key (for subtraction).

static final @NonNull Key

Number modifier key.

static final @NonNull Key

'O' key.

static final @NonNull Key

'1' key.

static final @NonNull Key

'P' key.

static final @NonNull Key

Page Down key.

static final @NonNull Key

Page Up key.

static final @NonNull Key

Pairing key.

static final @NonNull Key

Paste key.

static final @NonNull Key

'.' key.

static final @NonNull Key

Picture Symbols modifier key.

static final @NonNull Key

'+' key.

static final @NonNull Key

'#' key.

static final @NonNull Key

Power key.

static final @NonNull Key

System Request / Print Screen key.

static final @NonNull Key

Used to switch current android.accounts.Account that is consuming content.

static final @NonNull Key

Blue "programmable" key.

static final @NonNull Key

Green "programmable" key.

static final @NonNull Key

Red "programmable" key.

static final @NonNull Key

Yellow "programmable" key.

static final @NonNull Key

'Q' key.

static final @NonNull Key

'R' key.

static final @NonNull Key

Refresh key.

static final @NonNull Key

']' key.

static final @NonNull Key

Japanese Ro key.

static final @NonNull Key

'S' key.

static final @NonNull Key

Scroll Lock key.

static final @NonNull Key

Search key.

static final @NonNull Key

';' key.

static final @NonNull Key

Set-top-box input key.

static final @NonNull Key

Set-top-box power key.

static final @NonNull Key

Settings key.

static final @NonNull Key

'7' key.

static final @NonNull Key

Left Shift modifier key.

static final @NonNull Key

Right Shift modifier key.

static final @NonNull Key

'6' key.

static final @NonNull Key

'/' key.

static final @NonNull Key

Sleep key.

static final @NonNull Key

Soft Left key.

static final @NonNull Key

Soft Right key.

static final @NonNull Key

Put device to sleep unless a wakelock is held.

static final @NonNull Key

Space key.

static final @NonNull Key

Generic stem key 1 for Wearables.

static final @NonNull Key

Generic stem key 2 for Wearables.

static final @NonNull Key

Generic stem key 3 for Wearables.

static final @NonNull Key

Primary stem key for Wearables.

static final @NonNull Key

Switch Charset modifier key.

static final @NonNull Key

Symbol modifier key.

static final @NonNull Key

Consumed by the system for navigation down.

static final @NonNull Key

Consumed by the system for navigation left.

static final @NonNull Key

Consumed by the system for navigation right.

static final @NonNull Key

Consumed by the system for navigation up.

static final @NonNull Key

'T' key.

static final @NonNull Key

Tab key.

static final @NonNull Key

'3' key.

static final @NonNull Key

Thumbs down key.

static final @NonNull Key

Thumbs up key.

static final @NonNull Key

3D Mode key.

static final @NonNull Key

TV key.

static final @NonNull Key

Antenna/Cable key.

static final @NonNull Key

Audio description key.

static final @NonNull Key

Audio description mixing volume down key.

static final @NonNull Key

Audio description mixing volume up key.

static final @NonNull Key

Contents menu key.

static final @NonNull Key

TV data service key.

static final @NonNull Key

TV input key.

static final @NonNull Key

Component #1 key.

static final @NonNull Key

Component #2 key.

static final @NonNull Key

Composite #1 key.

static final @NonNull Key

Composite #2 key.

static final @NonNull Key

HDMI #1 key.

static final @NonNull Key

HDMI #2 key.

static final @NonNull Key

HDMI #3 key.

static final @NonNull Key

HDMI #4 key.

static final @NonNull Key

VGA #1 key.

static final @NonNull Key

Media context menu key.

static final @NonNull Key

Toggle Network key.

static final @NonNull Key

Number entry key.

static final @NonNull Key

TV power key.

static final @NonNull Key

Radio key.

static final @NonNull Key

Satellite key.

static final @NonNull Key

BS key.

static final @NonNull Key

CS key.

static final @NonNull Key

BS/CS key.

static final @NonNull Key

Teletext key.

static final @NonNull Key

Analog Terrestrial key.

static final @NonNull Key

Digital Terrestrial key.

static final @NonNull Key

Timer programming key.

static final @NonNull Key

Zoom mode key.

static final @NonNull Key

'2' key.

static final @NonNull Key

'U' key.

static final @NonNull Key

Unknown key.

static final @NonNull Key

'V' key.

static final @NonNull Key

Voice Assist key.

static final @NonNull Key

Volume Down key.

static final @NonNull Key

Volume Mute key.

static final @NonNull Key

Volume Up key.

static final @NonNull Key

'W' key.

static final @NonNull Key

Wakeup key.

static final @NonNull Key

Window key.

static final @NonNull Key

'X' key.

static final @NonNull Key

'Y' key.

static final @NonNull Key

Japanese Yen key.

static final @NonNull Key

'Z' key.

static final @NonNull Key

Japanese full-width / half-width key.

static final @NonNull Key

'0' key.

static final @NonNull Key

Zoom in key.

static final @NonNull Key

Zoom out key.

Public methods

getA

public static final @NonNull Key getA()

'A' key.

getAllApps

public static final @NonNull Key getAllApps()

Show all apps.

getAltLeft

public static final @NonNull Key getAltLeft()

Left Alt modifier key.

getAltRight

public static final @NonNull Key getAltRight()

Right Alt modifier key.

getApostrophe

public static final @NonNull Key getApostrophe()

''' (apostrophe) key.

getAppSwitch

public static final @NonNull Key getAppSwitch()

App switch key.

Should bring up the application switcher dialog.

getAssist

public static final @NonNull Key getAssist()

Assist key.

Launches the global assist activity. Not delivered to applications.

getAt

public static final @NonNull Key getAt()

'@' key.

getAvReceiverInput

public static final @NonNull Key getAvReceiverInput()

A/V Receiver input key.

On TV remotes, switches the input mode on an external A/V Receiver.

getAvReceiverPower

public static final @NonNull Key getAvReceiverPower()

A/V Receiver power key.

On TV remotes, toggles the power on an external A/V Receiver.

getB

public static final @NonNull Key getB()

'B' key.

getBack

public static final @NonNull Key getBack()

Back key.

getBackslash

public static final @NonNull Key getBackslash()

'\' key.

getBackspace

public static final @NonNull Key getBackspace()

Backspace key.

Deletes characters before the insertion point, unlike Delete.

getBookmark

public static final @NonNull Key getBookmark()

Bookmark key.

On some TV remotes, bookmarks content or web pages.

getBreak

public static final @NonNull Key getBreak()

Break / Pause key.

getBrightnessDown

public static final @NonNull Key getBrightnessDown()

Brightness Down key.

Adjusts the screen brightness down.

getBrightnessUp

public static final @NonNull Key getBrightnessUp()

Brightness Up key.

Adjusts the screen brightness up.

getBrowser

public static final @NonNull Key getBrowser()

Browser special function key.

Used to launch a browser application.

getButton1

public static final @NonNull Key getButton1()

Generic Game Pad Button #1.

getButton10

public static final @NonNull Key getButton10()

Generic Game Pad Button #10.

getButton11

public static final @NonNull Key getButton11()

Generic Game Pad Button #11.

getButton12

public static final @NonNull Key getButton12()

Generic Game Pad Button #12.

getButton13

public static final @NonNull Key getButton13()

Generic Game Pad Button #13.

getButton14

public static final @NonNull Key getButton14()

Generic Game Pad Button #14.

getButton15

public static final @NonNull Key getButton15()

Generic Game Pad Button #15.

getButton16

public static final @NonNull Key getButton16()

Generic Game Pad Button #16.

getButton2

public static final @NonNull Key getButton2()

Generic Game Pad Button #2.

getButton3

public static final @NonNull Key getButton3()

Generic Game Pad Button #3.

getButton4

public static final @NonNull Key getButton4()

Generic Game Pad Button #4.

getButton5

public static final @NonNull Key getButton5()

Generic Game Pad Button #5.

getButton6

public static final @NonNull Key getButton6()

Generic Game Pad Button #6.

getButton7

public static final @NonNull Key getButton7()

Generic Game Pad Button #7.

getButton8

public static final @NonNull Key getButton8()

Generic Game Pad Button #8.

getButton9

public static final @NonNull Key getButton9()

Generic Game Pad Button #9.

getButtonA

public static final @NonNull Key getButtonA()

A Button key.

On a game controller, the A button should be either the button labeled A or the first button on the bottom row of controller buttons.

getButtonB

public static final @NonNull Key getButtonB()

B Button key.

On a game controller, the B button should be either the button labeled B or the second button on the bottom row of controller buttons.

getButtonC

public static final @NonNull Key getButtonC()

C Button key.

On a game controller, the C button should be either the button labeled C or the third button on the bottom row of controller buttons.

getButtonL1

public static final @NonNull Key getButtonL1()

L1 Button key.

On a game controller, the L1 button should be either the button labeled L1 (or L) or the top left trigger button.

getButtonL2

public static final @NonNull Key getButtonL2()

L2 Button key.

On a game controller, the L2 button should be either the button labeled L2 or the bottom left trigger button.

getButtonMode

public static final @NonNull Key getButtonMode()

Mode Button key.

On a game controller, the button labeled Mode.

getButtonR1

public static final @NonNull Key getButtonR1()

R1 Button key.

On a game controller, the R1 button should be either the button labeled R1 (or R) or the top right trigger button.

getButtonR2

public static final @NonNull Key getButtonR2()

R2 Button key.

On a game controller, the R2 button should be either the button labeled R2 or the bottom right trigger button.

getButtonSelect

public static final @NonNull Key getButtonSelect()

Select Button key.

On a game controller, the button labeled Select.

getButtonStart

public static final @NonNull Key getButtonStart()

Start Button key.

On a game controller, the button labeled Start.

getButtonThumbLeft

public static final @NonNull Key getButtonThumbLeft()

Left Thumb Button key.

On a game controller, the left thumb button indicates that the left (or only) joystick is pressed.

getButtonThumbRight

public static final @NonNull Key getButtonThumbRight()

Right Thumb Button key.

On a game controller, the right thumb button indicates that the right joystick is pressed.

getButtonX

public static final @NonNull Key getButtonX()

X Button key.

On a game controller, the X button should be either the button labeled X or the first button on the upper row of controller buttons.

getButtonY

public static final @NonNull Key getButtonY()

Y Button key.

On a game controller, the Y button should be either the button labeled Y or the second button on the upper row of controller buttons.

getButtonZ

public static final @NonNull Key getButtonZ()

Z Button key.

On a game controller, the Z button should be either the button labeled Z or the third button on the upper row of controller buttons.

getC

public static final @NonNull Key getC()

'C' key.

getCalculator

public static final @NonNull Key getCalculator()

Calculator special function key.

Used to launch a calculator application.

getCalendar

public static final @NonNull Key getCalendar()

Calendar special function key.

Used to launch a calendar application.

getCall

public static final @NonNull Key getCall()

Call key.

getCamera

public static final @NonNull Key getCamera()

Camera key.

Used to launch a camera application or take pictures.

getCapsLock

public static final @NonNull Key getCapsLock()

Caps Lock key.

getCaptions

public static final @NonNull Key getCaptions()

Toggle captions key.

Switches the mode for closed-captioning text, for example during television shows.

getChannelDown

public static final @NonNull Key getChannelDown()

Channel down key.

On TV remotes, decrements the television channel.

getChannelUp

public static final @NonNull Key getChannelUp()

Channel up key.

On TV remotes, increments the television channel.

getClear

public static final @NonNull Key getClear()

Clear key.

getComma

public static final @NonNull Key getComma()

',' key.

getContacts

public static final @NonNull Key getContacts()

Contacts special function key.

Used to launch an address book application.

getCopy

public static final @NonNull Key getCopy()

Copy key.

getCtrlLeft

public static final @NonNull Key getCtrlLeft()

Left Control modifier key.

getCtrlRight

public static final @NonNull Key getCtrlRight()

Right Control modifier key.

getCut

public static final @NonNull Key getCut()

Cut key.

getD

public static final @NonNull Key getD()

'D' key.

getDelete

public static final @NonNull Key getDelete()

Delete key.

Deletes characters ahead of the insertion point, unlike Backspace.

getDirectionCenter

public static final @NonNull Key getDirectionCenter()

Center Arrow Key / Directional Pad Center key.

May also be synthesized from trackball motions.

getDirectionDown

public static final @NonNull Key getDirectionDown()

Down Arrow Key / Directional Pad Down key.

May also be synthesized from trackball motions.

getDirectionDownLeft

public static final @NonNull Key getDirectionDownLeft()

Directional Pad Down-Left.

getDirectionDownRight

public static final @NonNull Key getDirectionDownRight()

Directional Pad Down-Right.

getDirectionLeft

public static final @NonNull Key getDirectionLeft()

Left Arrow Key / Directional Pad Left key.

May also be synthesized from trackball motions.

getDirectionRight

public static final @NonNull Key getDirectionRight()

Right Arrow Key / Directional Pad Right key.

May also be synthesized from trackball motions.

getDirectionUp

public static final @NonNull Key getDirectionUp()

Up Arrow Key / Directional Pad Up key.

May also be synthesized from trackball motions.

getDirectionUpLeft

public static final @NonNull Key getDirectionUpLeft()

Directional Pad Up-Left.

getDirectionUpRight

public static final @NonNull Key getDirectionUpRight()

Directional Pad Up-Right.

getDvr

public static final @NonNull Key getDvr()

DVR key.

On some TV remotes, switches to a DVR mode for recorded shows.

getE

public static final @NonNull Key getE()

'E' key.

getEight

public static final @NonNull Key getEight()

'8' key.

getEisu

public static final @NonNull Key getEisu()

Japanese alphanumeric key.

getEndCall

public static final @NonNull Key getEndCall()

End Call key.

getEnter

public static final @NonNull Key getEnter()

Enter key.

getEnvelope

public static final @NonNull Key getEnvelope()

Envelope special function key.

Used to launch a mail application.

getEquals

public static final @NonNull Key getEquals()

'=' key.

getEscape

public static final @NonNull Key getEscape()

Escape key.

getF

public static final @NonNull Key getF()

'F' key.

getF1

public static final @NonNull Key getF1()

F1 key.

getF10

public static final @NonNull Key getF10()

F10 key.

getF11

public static final @NonNull Key getF11()

F11 key.

getF12

public static final @NonNull Key getF12()

F12 key.

getF2

public static final @NonNull Key getF2()

F2 key.

getF3

public static final @NonNull Key getF3()

F3 key.

getF4

public static final @NonNull Key getF4()

F4 key.

getF5

public static final @NonNull Key getF5()

F5 key.

getF6

public static final @NonNull Key getF6()

F6 key.

getF7

public static final @NonNull Key getF7()

F7 key.

getF8

public static final @NonNull Key getF8()

F8 key.

getF9

public static final @NonNull Key getF9()

F9 key.

getFive

public static final @NonNull Key getFive()

'5' key.

getFocus

public static final @NonNull Key getFocus()

Camera Focus key.

Used to focus the camera.

getForward

public static final @NonNull Key getForward()

Forward key.

Navigates forward in the history stack. Complement of Back.

getFour

public static final @NonNull Key getFour()

'4' key.

getFunction

public static final @NonNull Key getFunction()

Function modifier key.

getG

public static final @NonNull Key getG()

'G' key.

getGrave

public static final @NonNull Key getGrave()

'`' (backtick) key.

getGuide

public static final @NonNull Key getGuide()

Guide key.

On TV remotes, shows a programming guide.

getH

public static final @NonNull Key getH()

'H' key.

getHeadsetHook

public static final @NonNull Key getHeadsetHook()

Headset Hook key.

Used to hang up calls and stop media.

getHelp

public static final @NonNull Key getHelp()

Help key.

getHenkan

public static final @NonNull Key getHenkan()

Japanese conversion key.

getHome

public static final @NonNull Key getHome()

Home key.

This key is handled by the framework and is never delivered to applications.

getI

public static final @NonNull Key getI()

'I' key.

getInfo

public static final @NonNull Key getInfo()

Info key.

Common on TV remotes to show additional information related to what is currently being viewed.

getInsert

public static final @NonNull Key getInsert()

Insert key.

Toggles insert / overwrite edit mode.

getJ

public static final @NonNull Key getJ()

'J' key.

getK

public static final @NonNull Key getK()

'K' key.

getKana

public static final @NonNull Key getKana()

Japanese kana key.

getKatakanaHiragana

public static final @NonNull Key getKatakanaHiragana()

Japanese katakana / hiragana key.

getL

public static final @NonNull Key getL()

'L' key.

getLanguageSwitch

public static final @NonNull Key getLanguageSwitch()

Language Switch key.

Toggles the current input language such as switching between English and Japanese on a QWERTY keyboard. On some devices, the same function may be performed by pressing Shift+Space.

getLastChannel

public static final @NonNull Key getLastChannel()

Last Channel key.

Goes to the last viewed channel.

getLeftBracket

public static final @NonNull Key getLeftBracket()

'[' key.

getM

public static final @NonNull Key getM()

'M' key.

getMannerMode

public static final @NonNull Key getMannerMode()

Manner Mode key.

Toggles silent or vibrate mode on and off to make the device behave more politely in certain settings such as on a crowded train. On some devices, the key may only operate when long-pressed.

getMediaAudioTrack

public static final @NonNull Key getMediaAudioTrack()

Audio Track key.

Switches the audio tracks.

getMediaClose

public static final @NonNull Key getMediaClose()

Close media key.

May be used to close a CD tray, for example.

getMediaEject

public static final @NonNull Key getMediaEject()

Eject media key.

May be used to eject a CD tray, for example.

getMediaFastForward

public static final @NonNull Key getMediaFastForward()

Fast Forward media key.

getMediaNext

public static final @NonNull Key getMediaNext()

Play Next media key.

getMediaPause

public static final @NonNull Key getMediaPause()

Pause media key.

getMediaPlay

public static final @NonNull Key getMediaPlay()

Play media key.

getMediaPlayPause

public static final @NonNull Key getMediaPlayPause()

Play/Pause media key.

getMediaPrevious

public static final @NonNull Key getMediaPrevious()

Play Previous media key.

getMediaRecord

public static final @NonNull Key getMediaRecord()

Record media key.

getMediaRewind

public static final @NonNull Key getMediaRewind()

Rewind media key.

getMediaSkipBackward

public static final @NonNull Key getMediaSkipBackward()

Skip backward media key.

getMediaSkipForward

public static final @NonNull Key getMediaSkipForward()

Skip forward media key.

getMediaStepBackward

public static final @NonNull Key getMediaStepBackward()

Step backward media key.

Steps media backward, one frame at a time.

getMediaStepForward

public static final @NonNull Key getMediaStepForward()

Step forward media key.

Steps media forward, one frame at a time.

getMediaStop

public static final @NonNull Key getMediaStop()

Stop media key.

getMediaTopMenu

public static final @NonNull Key getMediaTopMenu()

Media Top Menu key.

Goes to the top of media menu.

getMenu

public static final @NonNull Key getMenu()

Menu key.

getMetaLeft

public static final @NonNull Key getMetaLeft()

Left Meta modifier key.

getMetaRight

public static final @NonNull Key getMetaRight()

Right Meta modifier key.

getMicrophoneMute

public static final @NonNull Key getMicrophoneMute()

Mute key.

Mutes the microphone, unlike VolumeMute.

getMinus

public static final @NonNull Key getMinus()

'-' key.

getMoveEnd

public static final @NonNull Key getMoveEnd()

End Movement key.

Used for scrolling or moving the cursor around to the end of a line or to the bottom of a list.

getMoveHome

public static final @NonNull Key getMoveHome()

Home Movement key.

Used for scrolling or moving the cursor around to the start of a line or to the top of a list.

getMuhenkan

public static final @NonNull Key getMuhenkan()

Japanese non-conversion key.

getMultiply

public static final @NonNull Key getMultiply()

'*' key.

getMusic

public static final @NonNull Key getMusic()

Music special function key.

Used to launch a music player application.

getN

public static final @NonNull Key getN()

'N' key.

getNavigateIn

public static final @NonNull Key getNavigateIn()

Navigate in key.

Activates the item that currently has focus or expands to the next level of a navigation hierarchy.

getNavigateNext

public static final @NonNull Key getNavigateNext()

Navigate to next key.

Advances to the next item in an ordered collection of items.

getNavigateOut

public static final @NonNull Key getNavigateOut()

Navigate out key.

Backs out one level of a navigation hierarchy or collapses the item that currently has focus.

getNavigatePrevious

public static final @NonNull Key getNavigatePrevious()

Navigate to previous key.

Goes backward by one item in an ordered collection of items.

getNine

public static final @NonNull Key getNine()

'9' key.

getNotification

public static final @NonNull Key getNotification()

Notification key.

getNumLock

public static final @NonNull Key getNumLock()

Num Lock key.

This is the Num Lock key; it is different from Number. This key alters the behavior of other keys on the numeric keypad.

getNumPad0

public static final @NonNull Key getNumPad0()

Numeric keypad '0' key.

getNumPad1

public static final @NonNull Key getNumPad1()

Numeric keypad '1' key.

getNumPad2

public static final @NonNull Key getNumPad2()

Numeric keypad '2' key.

getNumPad3

public static final @NonNull Key getNumPad3()

Numeric keypad '3' key.

getNumPad4

public static final @NonNull Key getNumPad4()

Numeric keypad '4' key.

getNumPad5

public static final @NonNull Key getNumPad5()

Numeric keypad '5' key.

getNumPad6

public static final @NonNull Key getNumPad6()

Numeric keypad '6' key.

getNumPad7

public static final @NonNull Key getNumPad7()

Numeric keypad '7' key.

getNumPad8

public static final @NonNull Key getNumPad8()

Numeric keypad '8' key.

getNumPad9

public static final @NonNull Key getNumPad9()

Numeric keypad '9' key.

getNumPadAdd

public static final @NonNull Key getNumPadAdd()

Numeric keypad '+' key (for addition).

getNumPadComma

public static final @NonNull Key getNumPadComma()

Numeric keypad ',' key (for decimals or digit grouping).

getNumPadDivide

public static final @NonNull Key getNumPadDivide()

Numeric keypad '/' key (for division).

getNumPadDot

public static final @NonNull Key getNumPadDot()

Numeric keypad '.' key (for decimals or digit grouping).

getNumPadEnter

public static final @NonNull Key getNumPadEnter()

Numeric keypad Enter key.

getNumPadEquals

public static final @NonNull Key getNumPadEquals()

Numeric keypad '=' key.

getNumPadLeftParenthesis

public static final @NonNull Key getNumPadLeftParenthesis()

Numeric keypad '(' key.

getNumPadMultiply

public static final @NonNull Key getNumPadMultiply()

Numeric keypad '*' key (for multiplication).

getNumPadRightParenthesis

public static final @NonNull Key getNumPadRightParenthesis()

Numeric keypad ')' key.

getNumPadSubtract

public static final @NonNull Key getNumPadSubtract()

Numeric keypad '-' key (for subtraction).

getNumber

public static final @NonNull Key getNumber()

Number modifier key.

Used to enter numeric symbols. This key is not Num Lock; it is more like AltLeft.

getO

public static final @NonNull Key getO()

'O' key.

getOne

public static final @NonNull Key getOne()

'1' key.

getP

public static final @NonNull Key getP()

'P' key.

getPageDown

public static final @NonNull Key getPageDown()

Page Down key.

getPageUp

public static final @NonNull Key getPageUp()

Page Up key.

getPairing

public static final @NonNull Key getPairing()

Pairing key.

Initiates peripheral pairing mode. Useful for pairing remote control devices or game controllers, especially if no other input mode is available.

getPaste

public static final @NonNull Key getPaste()

Paste key.

getPeriod

public static final @NonNull Key getPeriod()

'.' key.

getPictureSymbols

public static final @NonNull Key getPictureSymbols()

Picture Symbols modifier key.

Used to switch symbol sets (Emoji, Kao-moji).

getPlus

public static final @NonNull Key getPlus()

'+' key.

getPound

public static final @NonNull Key getPound()

'#' key.

getPower

public static final @NonNull Key getPower()

Power key.

getPrintScreen

public static final @NonNull Key getPrintScreen()

System Request / Print Screen key.

getProfileSwitch

public static final @NonNull Key getProfileSwitch()

Used to switch current android.accounts.Account that is consuming content. May be consumed by system to set account globally.

getProgramBlue

public static final @NonNull Key getProgramBlue()

Blue "programmable" key.

On TV remotes, acts as a contextual/programmable key.

getProgramGreen

public static final @NonNull Key getProgramGreen()

Green "programmable" key.

On TV remotes, acts as a contextual/programmable key.

getProgramRed

public static final @NonNull Key getProgramRed()

Red "programmable" key.

On TV remotes, acts as a contextual/programmable key.

getProgramYellow

public static final @NonNull Key getProgramYellow()

Yellow "programmable" key.

On TV remotes, acts as a contextual/programmable key.

getQ

public static final @NonNull Key getQ()

'Q' key.

getR

public static final @NonNull Key getR()

'R' key.

getRefresh

public static final @NonNull Key getRefresh()

Refresh key.

getRightBracket

public static final @NonNull Key getRightBracket()

']' key.

getRo

public static final @NonNull Key getRo()

Japanese Ro key.

getS

public static final @NonNull Key getS()

'S' key.

getScrollLock

public static final @NonNull Key getScrollLock()

Scroll Lock key.

getSearch

public static final @NonNull Key getSearch()

Search key.

getSemicolon

public static final @NonNull Key getSemicolon()

';' key.

getSetTopBoxInput

public static final @NonNull Key getSetTopBoxInput()

Set-top-box input key.

On TV remotes, switches the input mode on an external Set-top-box.

getSetTopBoxPower

public static final @NonNull Key getSetTopBoxPower()

Set-top-box power key.

On TV remotes, toggles the power on an external Set-top-box.

getSettings

public static final @NonNull Key getSettings()

Settings key.

Starts the system settings activity.

getSeven

public static final @NonNull Key getSeven()

'7' key.

getShiftLeft

public static final @NonNull Key getShiftLeft()

Left Shift modifier key.

getShiftRight

public static final @NonNull Key getShiftRight()

Right Shift modifier key.

getSix

public static final @NonNull Key getSix()

'6' key.

getSlash

public static final @NonNull Key getSlash()

'/' key.

getSleep

public static final @NonNull Key getSleep()

Sleep key.

Puts the device to sleep. Behaves somewhat like Power but it has no effect if the device is already asleep.

getSoftLeft

public static final @NonNull Key getSoftLeft()

Soft Left key.

Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom left of the display.

getSoftRight

public static final @NonNull Key getSoftRight()

Soft Right key.

Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom right of the display.

getSoftSleep

public static final @NonNull Key getSoftSleep()

Put device to sleep unless a wakelock is held.

getSpacebar

public static final @NonNull Key getSpacebar()

Space key.

getStem1

public static final @NonNull Key getStem1()

Generic stem key 1 for Wearables.

getStem2

public static final @NonNull Key getStem2()

Generic stem key 2 for Wearables.

getStem3

public static final @NonNull Key getStem3()

Generic stem key 3 for Wearables.

getStemPrimary

public static final @NonNull Key getStemPrimary()

Primary stem key for Wearables.

Main power/reset button.

getSwitchCharset

public static final @NonNull Key getSwitchCharset()

Switch Charset modifier key.

Used to switch character sets (Kanji, Katakana).

getSymbol

public static final @NonNull Key getSymbol()

Symbol modifier key.

Used to enter alternate symbols.

getSystemNavigationDown

public static final @NonNull Key getSystemNavigationDown()

Consumed by the system for navigation down.

getSystemNavigationLeft

public static final @NonNull Key getSystemNavigationLeft()

Consumed by the system for navigation left.

getSystemNavigationRight

public static final @NonNull Key getSystemNavigationRight()

Consumed by the system for navigation right.

getSystemNavigationUp

public static final @NonNull Key getSystemNavigationUp()

Consumed by the system for navigation up.

getT

public static final @NonNull Key getT()

'T' key.

getTab

public static final @NonNull Key getTab()

Tab key.

getThree

public static final @NonNull Key getThree()

'3' key.

getThumbsDown

public static final @NonNull Key getThumbsDown()

Thumbs down key. Apps can use this to let user down-vote content.

getThumbsUp

public static final @NonNull Key getThumbsUp()

Thumbs up key. Apps can use this to let user up-vote content.

getToggle2D3D

public static final @NonNull Key getToggle2D3D()

3D Mode key.

Toggles the display between 2D and 3D mode.

getTv

public static final @NonNull Key getTv()

TV key.

On TV remotes, switches to viewing live TV.

getTvAntennaCable

public static final @NonNull Key getTvAntennaCable()

Antenna/Cable key.

Toggles broadcast input source between antenna and cable.

getTvAudioDescription

public static final @NonNull Key getTvAudioDescription()

Audio description key.

Toggles audio description off / on.

getTvAudioDescriptionMixingVolumeDown

public static final @NonNull Key getTvAudioDescriptionMixingVolumeDown()

Audio description mixing volume down key.

Lessen audio description volume as compared with normal audio volume.

getTvAudioDescriptionMixingVolumeUp

public static final @NonNull Key getTvAudioDescriptionMixingVolumeUp()

Audio description mixing volume up key.

Increase the audio description volume as compared with normal audio volume.

getTvContentsMenu

public static final @NonNull Key getTvContentsMenu()

Contents menu key.

Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control Code

getTvDataService

public static final @NonNull Key getTvDataService()

TV data service key.

Displays data services like weather, sports.

getTvInput

public static final @NonNull Key getTvInput()

TV input key.

On TV remotes, switches the input on a television screen.

getTvInputComponent1

public static final @NonNull Key getTvInputComponent1()

Component #1 key.

Switches to component video input #1.

getTvInputComponent2

public static final @NonNull Key getTvInputComponent2()

Component #2 key.

Switches to component video input #2.

getTvInputComposite1

public static final @NonNull Key getTvInputComposite1()

Composite #1 key.

Switches to composite video input #1.

getTvInputComposite2

public static final @NonNull Key getTvInputComposite2()

Composite #2 key.

Switches to composite video input #2.

getTvInputHdmi1

public static final @NonNull Key getTvInputHdmi1()

HDMI #1 key.

Switches to HDMI input #1.

getTvInputHdmi2

public static final @NonNull Key getTvInputHdmi2()

HDMI #2 key.

Switches to HDMI input #2.

getTvInputHdmi3

public static final @NonNull Key getTvInputHdmi3()

HDMI #3 key.

Switches to HDMI input #3.

getTvInputHdmi4

public static final @NonNull Key getTvInputHdmi4()

HDMI #4 key.

Switches to HDMI input #4.

getTvInputVga1

public static final @NonNull Key getTvInputVga1()

VGA #1 key.

Switches to VGA (analog RGB) input #1.

getTvMediaContextMenu

public static final @NonNull Key getTvMediaContextMenu()

Media context menu key.

Goes to the context menu of media contents. Corresponds to Media Context-sensitive Menu (0x11) of CEC User Control Code.

getTvNetwork

public static final @NonNull Key getTvNetwork()

Toggle Network key.

Toggles selecting broadcast services.

getTvNumberEntry

public static final @NonNull Key getTvNumberEntry()

Number entry key.

Initiates to enter multi-digit channel number when each digit key is assigned for selecting separate channel. Corresponds to Number Entry Mode (0x1D) of CEC User Control Code.

getTvPower

public static final @NonNull Key getTvPower()

TV power key.

On TV remotes, toggles the power on a television screen.

getTvRadioService

public static final @NonNull Key getTvRadioService()

Radio key.

Toggles TV service / Radio service.

getTvSatellite

public static final @NonNull Key getTvSatellite()

Satellite key.

Switches to digital satellite broadcast service.

getTvSatelliteBs

public static final @NonNull Key getTvSatelliteBs()

BS key.

Switches to BS digital satellite broadcasting service available in Japan.

getTvSatelliteCs

public static final @NonNull Key getTvSatelliteCs()

CS key.

Switches to CS digital satellite broadcasting service available in Japan.

getTvSatelliteService

public static final @NonNull Key getTvSatelliteService()

BS/CS key.

Toggles between BS and CS digital satellite services.

getTvTeletext

public static final @NonNull Key getTvTeletext()

Teletext key.

Displays Teletext service.

getTvTerrestrialAnalog

public static final @NonNull Key getTvTerrestrialAnalog()

Analog Terrestrial key.

Switches to analog terrestrial broadcast service.

getTvTerrestrialDigital

public static final @NonNull Key getTvTerrestrialDigital()

Digital Terrestrial key.

Switches to digital terrestrial broadcast service.

getTvTimerProgramming

public static final @NonNull Key getTvTimerProgramming()

Timer programming key.

Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of CEC User Control Code.

getTvZoomMode

public static final @NonNull Key getTvZoomMode()

Zoom mode key.

Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.)

getTwo

public static final @NonNull Key getTwo()

'2' key.

getU

public static final @NonNull Key getU()

'U' key.

getUnknown

public static final @NonNull Key getUnknown()

Unknown key.

getV

public static final @NonNull Key getV()

'V' key.

getVoiceAssist

public static final @NonNull Key getVoiceAssist()

Voice Assist key.

Launches the global voice assist activity. Not delivered to applications.

getVolumeDown

public static final @NonNull Key getVolumeDown()

Volume Down key.

Adjusts the speaker volume down.

getVolumeMute

public static final @NonNull Key getVolumeMute()

Volume Mute key.

Mutes the speaker, unlike MicrophoneMute.

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.

getVolumeUp

public static final @NonNull Key getVolumeUp()

Volume Up key.

Adjusts the speaker volume up.

getW

public static final @NonNull Key getW()

'W' key.

getWakeUp

public static final @NonNull Key getWakeUp()

Wakeup key.

Wakes up the device. Behaves somewhat like Power but it has no effect if the device is already awake.

getWindow

public static final @NonNull Key getWindow()

Window key.

On TV remotes, toggles picture-in-picture mode or other windowing functions. On Android Wear devices, triggers a display offset.

getX

public static final @NonNull Key getX()

'X' key.

getY

public static final @NonNull Key getY()

'Y' key.

getYen

public static final @NonNull Key getYen()

Japanese Yen key.

getZ

public static final @NonNull Key getZ()

'Z' key.

getZenkakuHankaru

public static final @NonNull Key getZenkakuHankaru()

Japanese full-width / half-width key.

getZero

public static final @NonNull Key getZero()

'0' key.

getZoomIn

public static final @NonNull Key getZoomIn()

Zoom in key.

getZoomOut

public static final @NonNull Key getZoomOut()

Zoom out key.