KeyCustomizationTrigger
class KeyCustomizationTrigger : CustomizationTrigger
| kotlin.Any | ||
| ↳ | android.hardware.input.CustomizationTrigger | |
| ↳ | android.hardware.input.KeyCustomizationTrigger | |
Represents a trigger based on a physical key press on a peripheral.
Summary
| Constants | |
|---|---|
| static Int |
Customizable Key code: Assist key. |
| static Int |
Customizable Key code: Back key. |
| static Int |
Customizable Key code: Bookmark key. |
| static Int |
Customizable Key code: Brightness Down key. |
| static Int |
Customizable Key code: Brightness Up key. |
| static Int |
Customizable Key code: Calculator key. |
| static Int |
Customizable Key code: Calendar key. |
| static Int |
Customizable Key code: Camera key. |
| static Int |
Customizable Key code: Contacts key. |
| static Int |
Customizable Key code: Dictate key. |
| static Int |
Customizable Key code: Envelope key. |
| static Int |
Customizable Key code: Explorer key. |
| static Int |
Customizable Key code: F1 key. |
| static Int |
Customizable Key code: F10 key. |
| static Int |
Customizable Key code: F11 key. |
| static Int |
Customizable Key code: F12 key. |
| static Int |
Customizable Key code: F13 key. |
| static Int |
Customizable Key code: F14 key. |
| static Int |
Customizable Key code: F15 key. |
| static Int |
Customizable Key code: F16 key. |
| static Int |
Customizable Key code: F17 key. |
| static Int |
Customizable Key code: F18 key. |
| static Int |
Customizable Key code: F19 key. |
| static Int |
Customizable Key code: F2 key. |
| static Int |
Customizable Key code: F20 key. |
| static Int |
Customizable Key code: F21 key. |
| static Int |
Customizable Key code: F22 key. |
| static Int |
Customizable Key code: F23 key. |
| static Int |
Customizable Key code: F24 key. |
| static Int |
Customizable Key code: F3 key. |
| static Int |
Customizable Key code: F4 key. |
| static Int |
Customizable Key code: F5 key. |
| static Int |
Customizable Key code: F6 key. |
| static Int |
Customizable Key code: F7 key. |
| static Int |
Customizable Key code: F8 key. |
| static Int |
Customizable Key code: F9 key. |
| static Int |
Customizable Key code: Forward key. |
| static Int |
Customizable Key code: Full Screen key. |
| static Int |
Customizable Key code: Eject key. |
| static Int |
Customizable Key code: Next Media key. |
| static Int |
Customizable Key code: Play/Pause Media key. |
| static Int |
Customizable Key code: Previous Media key. |
| static Int |
Customizable Key code: Stop Media key. |
| static Int |
Customizable Key code: Menu key. |
| static Int |
Customizable Key code: Home key. |
| static Int |
Customizable Key code: Music key. |
| static Int |
Customizable Key code: New key. |
| static Int |
Customizable Key code: Screenshot key. |
| static Int |
Customizable Key code: Search key. |
| static Int |
Customizable Key code: System Request / Print Screen key. |
| static Int |
Customizable Key code: Volume Down key. |
| static Int |
Customizable Key code: Volume Mute key. |
| static Int |
Customizable Key code: Volume Up key. |
| Public constructors | |
|---|---|
KeyCustomizationTrigger(keyCode: Int)Creates a Trigger for a specific key code. |
|
| Public methods | |
|---|---|
| Int |
Returns the key code associated with this trigger. |
| String |
toString() |
| Inherited functions | |
|---|---|
Constants
CUSTOMIZABLE_KEYCODE_ASSIST
static val CUSTOMIZABLE_KEYCODE_ASSIST: Int
Customizable Key code: Assist key.
Value: 219CUSTOMIZABLE_KEYCODE_BACK
static val CUSTOMIZABLE_KEYCODE_BACK: Int
Customizable Key code: Back key.
Value: 4CUSTOMIZABLE_KEYCODE_BOOKMARK
static val CUSTOMIZABLE_KEYCODE_BOOKMARK: Int
Customizable Key code: Bookmark key.
Value: 174CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN
static val CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN: Int
Customizable Key code: Brightness Down key.
Value: 220CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP
static val CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP: Int
Customizable Key code: Brightness Up key.
Value: 221CUSTOMIZABLE_KEYCODE_CALCULATOR
static val CUSTOMIZABLE_KEYCODE_CALCULATOR: Int
Customizable Key code: Calculator key.
Value: 210CUSTOMIZABLE_KEYCODE_CALENDAR
static val CUSTOMIZABLE_KEYCODE_CALENDAR: Int
Customizable Key code: Calendar key.
Value: 208CUSTOMIZABLE_KEYCODE_CAMERA
static val CUSTOMIZABLE_KEYCODE_CAMERA: Int
Customizable Key code: Camera key.
Value: 27CUSTOMIZABLE_KEYCODE_CONTACTS
static val CUSTOMIZABLE_KEYCODE_CONTACTS: Int
Customizable Key code: Contacts key.
Value: 207CUSTOMIZABLE_KEYCODE_DICTATE
static val CUSTOMIZABLE_KEYCODE_DICTATE: Int
Customizable Key code: Dictate key.
Value: 319CUSTOMIZABLE_KEYCODE_ENVELOPE
static val CUSTOMIZABLE_KEYCODE_ENVELOPE: Int
Customizable Key code: Envelope key.
Value: 65CUSTOMIZABLE_KEYCODE_EXPLORER
static val CUSTOMIZABLE_KEYCODE_EXPLORER: Int
Customizable Key code: Explorer key.
Value: 64CUSTOMIZABLE_KEYCODE_F1
static val CUSTOMIZABLE_KEYCODE_F1: Int
Customizable Key code: F1 key.
Value: 131CUSTOMIZABLE_KEYCODE_F10
static val CUSTOMIZABLE_KEYCODE_F10: Int
Customizable Key code: F10 key.
Value: 140CUSTOMIZABLE_KEYCODE_F11
static val CUSTOMIZABLE_KEYCODE_F11: Int
Customizable Key code: F11 key.
Value: 141CUSTOMIZABLE_KEYCODE_F12
static val CUSTOMIZABLE_KEYCODE_F12: Int
Customizable Key code: F12 key.
Value: 142CUSTOMIZABLE_KEYCODE_F13
static val CUSTOMIZABLE_KEYCODE_F13: Int
Customizable Key code: F13 key.
Value: 326CUSTOMIZABLE_KEYCODE_F14
static val CUSTOMIZABLE_KEYCODE_F14: Int
Customizable Key code: F14 key.
Value: 327CUSTOMIZABLE_KEYCODE_F15
static val CUSTOMIZABLE_KEYCODE_F15: Int
Customizable Key code: F15 key.
Value: 328CUSTOMIZABLE_KEYCODE_F16
static val CUSTOMIZABLE_KEYCODE_F16: Int
Customizable Key code: F16 key.
Value: 329CUSTOMIZABLE_KEYCODE_F17
static val CUSTOMIZABLE_KEYCODE_F17: Int
Customizable Key code: F17 key.
Value: 330CUSTOMIZABLE_KEYCODE_F18
static val CUSTOMIZABLE_KEYCODE_F18: Int
Customizable Key code: F18 key.
Value: 331CUSTOMIZABLE_KEYCODE_F19
static val CUSTOMIZABLE_KEYCODE_F19: Int
Customizable Key code: F19 key.
Value: 332CUSTOMIZABLE_KEYCODE_F2
static val CUSTOMIZABLE_KEYCODE_F2: Int
Customizable Key code: F2 key.
Value: 132CUSTOMIZABLE_KEYCODE_F20
static val CUSTOMIZABLE_KEYCODE_F20: Int
Customizable Key code: F20 key.
Value: 333CUSTOMIZABLE_KEYCODE_F21
static val CUSTOMIZABLE_KEYCODE_F21: Int
Customizable Key code: F21 key.
Value: 334CUSTOMIZABLE_KEYCODE_F22
static val CUSTOMIZABLE_KEYCODE_F22: Int
Customizable Key code: F22 key.
Value: 335CUSTOMIZABLE_KEYCODE_F23
static val CUSTOMIZABLE_KEYCODE_F23: Int
Customizable Key code: F23 key.
Value: 336CUSTOMIZABLE_KEYCODE_F24
static val CUSTOMIZABLE_KEYCODE_F24: Int
Customizable Key code: F24 key.
Value: 337CUSTOMIZABLE_KEYCODE_F3
static val CUSTOMIZABLE_KEYCODE_F3: Int
Customizable Key code: F3 key.
Value: 133CUSTOMIZABLE_KEYCODE_F4
static val CUSTOMIZABLE_KEYCODE_F4: Int
Customizable Key code: F4 key.
Value: 134CUSTOMIZABLE_KEYCODE_F5
static val CUSTOMIZABLE_KEYCODE_F5: Int
Customizable Key code: F5 key.
Value: 135CUSTOMIZABLE_KEYCODE_F6
static val CUSTOMIZABLE_KEYCODE_F6: Int
Customizable Key code: F6 key.
Value: 136CUSTOMIZABLE_KEYCODE_F7
static val CUSTOMIZABLE_KEYCODE_F7: Int
Customizable Key code: F7 key.
Value: 137CUSTOMIZABLE_KEYCODE_F8
static val CUSTOMIZABLE_KEYCODE_F8: Int
Customizable Key code: F8 key.
Value: 138CUSTOMIZABLE_KEYCODE_F9
static val CUSTOMIZABLE_KEYCODE_F9: Int
Customizable Key code: F9 key.
Value: 139CUSTOMIZABLE_KEYCODE_FORWARD
static val CUSTOMIZABLE_KEYCODE_FORWARD: Int
Customizable Key code: Forward key.
Value: 125CUSTOMIZABLE_KEYCODE_FULLSCREEN
static val CUSTOMIZABLE_KEYCODE_FULLSCREEN: Int
Customizable Key code: Full Screen key.
Value: 325CUSTOMIZABLE_KEYCODE_MEDIA_EJECT
static val CUSTOMIZABLE_KEYCODE_MEDIA_EJECT: Int
Customizable Key code: Eject key.
Value: 129CUSTOMIZABLE_KEYCODE_MEDIA_NEXT
static val CUSTOMIZABLE_KEYCODE_MEDIA_NEXT: Int
Customizable Key code: Next Media key.
Value: 87CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE
static val CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE: Int
Customizable Key code: Play/Pause Media key.
Value: 85CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS
static val CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS: Int
Customizable Key code: Previous Media key.
Value: 88CUSTOMIZABLE_KEYCODE_MEDIA_STOP
static val CUSTOMIZABLE_KEYCODE_MEDIA_STOP: Int
Customizable Key code: Stop Media key.
Value: 86CUSTOMIZABLE_KEYCODE_MENU
static val CUSTOMIZABLE_KEYCODE_MENU: Int
Customizable Key code: Menu key.
Value: 82CUSTOMIZABLE_KEYCODE_MOVE_HOME
static val CUSTOMIZABLE_KEYCODE_MOVE_HOME: Int
Customizable Key code: Home key.
Value: 122CUSTOMIZABLE_KEYCODE_MUSIC
static val CUSTOMIZABLE_KEYCODE_MUSIC: Int
Customizable Key code: Music key.
Value: 209CUSTOMIZABLE_KEYCODE_NEW
static val CUSTOMIZABLE_KEYCODE_NEW: Int
Customizable Key code: New key.
Value: 320CUSTOMIZABLE_KEYCODE_SCREENSHOT
static val CUSTOMIZABLE_KEYCODE_SCREENSHOT: Int
Customizable Key code: Screenshot key.
Value: 318CUSTOMIZABLE_KEYCODE_SEARCH
static val CUSTOMIZABLE_KEYCODE_SEARCH: Int
Customizable Key code: Search key.
Value: 84CUSTOMIZABLE_KEYCODE_SYSRQ
static val CUSTOMIZABLE_KEYCODE_SYSRQ: Int
Customizable Key code: System Request / Print Screen key.
Value: 120CUSTOMIZABLE_KEYCODE_VOLUME_DOWN
static val CUSTOMIZABLE_KEYCODE_VOLUME_DOWN: Int
Customizable Key code: Volume Down key.
Value: 25CUSTOMIZABLE_KEYCODE_VOLUME_MUTE
static val CUSTOMIZABLE_KEYCODE_VOLUME_MUTE: Int
Customizable Key code: Volume Mute key.
Value: 164CUSTOMIZABLE_KEYCODE_VOLUME_UP
static val CUSTOMIZABLE_KEYCODE_VOLUME_UP: Int
Customizable Key code: Volume Up key.
Value: 24Public constructors
KeyCustomizationTrigger
KeyCustomizationTrigger(keyCode: Int)
Creates a Trigger for a specific key code.
Public methods
getKeyCode
fun getKeyCode(): Int
Returns the key code associated with this trigger.
toString
fun toString(): String