public actual class Key(public val keyCode: Long)
Actual implementation of Key for Android.
Parameters
| keyCode | an integer code representing the key pressed. |
Members
Companion
public actual companion object
Properties
Unknown
public val Unknown: Key
Unknown key.
SoftLeft
public val SoftLeft: Key
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.
SoftRight
public val SoftRight: Key
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.
Home
@Deprecated(
"`Key.Home` is never delivered to applications. For the keyboard \"Home\" key " +
"use `Key.MoveHome`. For the system \"Home\" key (unlikely to be needed), use " +
"`Key.SystemHome`",
level = DeprecationLevel.ERROR,
)
public val Home: Key
System Home key.
This key is handled by the framework and is never delivered to applications.
SystemHome
public val SystemHome: Key
System Home key.
This key is handled by the framework and is never delivered to applications.
Back
public val Back: Key
Back key.
Help
public val Help: Key
Help key.
NavigatePrevious
public val NavigatePrevious: Key
Navigate to previous key.
Goes backward by one item in an ordered collection of items.
NavigateNext
public val NavigateNext: Key
Navigate to next key.
Advances to the next item in an ordered collection of items.
NavigateIn
public val NavigateIn: Key
Navigate in key.
Activates the item that currently has focus or expands to the next level of a navigation hierarchy.
NavigateOut
public val NavigateOut: Key
Navigate out key.
Backs out one level of a navigation hierarchy or collapses the item that currently has focus.
SystemNavigationUp
public val SystemNavigationUp: Key
Consumed by the system for navigation up.
SystemNavigationDown
public val SystemNavigationDown: Key
Consumed by the system for navigation down.
SystemNavigationLeft
public val SystemNavigationLeft: Key
Consumed by the system for navigation left.
SystemNavigationRight
public val SystemNavigationRight: Key
Consumed by the system for navigation right.
Call
public val Call: Key
Call key.
EndCall
public val EndCall: Key
End Call key.
DirectionUp
public val DirectionUp: Key
Up Arrow Key / Directional Pad Up key.
May also be synthesized from trackball motions.
DirectionDown
public val DirectionDown: Key
Down Arrow Key / Directional Pad Down key.
May also be synthesized from trackball motions.
DirectionLeft
public val DirectionLeft: Key
Left Arrow Key / Directional Pad Left key.
May also be synthesized from trackball motions.
DirectionRight
public val DirectionRight: Key
Right Arrow Key / Directional Pad Right key.
May also be synthesized from trackball motions.
DirectionCenter
public val DirectionCenter: Key
Center Arrow Key / Directional Pad Center key.
May also be synthesized from trackball motions.
DirectionUpLeft
public val DirectionUpLeft: Key
Directional Pad Up-Left.
DirectionDownLeft
public val DirectionDownLeft: Key
Directional Pad Down-Left.
DirectionUpRight
public val DirectionUpRight: Key
Directional Pad Up-Right.
DirectionDownRight
public val DirectionDownRight: Key
Directional Pad Down-Right.
VolumeUp
public val VolumeUp: Key
Volume Up key.
Adjusts the speaker volume up.
VolumeDown
public val VolumeDown: Key
Volume Down key.
Adjusts the speaker volume down.
Power
public val Power: Key
Power key.
Camera
public val Camera: Key
Camera key.
Used to launch a camera application or take pictures.
Clear
public val Clear: Key
Clear key.
Zero
public val Zero: Key
'0' key.
One
public val One: Key
'1' key.
Two
public val Two: Key
'2' key.
Three
public val Three: Key
'3' key.
Four
public val Four: Key
'4' key.
Five
public val Five: Key
'5' key.
Six
public val Six: Key
'6' key.
Seven
public val Seven: Key
'7' key.
Eight
public val Eight: Key
'8' key.
Nine
public val Nine: Key
'9' key.
Plus
public val Plus: Key
'+' key.
Minus
public val Minus: Key
'-' key.
Multiply
public val Multiply: Key
'*' key.
Equals
public val Equals: Key
'=' key.
Pound
public val Pound: Key
'#' key.
A
public val A: Key
'A' key.
B
public val B: Key
'B' key.
C
public val C: Key
'C' key.
D
public val D: Key
'D' key.
E
public val E: Key
'E' key.
F
public val F: Key
'F' key.
G
public val G: Key
'G' key.
H
public val H: Key
'H' key.
I
public val I: Key
'I' key.
J
public val J: Key
'J' key.
K
public val K: Key
'K' key.
L
public val L: Key
'L' key.
M
public val M: Key
'M' key.
N
public val N: Key
'N' key.
O
public val O: Key
'O' key.
P
public val P: Key
'P' key.
Q
public val Q: Key
'Q' key.
R
public val R: Key
'R' key.
S
public val S: Key
'S' key.
T
public val T: Key
'T' key.
U
public val U: Key
'U' key.
V
public val V: Key
'V' key.
W
public val W: Key
'W' key.
X
public val X: Key
'X' key.
Y
public val Y: Key
'Y' key.
Z
public val Z: Key
'Z' key.
Comma
public val Comma: Key
',' key.
Period
public val Period: Key
'.' key.
AltLeft
public val AltLeft: Key
Left Alt modifier key.
AltRight
public val AltRight: Key
Right Alt modifier key.
ShiftLeft
public val ShiftLeft: Key
Left Shift modifier key.
ShiftRight
public val ShiftRight: Key
Right Shift modifier key.
Tab
public val Tab: Key
Tab key.
Spacebar
public val Spacebar: Key
Space key.
Symbol
public val Symbol: Key
Symbol modifier key.
Used to enter alternate symbols.
Browser
public val Browser: Key
Browser special function key.
Used to launch a browser application.
Envelope
public val Envelope: Key
Envelope special function key.
Used to launch a mail application.
Enter
public val Enter: Key
Enter key.
Backspace
public val Backspace: Key
Backspace key.
Deletes characters before the insertion point, unlike Delete.
Delete
public val Delete: Key
Delete key.
Deletes characters ahead of the insertion point, unlike Backspace.
Escape
public val Escape: Key
Escape key.
CtrlLeft
public val CtrlLeft: Key
Left Control modifier key.
CtrlRight
public val CtrlRight: Key
Right Control modifier key.
CapsLock
public val CapsLock: Key
Caps Lock key.
ScrollLock
public val ScrollLock: Key
Scroll Lock key.
MetaLeft
public val MetaLeft: Key
Left Meta modifier key.
MetaRight
public val MetaRight: Key
Right Meta modifier key.
Function
public val Function: Key
Function modifier key.
PrintScreen
public val PrintScreen: Key
System Request / Print Screen key.
Break
public val Break: Key
Break / Pause key.
MoveHome
public val MoveHome: Key
Home Movement key.
Used for scrolling or moving the cursor around to the start of a line or to the top of a list.
MoveEnd
public val MoveEnd: Key
End Movement key.
Used for scrolling or moving the cursor around to the end of a line or to the bottom of a list.
Insert
public val Insert: Key
Insert key.
Toggles insert / overwrite edit mode.
Cut
public val Cut: Key
Cut key.
Copy
public val Copy: Key
Copy key.
Paste
public val Paste: Key
Paste key.
Grave
public val Grave: Key
'`' (backtick) key.
LeftBracket
public val LeftBracket: Key
'[' key.
RightBracket
public val RightBracket: Key
']' key.
Slash
public val Slash: Key
'/' key.
Backslash
public val Backslash: Key
'\' key.
Semicolon
public val Semicolon: Key
';' key.
Apostrophe
public val Apostrophe: Key
''' (apostrophe) key.
At
public val At: Key
'@' key.
Number
public val Number: Key
Number modifier key.
Used to enter numeric symbols. This key is not Num Lock; it is more like AltLeft.
HeadsetHook
public val HeadsetHook: Key
Headset Hook key.
Used to hang up calls and stop media.
Focus
public val Focus: Key
Camera Focus key.
Used to focus the camera.
Menu
public val Menu: Key
Menu key.
Notification
public val Notification: Key
Notification key.
Search
public val Search: Key
Search key.
PageUp
public val PageUp: Key
Page Up key.
PageDown
public val PageDown: Key
Page Down key.
PictureSymbols
public val PictureSymbols: Key
Picture Symbols modifier key.
Used to switch symbol sets (Emoji, Kao-moji).
SwitchCharset
public val SwitchCharset: Key
Switch Charset modifier key.
Used to switch character sets (Kanji, Katakana).
ButtonA
public val ButtonA: Key
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.
ButtonB
public val ButtonB: Key
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.
ButtonC
public val ButtonC: Key
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.
ButtonX
public val ButtonX: Key
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.
ButtonY
public val ButtonY: Key
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.
ButtonZ
public val ButtonZ: Key
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.
ButtonL1
public val ButtonL1: Key
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.
ButtonR1
public val ButtonR1: Key
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.
ButtonL2
public val ButtonL2: Key
L2 Button key.
On a game controller, the L2 button should be either the button labeled L2 or the bottom left trigger button.
ButtonR2
public val ButtonR2: Key
R2 Button key.
On a game controller, the R2 button should be either the button labeled R2 or the bottom right trigger button.
ButtonThumbLeft
public val ButtonThumbLeft: Key
Left Thumb Button key.
On a game controller, the left thumb button indicates that the left (or only) joystick is pressed.
ButtonThumbRight
public val ButtonThumbRight: Key
Right Thumb Button key.
On a game controller, the right thumb button indicates that the right joystick is pressed.
ButtonStart
public val ButtonStart: Key
Start Button key.
On a game controller, the button labeled Start.
ButtonSelect
public val ButtonSelect: Key
Select Button key.
On a game controller, the button labeled Select.
ButtonMode
public val ButtonMode: Key
Mode Button key.
On a game controller, the button labeled Mode.
Button1
public val Button1: Key
Generic Game Pad Button #1.
Button2
public val Button2: Key
Generic Game Pad Button #2.
Button3
public val Button3: Key
Generic Game Pad Button #3.
Button4
public val Button4: Key
Generic Game Pad Button #4.
Button5
public val Button5: Key
Generic Game Pad Button #5.
Button6
public val Button6: Key
Generic Game Pad Button #6.
Button7
public val Button7: Key
Generic Game Pad Button #7.
Button8
public val Button8: Key
Generic Game Pad Button #8.
Button9
public val Button9: Key
Generic Game Pad Button #9.
Button10
public val Button10: Key
Generic Game Pad Button #10.
Button11
public val Button11: Key
Generic Game Pad Button #11.
Button12
public val Button12: Key
Generic Game Pad Button #12.
Button13
public val Button13: Key
Generic Game Pad Button #13.
Button14
public val Button14: Key
Generic Game Pad Button #14.
Button15
public val Button15: Key
Generic Game Pad Button #15.
Button16
public val Button16: Key
Generic Game Pad Button #16.
Forward
public val Forward: Key
Forward key.
Navigates forward in the history stack. Complement of Back.
F1
public val F1: Key
F1 key.
F2
public val F2: Key
F2 key.
F3
public val F3: Key
F3 key.
F4
public val F4: Key
F4 key.
F5
public val F5: Key
F5 key.
F6
public val F6: Key
F6 key.
F7
public val F7: Key
F7 key.
F8
public val F8: Key
F8 key.
F9
public val F9: Key
F9 key.
F10
public val F10: Key
F10 key.
F11
public val F11: Key
F11 key.
F12
public val F12: Key
F12 key.
NumLock
public val NumLock: Key
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.
NumPad0
public val NumPad0: Key
Numeric keypad '0' key.
NumPad1
public val NumPad1: Key
Numeric keypad '1' key.
NumPad2
public val NumPad2: Key
Numeric keypad '2' key.
NumPad3
public val NumPad3: Key
Numeric keypad '3' key.
NumPad4
public val NumPad4: Key
Numeric keypad '4' key.
NumPad5
public val NumPad5: Key
Numeric keypad '5' key.
NumPad6
public val NumPad6: Key
Numeric keypad '6' key.
NumPad7
public val NumPad7: Key
Numeric keypad '7' key.
NumPad8
public val NumPad8: Key
Numeric keypad '8' key.
NumPad9
public val NumPad9: Key
Numeric keypad '9' key.
NumPadDivide
public val NumPadDivide: Key
Numeric keypad '/' key (for division).
NumPadMultiply
public val NumPadMultiply: Key
Numeric keypad '*' key (for multiplication).
NumPadSubtract
public val NumPadSubtract: Key
Numeric keypad '-' key (for subtraction).
NumPadAdd
public val NumPadAdd: Key
Numeric keypad '+' key (for addition).
NumPadDot
public val NumPadDot: Key
Numeric keypad '.' key (for decimals or digit grouping).
NumPadComma
public val NumPadComma: Key
Numeric keypad ',' key (for decimals or digit grouping).
NumPadEnter
public val NumPadEnter: Key
Numeric keypad Enter key.
NumPadEquals
public val NumPadEquals: Key
Numeric keypad '=' key.
NumPadLeftParenthesis
public val NumPadLeftParenthesis: Key
Numeric keypad '(' key.
NumPadRightParenthesis
public val NumPadRightParenthesis: Key
Numeric keypad ')' key.
MediaPlay
public val MediaPlay: Key
Play media key.
MediaPause
public val MediaPause: Key
Pause media key.
MediaPlayPause
public val MediaPlayPause: Key
Play/Pause media key.
MediaStop
public val MediaStop: Key
Stop media key.
MediaRecord
public val MediaRecord: Key
Record media key.
MediaNext
public val MediaNext: Key
Play Next media key.
MediaPrevious
public val MediaPrevious: Key
Play Previous media key.
MediaRewind
public val MediaRewind: Key
Rewind media key.
MediaFastForward
public val MediaFastForward: Key
Fast Forward media key.
MediaClose
public val MediaClose: Key
Close media key.
May be used to close a CD tray, for example.
MediaAudioTrack
public val MediaAudioTrack: Key
Audio Track key.
Switches the audio tracks.
MediaEject
public val MediaEject: Key
Eject media key.
May be used to eject a CD tray, for example.
MediaTopMenu
public val MediaTopMenu: Key
Media Top Menu key.
Goes to the top of media menu.
MediaSkipForward
public val MediaSkipForward: Key
Skip forward media key.
MediaSkipBackward
public val MediaSkipBackward: Key
Skip backward media key.
MediaStepForward
public val MediaStepForward: Key
Step forward media key.
Steps media forward, one frame at a time.
MediaStepBackward
public val MediaStepBackward: Key
Step backward media key.
Steps media backward, one frame at a time.
MicrophoneMute
public val MicrophoneMute: Key
Mute key.
Mutes the microphone, unlike VolumeMute.
VolumeMute
public val VolumeMute: Key
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.
Info
public val Info: Key
Info key.
Common on TV remotes to show additional information related to what is currently being viewed.
ChannelUp
public val ChannelUp: Key
Channel up key.
On TV remotes, increments the television channel.
ChannelDown
public val ChannelDown: Key
Channel down key.
On TV remotes, decrements the television channel.
ZoomIn
public val ZoomIn: Key
Zoom in key.
ZoomOut
public val ZoomOut: Key
Zoom out key.
Tv
public val Tv: Key
TV key.
On TV remotes, switches to viewing live TV.
Window
public val Window: Key
Window key.
On TV remotes, toggles picture-in-picture mode or other windowing functions. On Android Wear devices, triggers a display offset.
Guide
public val Guide: Key
Guide key.
On TV remotes, shows a programming guide.
Dvr
public val Dvr: Key
DVR key.
On some TV remotes, switches to a DVR mode for recorded shows.
Bookmark
public val Bookmark: Key
Bookmark key.
On some TV remotes, bookmarks content or web pages.
Captions
public val Captions: Key
Toggle captions key.
Switches the mode for closed-captioning text, for example during television shows.
Settings
public val Settings: Key
Settings key.
Starts the system settings activity.
TvPower
public val TvPower: Key
TV power key.
On TV remotes, toggles the power on a television screen.
TvInput
public val TvInput: Key
TV input key.
On TV remotes, switches the input on a television screen.
SetTopBoxPower
public val SetTopBoxPower: Key
Set-top-box power key.
On TV remotes, toggles the power on an external Set-top-box.
SetTopBoxInput
public val SetTopBoxInput: Key
Set-top-box input key.
On TV remotes, switches the input mode on an external Set-top-box.
AvReceiverPower
public val AvReceiverPower: Key
A/V Receiver power key.
On TV remotes, toggles the power on an external A/V Receiver.
AvReceiverInput
public val AvReceiverInput: Key
A/V Receiver input key.
On TV remotes, switches the input mode on an external A/V Receiver.
ProgramRed
public val ProgramRed: Key
Red "programmable" key.
On TV remotes, acts as a contextual/programmable key.
ProgramGreen
public val ProgramGreen: Key
Green "programmable" key.
On TV remotes, acts as a contextual/programmable key.
ProgramYellow
public val ProgramYellow: Key
Yellow "programmable" key.
On TV remotes, acts as a contextual/programmable key.
ProgramBlue
public val ProgramBlue: Key
Blue "programmable" key.
On TV remotes, acts as a contextual/programmable key.
AppSwitch
public val AppSwitch: Key
App switch key.
Should bring up the application switcher dialog.
LanguageSwitch
public val LanguageSwitch: Key
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.
MannerMode
public val MannerMode: Key
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.
Toggle2D3D
public val Toggle2D3D: Key
3D Mode key.
Toggles the display between 2D and 3D mode.
Contacts
public val Contacts: Key
Contacts special function key.
Used to launch an address book application.
Calendar
public val Calendar: Key
Calendar special function key.
Used to launch a calendar application.
Music
public val Music: Key
Music special function key.
Used to launch a music player application.
Calculator
public val Calculator: Key
Calculator special function key.
Used to launch a calculator application.
ZenkakuHankaru
public val ZenkakuHankaru: Key
Japanese full-width / half-width key.
Eisu
public val Eisu: Key
Japanese alphanumeric key.
Muhenkan
public val Muhenkan: Key
Japanese non-conversion key.
Henkan
public val Henkan: Key
Japanese conversion key.
KatakanaHiragana
public val KatakanaHiragana: Key
Japanese katakana / hiragana key.
Yen
public val Yen: Key
Japanese Yen key.
Ro
public val Ro: Key
Japanese Ro key.
Kana
public val Kana: Key
Japanese kana key.
Assist
public val Assist: Key
Assist key.
Launches the global assist activity. Not delivered to applications.
BrightnessDown
public val BrightnessDown: Key
Brightness Down key.
Adjusts the screen brightness down.
BrightnessUp
public val BrightnessUp: Key
Brightness Up key.
Adjusts the screen brightness up.
Sleep
public val Sleep: Key
Sleep key.
Puts the device to sleep. Behaves somewhat like Power but it has no effect if the device is already asleep.
WakeUp
public val WakeUp: Key
Wakeup key.
Wakes up the device. Behaves somewhat like Power but it has no effect if the device is already awake.
SoftSleep
public val SoftSleep: Key
Put device to sleep unless a wakelock is held.
Pairing
public val Pairing: Key
Pairing key.
Initiates peripheral pairing mode. Useful for pairing remote control devices or game controllers, especially if no other input mode is available.
LastChannel
public val LastChannel: Key
Last Channel key.
Goes to the last viewed channel.
TvDataService
public val TvDataService: Key
TV data service key.
Displays data services like weather, sports.
VoiceAssist
public val VoiceAssist: Key
Voice Assist key.
Launches the global voice assist activity. Not delivered to applications.
TvRadioService
public val TvRadioService: Key
Radio key.
Toggles TV service / Radio service.
TvTeletext
public val TvTeletext: Key
Teletext key.
Displays Teletext service.
TvNumberEntry
public val TvNumberEntry: Key
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.
TvTerrestrialAnalog
public val TvTerrestrialAnalog: Key
Analog Terrestrial key.
Switches to analog terrestrial broadcast service.
TvTerrestrialDigital
public val TvTerrestrialDigital: Key
Digital Terrestrial key.
Switches to digital terrestrial broadcast service.
TvSatellite
public val TvSatellite: Key
Satellite key.
Switches to digital satellite broadcast service.
TvSatelliteBs
public val TvSatelliteBs: Key
BS key.
Switches to BS digital satellite broadcasting service available in Japan.
TvSatelliteCs
public val TvSatelliteCs: Key
CS key.
Switches to CS digital satellite broadcasting service available in Japan.
TvSatelliteService
public val TvSatelliteService: Key
BS/CS key.
Toggles between BS and CS digital satellite services.
TvNetwork
public val TvNetwork: Key
Toggle Network key.
Toggles selecting broadcast services.
TvAntennaCable
public val TvAntennaCable: Key
Antenna/Cable key.
Toggles broadcast input source between antenna and cable.
TvInputHdmi1
public val TvInputHdmi1: Key
HDMI #1 key.
Switches to HDMI input #1.
TvInputHdmi2
public val TvInputHdmi2: Key
HDMI #2 key.
Switches to HDMI input #2.
TvInputHdmi3
public val TvInputHdmi3: Key
HDMI #3 key.
Switches to HDMI input #3.
TvInputHdmi4
public val TvInputHdmi4: Key
HDMI #4 key.
Switches to HDMI input #4.
TvInputComposite1
public val TvInputComposite1: Key
Composite #1 key.
Switches to composite video input #1.
TvInputComposite2
public val TvInputComposite2: Key
Composite #2 key.
Switches to composite video input #2.
TvInputComponent1
public val TvInputComponent1: Key
Component #1 key.
Switches to component video input #1.
TvInputComponent2
public val TvInputComponent2: Key
Component #2 key.
Switches to component video input #2.
TvInputVga1
public val TvInputVga1: Key
VGA #1 key.
Switches to VGA (analog RGB) input #1.
TvAudioDescription
public val TvAudioDescription: Key
Audio description key.
Toggles audio description off / on.
TvAudioDescriptionMixingVolumeUp
public val TvAudioDescriptionMixingVolumeUp: Key
Audio description mixing volume up key.
Increase the audio description volume as compared with normal audio volume.
TvAudioDescriptionMixingVolumeDown
public val TvAudioDescriptionMixingVolumeDown: Key
Audio description mixing volume down key.
Lessen audio description volume as compared with normal audio volume.
TvZoomMode
public val TvZoomMode: Key
Zoom mode key.
Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.)
TvContentsMenu
public val TvContentsMenu: Key
Contents menu key.
Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control Code
TvMediaContextMenu
public val TvMediaContextMenu: Key
Media context menu key.
Goes to the context menu of media contents. Corresponds to Media Context-sensitive Menu (0x11) of CEC User Control Code.
TvTimerProgramming
public val TvTimerProgramming: Key
Timer programming key.
Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of CEC User Control Code.
StemPrimary
public val StemPrimary: Key
Primary stem key for Wearables.
Main power/reset button.
Stem1
public val Stem1: Key
Generic stem key 1 for Wearables.
Stem2
public val Stem2: Key
Generic stem key 2 for Wearables.
Stem3
public val Stem3: Key
Generic stem key 3 for Wearables.
AllApps
public val AllApps: Key
Show all apps.
Refresh
public val Refresh: Key
Refresh key.
ThumbsUp
public val ThumbsUp: Key
Thumbs up key. Apps can use this to let user up-vote content.
ThumbsDown
public val ThumbsDown: Key
Thumbs down key. Apps can use this to let user down-vote content.
ProfileSwitch
public val ProfileSwitch: Key
Used to switch current account that is consuming content. May be consumed by system to set account globally.
NumPadDirectionUp
public val NumPadDirectionUp: Key
Numeric keypad Up Arrow Key. Unsupported on Android.
NumPadDirectionDown
public val NumPadDirectionDown: Key
Numeric keypad Down Arrow Key. Unsupported on Android.
NumPadDirectionLeft
public val NumPadDirectionLeft: Key
Numeric keypad Left Arrow Key. Unsupported on Android.
NumPadDirectionRight
public val NumPadDirectionRight: Key
Numeric keypad Right Arrow Key. Unsupported on Android.
NumPadMoveHome
public val NumPadMoveHome: Key
Numeric keypad Home Key. Unsupported on Android.
NumPadMoveEnd
public val NumPadMoveEnd: Key
Numeric keypad End Key. Unsupported on Android.
NumPadPageUp
public val NumPadPageUp: Key
Numeric keypad Page Up Key. Unsupported on Android.
NumPadPageDown
public val NumPadPageDown: Key
Numeric keypad Page Down Key. Unsupported on Android.
NumPadInsert
public val NumPadInsert: Key
Numeric keypad Insert Key. Unsupported on Android.
NumPadDelete
public val NumPadDelete: Key
Numeric keypad Delete key. Unsupported on Android.
public expect class Key(public val keyCode: Long)
Represents keys on a keyboard.
Parameters
| keyCode | a Long value representing the key pressed. Note: This keycode can be used to uniquely identify a hardware key. It is different from the native keycode. |
Members
Companion
public companion object
Properties
Unknown
public val Unknown: Key
Unknown key.
SoftLeft
public val SoftLeft: Key
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.
SoftRight
public val SoftRight: Key
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.
Home
@Deprecated(
"`Key.Home` is never delivered to applications. For the keyboard \"Home\" key " +
"use `Key.MoveHome`. For the system \"Home\" key (unlikely to be needed), use " +
"`Key.SystemHome`",
level = DeprecationLevel.ERROR,
)
public val Home: Key
System Home key.
This key is handled by the framework and is never delivered to applications.
SystemHome
public val SystemHome: Key
System Home key.
This key is handled by the framework and is never delivered to applications.
Back
public val Back: Key
Back key.
Help
public val Help: Key
Help key.
NavigatePrevious
public val NavigatePrevious: Key
Navigate to previous key.
Goes backward by one item in an ordered collection of items.
NavigateNext
public val NavigateNext: Key
Navigate to next key.
Advances to the next item in an ordered collection of items.
NavigateIn
public val NavigateIn: Key
Navigate in key.
Activates the item that currently has focus or expands to the next level of a navigation hierarchy.
NavigateOut
public val NavigateOut: Key
Navigate out key.
Backs out one level of a navigation hierarchy or collapses the item that currently has focus.
SystemNavigationUp
public val SystemNavigationUp: Key
Consumed by the system for navigation up.
SystemNavigationDown
public val SystemNavigationDown: Key
Consumed by the system for navigation down.
SystemNavigationLeft
public val SystemNavigationLeft: Key
Consumed by the system for navigation left.
SystemNavigationRight
public val SystemNavigationRight: Key
Consumed by the system for navigation right.
Call
public val Call: Key
Call key.
EndCall
public val EndCall: Key
End Call key.
DirectionUp
public val DirectionUp: Key
Up Arrow Key / Directional Pad Up key.
May also be synthesized from trackball motions.
DirectionDown
public val DirectionDown: Key
Down Arrow Key / Directional Pad Down key.
May also be synthesized from trackball motions.
DirectionLeft
public val DirectionLeft: Key
Left Arrow Key / Directional Pad Left key.
May also be synthesized from trackball motions.
DirectionRight
public val DirectionRight: Key
Right Arrow Key / Directional Pad Right key.
May also be synthesized from trackball motions.
DirectionCenter
public val DirectionCenter: Key
Center Arrow Key / Directional Pad Center key.
May also be synthesized from trackball motions.
DirectionUpLeft
public val DirectionUpLeft: Key
Directional Pad Up-Left.
DirectionDownLeft
public val DirectionDownLeft: Key
Directional Pad Down-Left.
DirectionUpRight
public val DirectionUpRight: Key
Directional Pad Up-Right.
DirectionDownRight
public val DirectionDownRight: Key
Directional Pad Down-Right.
VolumeUp
public val VolumeUp: Key
Volume Up key.
Adjusts the speaker volume up.
VolumeDown
public val VolumeDown: Key
Volume Down key.
Adjusts the speaker volume down.
Power
public val Power: Key
Power key.
Camera
public val Camera: Key
Camera key.
Used to launch a camera application or take pictures.
Clear
public val Clear: Key
Clear key.
Zero
public val Zero: Key
'0' key.
One
public val One: Key
'1' key.
Two
public val Two: Key
'2' key.
Three
public val Three: Key
'3' key.
Four
public val Four: Key
'4' key.
Five
public val Five: Key
'5' key.
Six
public val Six: Key
'6' key.
Seven
public val Seven: Key
'7' key.
Eight
public val Eight: Key
'8' key.
Nine
public val Nine: Key
'9' key.
Plus
public val Plus: Key
'+' key.
Minus
public val Minus: Key
'-' key.
Multiply
public val Multiply: Key
'*' key.
Equals
public val Equals: Key
'=' key.
Pound
public val Pound: Key
'#' key.
A
public val A: Key
'A' key.
B
public val B: Key
'B' key.
C
public val C: Key
'C' key.
D
public val D: Key
'D' key.
E
public val E: Key
'E' key.
F
public val F: Key
'F' key.
G
public val G: Key
'G' key.
H
public val H: Key
'H' key.
I
public val I: Key
'I' key.
J
public val J: Key
'J' key.
K
public val K: Key
'K' key.
L
public val L: Key
'L' key.
M
public val M: Key
'M' key.
N
public val N: Key
'N' key.
O
public val O: Key
'O' key.
P
public val P: Key
'P' key.
Q
public val Q: Key
'Q' key.
R
public val R: Key
'R' key.
S
public val S: Key
'S' key.
T
public val T: Key
'T' key.
U
public val U: Key
'U' key.
V
public val V: Key
'V' key.
W
public val W: Key
'W' key.
X
public val X: Key
'X' key.
Y
public val Y: Key
'Y' key.
Z
public val Z: Key
'Z' key.
Comma
public val Comma: Key
',' key.
Period
public val Period: Key
'.' key.
AltLeft
public val AltLeft: Key
Left Alt modifier key.
AltRight
public val AltRight: Key
Right Alt modifier key.
ShiftLeft
public val ShiftLeft: Key
Left Shift modifier key.
ShiftRight
public val ShiftRight: Key
Right Shift modifier key.
Tab
public val Tab: Key
Tab key.
Spacebar
public val Spacebar: Key
Space key.
Symbol
public val Symbol: Key
Symbol modifier key.
Used to enter alternate symbols.
Browser
public val Browser: Key
Browser special function key.
Used to launch a browser application.
Envelope
public val Envelope: Key
Envelope special function key.
Used to launch a mail application.
Enter
public val Enter: Key
Enter key.
Backspace
public val Backspace: Key
Backspace key.
Deletes characters before the insertion point, unlike Delete.
Delete
public val Delete: Key
Delete key.
Deletes characters ahead of the insertion point, unlike Backspace.
Escape
public val Escape: Key
Escape key.
CtrlLeft
public val CtrlLeft: Key
Left Control modifier key.
CtrlRight
public val CtrlRight: Key
Right Control modifier key.
CapsLock
public val CapsLock: Key
Caps Lock key.
ScrollLock
public val ScrollLock: Key
Scroll Lock key.
MetaLeft
public val MetaLeft: Key
Left Meta modifier key.
MetaRight
public val MetaRight: Key
Right Meta modifier key.
Function
public val Function: Key
Function modifier key.
PrintScreen
public val PrintScreen: Key
System Request / Print Screen key.
Break
public val Break: Key
Break / Pause key.
MoveHome
public val MoveHome: Key
Home Movement key.
Used for scrolling or moving the cursor around to the start of a line or to the top of a list.
MoveEnd
public val MoveEnd: Key
End Movement key.
Used for scrolling or moving the cursor around to the end of a line or to the bottom of a list.
Insert
public val Insert: Key
Insert key.
Toggles insert / overwrite edit mode.
Cut
public val Cut: Key
Cut key.
Copy
public val Copy: Key
Copy key.
Paste
public val Paste: Key
Paste key.
Grave
public val Grave: Key
'`' (backtick) key.
LeftBracket
public val LeftBracket: Key
'[' key.
RightBracket
public val RightBracket: Key
']' key.
Slash
public val Slash: Key
'/' key.
Backslash
public val Backslash: Key
'\' key.
Semicolon
public val Semicolon: Key
';' key.
Apostrophe
public val Apostrophe: Key
''' (apostrophe) key.
At
public val At: Key
'@' key.
Number
public val Number: Key
Number modifier key.
Used to enter numeric symbols. This key is not Num Lock; it is more like AltLeft.
HeadsetHook
public val HeadsetHook: Key
Headset Hook key.
Used to hang up calls and stop media.
Focus
public val Focus: Key
Camera Focus key.
Used to focus the camera.
Menu
public val Menu: Key
Menu key.
Notification
public val Notification: Key
Notification key.
Search
public val Search: Key
Search key.
PageUp
public val PageUp: Key
Page Up key.
PageDown
public val PageDown: Key
Page Down key.
PictureSymbols
public val PictureSymbols: Key
Picture Symbols modifier key.
Used to switch symbol sets (Emoji, Kao-moji).
SwitchCharset
public val SwitchCharset: Key
Switch Charset modifier key.
Used to switch character sets (Kanji, Katakana).
ButtonA
public val ButtonA: Key
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.
ButtonB
public val ButtonB: Key
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.
ButtonC
public val ButtonC: Key
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.
ButtonX
public val ButtonX: Key
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.
ButtonY
public val ButtonY: Key
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.
ButtonZ
public val ButtonZ: Key
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.
ButtonL1
public val ButtonL1: Key
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.
ButtonR1
public val ButtonR1: Key
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.
ButtonL2
public val ButtonL2: Key
L2 Button key.
On a game controller, the L2 button should be either the button labeled L2 or the bottom left trigger button.
ButtonR2
public val ButtonR2: Key
R2 Button key.
On a game controller, the R2 button should be either the button labeled R2 or the bottom right trigger button.
ButtonThumbLeft
public val ButtonThumbLeft: Key
Left Thumb Button key.
On a game controller, the left thumb button indicates that the left (or only) joystick is pressed.
ButtonThumbRight
public val ButtonThumbRight: Key
Right Thumb Button key.
On a game controller, the right thumb button indicates that the right joystick is pressed.
ButtonStart
public val ButtonStart: Key
Start Button key.
On a game controller, the button labeled Start.
ButtonSelect
public val ButtonSelect: Key
Select Button key.
On a game controller, the button labeled Select.
ButtonMode
public val ButtonMode: Key
Mode Button key.
On a game controller, the button labeled Mode.
Button1
public val Button1: Key
Generic Game Pad Button #1.
Button2
public val Button2: Key
Generic Game Pad Button #2.
Button3
public val Button3: Key
Generic Game Pad Button #3.
Button4
public val Button4: Key
Generic Game Pad Button #4.
Button5
public val Button5: Key
Generic Game Pad Button #5.
Button6
public val Button6: Key
Generic Game Pad Button #6.
Button7
public val Button7: Key
Generic Game Pad Button #7.
Button8
public val Button8: Key
Generic Game Pad Button #8.
Button9
public val Button9: Key
Generic Game Pad Button #9.
Button10
public val Button10: Key
Generic Game Pad Button #10.
Button11
public val Button11: Key
Generic Game Pad Button #11.
Button12
public val Button12: Key
Generic Game Pad Button #12.
Button13
public val Button13: Key
Generic Game Pad Button #13.
Button14
public val Button14: Key
Generic Game Pad Button #14.
Button15
public val Button15: Key
Generic Game Pad Button #15.
Button16
public val Button16: Key
Generic Game Pad Button #16.
Forward
public val Forward: Key
Forward key.
Navigates forward in the history stack. Complement of Back.
F1
public val F1: Key
F1 key.
F2
public val F2: Key
F2 key.
F3
public val F3: Key
F3 key.
F4
public val F4: Key
F4 key.
F5
public val F5: Key
F5 key.
F6
public val F6: Key
F6 key.
F7
public val F7: Key
F7 key.
F8
public val F8: Key
F8 key.
F9
public val F9: Key
F9 key.
F10
public val F10: Key
F10 key.
F11
public val F11: Key
F11 key.
F12
public val F12: Key
F12 key.
NumLock
public val NumLock: Key
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.
NumPad0
public val NumPad0: Key
Numeric keypad '0' key.
NumPad1
public val NumPad1: Key
Numeric keypad '1' key.
NumPad2
public val NumPad2: Key
Numeric keypad '2' key.
NumPad3
public val NumPad3: Key
Numeric keypad '3' key.
NumPad4
public val NumPad4: Key
Numeric keypad '4' key.
NumPad5
public val NumPad5: Key
Numeric keypad '5' key.
NumPad6
public val NumPad6: Key
Numeric keypad '6' key.
NumPad7
public val NumPad7: Key
Numeric keypad '7' key.
NumPad8
public val NumPad8: Key
Numeric keypad '8' key.
NumPad9
public val NumPad9: Key
Numeric keypad '9' key.
NumPadDivide
public val NumPadDivide: Key
Numeric keypad '/' key (for division).
NumPadMultiply
public val NumPadMultiply: Key
Numeric keypad '*' key (for multiplication).
NumPadSubtract
public val NumPadSubtract: Key
Numeric keypad '-' key (for subtraction).
NumPadAdd
public val NumPadAdd: Key
Numeric keypad '+' key (for addition).
NumPadDot
public val NumPadDot: Key
Numeric keypad '.' key (for decimals or digit grouping).
NumPadComma
public val NumPadComma: Key
Numeric keypad ',' key (for decimals or digit grouping).
NumPadEnter
public val NumPadEnter: Key
Numeric keypad Enter key.
NumPadEquals
public val NumPadEquals: Key
Numeric keypad '=' key.
NumPadLeftParenthesis
public val NumPadLeftParenthesis: Key
Numeric keypad '(' key.
NumPadRightParenthesis
public val NumPadRightParenthesis: Key
Numeric keypad ')' key.
NumPadDirectionUp
public val NumPadDirectionUp: Key
Numeric keypad Up Arrow Key.
NumPadDirectionDown
public val NumPadDirectionDown: Key
Numeric keypad Down Arrow Key.
NumPadDirectionLeft
public val NumPadDirectionLeft: Key
Numeric keypad Left Arrow Key.
NumPadDirectionRight
public val NumPadDirectionRight: Key
Numeric keypad Right Arrow Key.
NumPadMoveHome
public val NumPadMoveHome: Key
Numeric keypad Home Key.
NumPadMoveEnd
public val NumPadMoveEnd: Key
Numeric keypad End Key.
NumPadPageUp
public val NumPadPageUp: Key
Numeric keypad Page Up Key.
NumPadPageDown
public val NumPadPageDown: Key
Numeric keypad Page Down Key.
NumPadInsert
public val NumPadInsert: Key
Numeric keypad Insert Key.
NumPadDelete
public val NumPadDelete: Key
Numeric keypad Delete Key.
MediaPlay
public val MediaPlay: Key
Play media key.
MediaPause
public val MediaPause: Key
Pause media key.
MediaPlayPause
public val MediaPlayPause: Key
Play/Pause media key.
MediaStop
public val MediaStop: Key
Stop media key.
MediaRecord
public val MediaRecord: Key
Record media key.
MediaNext
public val MediaNext: Key
Play Next media key.
MediaPrevious
public val MediaPrevious: Key
Play Previous media key.
MediaRewind
public val MediaRewind: Key
Rewind media key.
MediaFastForward
public val MediaFastForward: Key
Fast Forward media key.
MediaClose
public val MediaClose: Key
Close media key.
May be used to close a CD tray, for example.
MediaAudioTrack
public val MediaAudioTrack: Key
Audio Track key.
Switches the audio tracks.
MediaEject
public val MediaEject: Key
Eject media key.
May be used to eject a CD tray, for example.
MediaTopMenu
public val MediaTopMenu: Key
Media Top Menu key.
Goes to the top of media menu.
MediaSkipForward
public val MediaSkipForward: Key
Skip forward media key.
MediaSkipBackward
public val MediaSkipBackward: Key
Skip backward media key.
MediaStepForward
public val MediaStepForward: Key
Step forward media key.
Steps media forward, one frame at a time.
MediaStepBackward
public val MediaStepBackward: Key
Step backward media key.
Steps media backward, one frame at a time.
MicrophoneMute
public val MicrophoneMute: Key
Mute key.
Mutes the microphone, unlike VolumeMute.
VolumeMute
public val VolumeMute: Key
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.
Info
public val Info: Key
Info key.
Common on TV remotes to show additional information related to what is currently being viewed.
ChannelUp
public val ChannelUp: Key
Channel up key.
On TV remotes, increments the television channel.
ChannelDown
public val ChannelDown: Key
Channel down key.
On TV remotes, decrements the television channel.
ZoomIn
public val ZoomIn: Key
Zoom in key.
ZoomOut
public val ZoomOut: Key
Zoom out key.
Tv
public val Tv: Key
TV key.
On TV remotes, switches to viewing live TV.
Window
public val Window: Key
Window key.
On TV remotes, toggles picture-in-picture mode or other windowing functions. On Android Wear devices, triggers a display offset.
Guide
public val Guide: Key
Guide key.
On TV remotes, shows a programming guide.
Dvr
public val Dvr: Key
DVR key.
On some TV remotes, switches to a DVR mode for recorded shows.
Bookmark
public val Bookmark: Key
Bookmark key.
On some TV remotes, bookmarks content or web pages.
Captions
public val Captions: Key
Toggle captions key.
Switches the mode for closed-captioning text, for example during television shows.
Settings
public val Settings: Key
Settings key.
Starts the system settings activity.
TvPower
public val TvPower: Key
TV power key.
On TV remotes, toggles the power on a television screen.
TvInput
public val TvInput: Key
TV input key.
On TV remotes, switches the input on a television screen.
SetTopBoxPower
public val SetTopBoxPower: Key
Set-top-box power key.
On TV remotes, toggles the power on an external Set-top-box.
SetTopBoxInput
public val SetTopBoxInput: Key
Set-top-box input key.
On TV remotes, switches the input mode on an external Set-top-box.
AvReceiverPower
public val AvReceiverPower: Key
A/V Receiver power key.
On TV remotes, toggles the power on an external A/V Receiver.
AvReceiverInput
public val AvReceiverInput: Key
A/V Receiver input key.
On TV remotes, switches the input mode on an external A/V Receiver.
ProgramRed
public val ProgramRed: Key
Red "programmable" key.
On TV remotes, acts as a contextual/programmable key.
ProgramGreen
public val ProgramGreen: Key
Green "programmable" key.
On TV remotes, acts as a contextual/programmable key.
ProgramYellow
public val ProgramYellow: Key
Yellow "programmable" key.
On TV remotes, acts as a contextual/programmable key.
ProgramBlue
public val ProgramBlue: Key
Blue "programmable" key.
On TV remotes, acts as a contextual/programmable key.
AppSwitch
public val AppSwitch: Key
App switch key.
Should bring up the application switcher dialog.
LanguageSwitch
public val LanguageSwitch: Key
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.
MannerMode
public val MannerMode: Key
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.
Toggle2D3D
public val Toggle2D3D: Key
3D Mode key.
Toggles the display between 2D and 3D mode.
Contacts
public val Contacts: Key
Contacts special function key.
Used to launch an address book application.
Calendar
public val Calendar: Key
Calendar special function key.
Used to launch a calendar application.
Music
public val Music: Key
Music special function key.
Used to launch a music player application.
Calculator
public val Calculator: Key
Calculator special function key.
Used to launch a calculator application.
ZenkakuHankaru
public val ZenkakuHankaru: Key
Japanese full-width / half-width key.
Eisu
public val Eisu: Key
Japanese alphanumeric key.
Muhenkan
public val Muhenkan: Key
Japanese non-conversion key.
Henkan
public val Henkan: Key
Japanese conversion key.
KatakanaHiragana
public val KatakanaHiragana: Key
Japanese katakana / hiragana key.
Yen
public val Yen: Key
Japanese Yen key.
Ro
public val Ro: Key
Japanese Ro key.
Kana
public val Kana: Key
Japanese kana key.
Assist
public val Assist: Key
Assist key.
Launches the global assist activity. Not delivered to applications.
BrightnessDown
public val BrightnessDown: Key
Brightness Down key.
Adjusts the screen brightness down.
BrightnessUp
public val BrightnessUp: Key
Brightness Up key.
Adjusts the screen brightness up.
Sleep
public val Sleep: Key
Sleep key.
Puts the device to sleep. Behaves somewhat like Power but it has no effect if the device is already asleep.
WakeUp
public val WakeUp: Key
Wakeup key.
Wakes up the device. Behaves somewhat like Power but it has no effect if the device is already awake.
SoftSleep
public val SoftSleep: Key
Put device to sleep unless a wakelock is held.
Pairing
public val Pairing: Key
Pairing key.
Initiates peripheral pairing mode. Useful for pairing remote control devices or game controllers, especially if no other input mode is available.
LastChannel
public val LastChannel: Key
Last Channel key.
Goes to the last viewed channel.
TvDataService
public val TvDataService: Key
TV data service key.
Displays data services like weather, sports.
VoiceAssist
public val VoiceAssist: Key
Voice Assist key.
Launches the global voice assist activity. Not delivered to applications.
TvRadioService
public val TvRadioService: Key
Radio key.
Toggles TV service / Radio service.
TvTeletext
public val TvTeletext: Key
Teletext key.
Displays Teletext service.
TvNumberEntry
public val TvNumberEntry: Key
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.
TvTerrestrialAnalog
public val TvTerrestrialAnalog: Key
Analog Terrestrial key.
Switches to analog terrestrial broadcast service.
TvTerrestrialDigital
public val TvTerrestrialDigital: Key
Digital Terrestrial key.
Switches to digital terrestrial broadcast service.
TvSatellite
public val TvSatellite: Key
Satellite key.
Switches to digital satellite broadcast service.
TvSatelliteBs
public val TvSatelliteBs: Key
BS key.
Switches to BS digital satellite broadcasting service available in Japan.
TvSatelliteCs
public val TvSatelliteCs: Key
CS key.
Switches to CS digital satellite broadcasting service available in Japan.
TvSatelliteService
public val TvSatelliteService: Key
BS/CS key.
Toggles between BS and CS digital satellite services.
TvNetwork
public val TvNetwork: Key
Toggle Network key.
Toggles selecting broadcast services.
TvAntennaCable
public val TvAntennaCable: Key
Antenna/Cable key.
Toggles broadcast input source between antenna and cable.
TvInputHdmi1
public val TvInputHdmi1: Key
HDMI #1 key.
Switches to HDMI input #1.
TvInputHdmi2
public val TvInputHdmi2: Key
HDMI #2 key.
Switches to HDMI input #2.
TvInputHdmi3
public val TvInputHdmi3: Key
HDMI #3 key.
Switches to HDMI input #3.
TvInputHdmi4
public val TvInputHdmi4: Key
HDMI #4 key.
Switches to HDMI input #4.
TvInputComposite1
public val TvInputComposite1: Key
Composite #1 key.
Switches to composite video input #1.
TvInputComposite2
public val TvInputComposite2: Key
Composite #2 key.
Switches to composite video input #2.
TvInputComponent1
public val TvInputComponent1: Key
Component #1 key.
Switches to component video input #1.
TvInputComponent2
public val TvInputComponent2: Key
Component #2 key.
Switches to component video input #2.
TvInputVga1
public val TvInputVga1: Key
VGA #1 key.
Switches to VGA (analog RGB) input #1.
TvAudioDescription
public val TvAudioDescription: Key
Audio description key.
Toggles audio description off / on.
TvAudioDescriptionMixingVolumeUp
public val TvAudioDescriptionMixingVolumeUp: Key
Audio description mixing volume up key.
Increase the audio description volume as compared with normal audio volume.
TvAudioDescriptionMixingVolumeDown
public val TvAudioDescriptionMixingVolumeDown: Key
Audio description mixing volume down key.
Lessen audio description volume as compared with normal audio volume.
TvZoomMode
public val TvZoomMode: Key
Zoom mode key.
Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.)
TvContentsMenu
public val TvContentsMenu: Key
Contents menu key.
Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control Code
TvMediaContextMenu
public val TvMediaContextMenu: Key
Media context menu key.
Goes to the context menu of media contents. Corresponds to Media Context-sensitive Menu (0x11) of CEC User Control Code.
TvTimerProgramming
public val TvTimerProgramming: Key
Timer programming key.
Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of CEC User Control Code.
StemPrimary
public val StemPrimary: Key
Primary stem key for Wearables.
Main power/reset button.
Stem1
public val Stem1: Key
Generic stem key 1 for Wearables.
Stem2
public val Stem2: Key
Generic stem key 2 for Wearables.
Stem3
public val Stem3: Key
Generic stem key 3 for Wearables.
AllApps
public val AllApps: Key
Show all apps.
Refresh
public val Refresh: Key
Refresh key.
ThumbsUp
public val ThumbsUp: Key
Thumbs up key. Apps can use this to let user up-vote content.
ThumbsDown
public val ThumbsDown: Key
Thumbs down key. Apps can use this to let user down-vote content.
ProfileSwitch
public val ProfileSwitch: Key
Used to switch current account that is consuming content. May be consumed by system to set account globally.