Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# KeyCustomizationTrigger

*** ** * ** ***

```
class KeyCustomizationTrigger : CustomizationTrigger
```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [android.hardware.input.CustomizationTrigger](https://developer.android.com/reference/kotlin/android/hardware/input/CustomizationTrigger) ||
|   | ↳ | [android.hardware.input.KeyCustomizationTrigger](https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#) |

Represents a trigger based on a physical key press on a peripheral.

## Summary

| Constants ||
|---|---|
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_ASSIST:kotlin.Int` Customizable Key code: Assist key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BACK:kotlin.Int` Customizable Key code: Back key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BOOKMARK:kotlin.Int` Customizable Key code: Bookmark key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN:kotlin.Int` Customizable Key code: Brightness Down key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP:kotlin.Int` Customizable Key code: Brightness Up key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CALCULATOR:kotlin.Int` Customizable Key code: Calculator key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CALENDAR:kotlin.Int` Customizable Key code: Calendar key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CAMERA:kotlin.Int` Customizable Key code: Camera key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CONTACTS:kotlin.Int` Customizable Key code: Contacts key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_DICTATE:kotlin.Int` Customizable Key code: Dictate key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_ENVELOPE:kotlin.Int` Customizable Key code: Envelope key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_EXPLORER:kotlin.Int` Customizable Key code: Explorer key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F1:kotlin.Int` Customizable Key code: F1 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F10:kotlin.Int` Customizable Key code: F10 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F11:kotlin.Int` Customizable Key code: F11 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F12:kotlin.Int` Customizable Key code: F12 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F13:kotlin.Int` Customizable Key code: F13 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F14:kotlin.Int` Customizable Key code: F14 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F15:kotlin.Int` Customizable Key code: F15 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F16:kotlin.Int` Customizable Key code: F16 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F17:kotlin.Int` Customizable Key code: F17 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F18:kotlin.Int` Customizable Key code: F18 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F19:kotlin.Int` Customizable Key code: F19 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F2:kotlin.Int` Customizable Key code: F2 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F20:kotlin.Int` Customizable Key code: F20 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F21:kotlin.Int` Customizable Key code: F21 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F22:kotlin.Int` Customizable Key code: F22 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F23:kotlin.Int` Customizable Key code: F23 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F24:kotlin.Int` Customizable Key code: F24 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F3:kotlin.Int` Customizable Key code: F3 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F4:kotlin.Int` Customizable Key code: F4 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F5:kotlin.Int` Customizable Key code: F5 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F6:kotlin.Int` Customizable Key code: F6 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F7:kotlin.Int` Customizable Key code: F7 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F8:kotlin.Int` Customizable Key code: F8 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F9:kotlin.Int` Customizable Key code: F9 key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_FORWARD:kotlin.Int` Customizable Key code: Forward key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_FULLSCREEN:kotlin.Int` Customizable Key code: Full Screen key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_EJECT:kotlin.Int` Customizable Key code: Eject key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_NEXT:kotlin.Int` Customizable Key code: Next Media key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE:kotlin.Int` Customizable Key code: Play/Pause Media key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS:kotlin.Int` Customizable Key code: Previous Media key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_STOP:kotlin.Int` Customizable Key code: Stop Media key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MENU:kotlin.Int` Customizable Key code: Menu key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MOVE_HOME:kotlin.Int` Customizable Key code: Home key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MUSIC:kotlin.Int` Customizable Key code: Music key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_NEW:kotlin.Int` Customizable Key code: New key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SCREENSHOT:kotlin.Int` Customizable Key code: Screenshot key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SEARCH:kotlin.Int` Customizable Key code: Search key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SYSRQ:kotlin.Int` Customizable Key code: System Request / Print Screen key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_DOWN:kotlin.Int` Customizable Key code: Volume Down key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_MUTE:kotlin.Int` Customizable Key code: Volume Mute key. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_UP:kotlin.Int` Customizable Key code: Volume Up key. |

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#KeyCustomizationTrigger(kotlin.Int)(keyCode: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Creates a Trigger for a specific key code. |

| Public methods ||
|---|---|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#getKeyCode()()` Returns the key code associated with this trigger. |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#toString()()` Returns a string representation of the object. |

| Inherited functions ||
|---|---|
| From class `https://developer.android.com/reference/kotlin/android/hardware/input/CustomizationTrigger` |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/android/hardware/input/CustomizationTrigger#equals(kotlin.Any)(other: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` Indicates whether some other object is "equal to" this one. The `equals` method implements an equivalence relation on non-null object references: - It is *reflexive* : for any non-null reference value `x`, `x.equals(x)` should return `true`. - It is *symmetric* : for any non-null reference values `x` and `y`, `x.equals(y)` should return `true` if and only if `y.equals(x)` returns `true`. - It is *transitive* : for any non-null reference values `x`, `y`, and `z`, if `x.equals(y)` returns `true` and `y.equals(z)` returns `true`, then `x.equals(z)` should return `true`. - It is *consistent* : for any non-null reference values `x` and `y`, multiple invocations of `x.equals(y)` consistently return `true` or consistently return `false`, provided no information used in `equals` comparisons on the objects is modified. - For any non-null reference value `x`, `x.equals(null)` should return `false`. An equivalence relation partitions the elements it operates on into *equivalence classes*; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. <br /> | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/android/hardware/input/CustomizationTrigger#hashCode()()` Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by `https://developer.android.com/reference/kotlin/java/util/HashMap.html#`. The general contract of `hashCode` is: - Whenever it is invoked on the same object more than once during an execution of a Java application, the `hashCode` method must consistently return the same integer, provided no information used in `equals` comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application. - If two objects are equal according to the `https://developer.android.com/reference/kotlin/java/lang/Object.html#equals(kotlin.Any)` method, then calling the `hashCode` method on each of the two objects must produce the same integer result. - It is *not* required that if two objects are unequal according to the `https://developer.android.com/reference/kotlin/java/lang/Object.html#equals(kotlin.Any)` method, then calling the `hashCode` method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables. <br /> | ||

## Constants

### CUSTOMIZABLE_KEYCODE_ASSIST

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_ASSIST: Int
```

Customizable Key code: Assist key.

    Value: 219

### CUSTOMIZABLE_KEYCODE_BACK

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_BACK: Int
```

Customizable Key code: Back key.

    Value: 4

### CUSTOMIZABLE_KEYCODE_BOOKMARK

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_BOOKMARK: Int
```

Customizable Key code: Bookmark key.

    Value: 174

### CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN: Int
```

Customizable Key code: Brightness Down key.

    Value: 220

### CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP: Int
```

Customizable Key code: Brightness Up key.

    Value: 221

### CUSTOMIZABLE_KEYCODE_CALCULATOR

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_CALCULATOR: Int
```

Customizable Key code: Calculator key.

    Value: 210

### CUSTOMIZABLE_KEYCODE_CALENDAR

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_CALENDAR: Int
```

Customizable Key code: Calendar key.

    Value: 208

### CUSTOMIZABLE_KEYCODE_CAMERA

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_CAMERA: Int
```

Customizable Key code: Camera key.

    Value: 27

### CUSTOMIZABLE_KEYCODE_CONTACTS

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_CONTACTS: Int
```

Customizable Key code: Contacts key.

    Value: 207

### CUSTOMIZABLE_KEYCODE_DICTATE

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_DICTATE: Int
```

Customizable Key code: Dictate key.

    Value: 319

### CUSTOMIZABLE_KEYCODE_ENVELOPE

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_ENVELOPE: Int
```

Customizable Key code: Envelope key.

    Value: 65

### CUSTOMIZABLE_KEYCODE_EXPLORER

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_EXPLORER: Int
```

Customizable Key code: Explorer key.

    Value: 64

### CUSTOMIZABLE_KEYCODE_F1

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F1: Int
```

Customizable Key code: F1 key.

    Value: 131

### CUSTOMIZABLE_KEYCODE_F10

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F10: Int
```

Customizable Key code: F10 key.

    Value: 140

### CUSTOMIZABLE_KEYCODE_F11

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F11: Int
```

Customizable Key code: F11 key.

    Value: 141

### CUSTOMIZABLE_KEYCODE_F12

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F12: Int
```

Customizable Key code: F12 key.

    Value: 142

### CUSTOMIZABLE_KEYCODE_F13

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F13: Int
```

Customizable Key code: F13 key.

    Value: 326

### CUSTOMIZABLE_KEYCODE_F14

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F14: Int
```

Customizable Key code: F14 key.

    Value: 327

### CUSTOMIZABLE_KEYCODE_F15

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F15: Int
```

Customizable Key code: F15 key.

    Value: 328

### CUSTOMIZABLE_KEYCODE_F16

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F16: Int
```

Customizable Key code: F16 key.

    Value: 329

### CUSTOMIZABLE_KEYCODE_F17

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F17: Int
```

Customizable Key code: F17 key.

    Value: 330

### CUSTOMIZABLE_KEYCODE_F18

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F18: Int
```

Customizable Key code: F18 key.

    Value: 331

### CUSTOMIZABLE_KEYCODE_F19

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F19: Int
```

Customizable Key code: F19 key.

    Value: 332

### CUSTOMIZABLE_KEYCODE_F2

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F2: Int
```

Customizable Key code: F2 key.

    Value: 132

### CUSTOMIZABLE_KEYCODE_F20

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F20: Int
```

Customizable Key code: F20 key.

    Value: 333

### CUSTOMIZABLE_KEYCODE_F21

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F21: Int
```

Customizable Key code: F21 key.

    Value: 334

### CUSTOMIZABLE_KEYCODE_F22

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F22: Int
```

Customizable Key code: F22 key.

    Value: 335

### CUSTOMIZABLE_KEYCODE_F23

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F23: Int
```

Customizable Key code: F23 key.

    Value: 336

### CUSTOMIZABLE_KEYCODE_F24

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F24: Int
```

Customizable Key code: F24 key.

    Value: 337

### CUSTOMIZABLE_KEYCODE_F3

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F3: Int
```

Customizable Key code: F3 key.

    Value: 133

### CUSTOMIZABLE_KEYCODE_F4

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F4: Int
```

Customizable Key code: F4 key.

    Value: 134

### CUSTOMIZABLE_KEYCODE_F5

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F5: Int
```

Customizable Key code: F5 key.

    Value: 135

### CUSTOMIZABLE_KEYCODE_F6

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F6: Int
```

Customizable Key code: F6 key.

    Value: 136

### CUSTOMIZABLE_KEYCODE_F7

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F7: Int
```

Customizable Key code: F7 key.

    Value: 137

### CUSTOMIZABLE_KEYCODE_F8

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F8: Int
```

Customizable Key code: F8 key.

    Value: 138

### CUSTOMIZABLE_KEYCODE_F9

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_F9: Int
```

Customizable Key code: F9 key.

    Value: 139

### CUSTOMIZABLE_KEYCODE_FORWARD

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_FORWARD: Int
```

Customizable Key code: Forward key.

    Value: 125

### CUSTOMIZABLE_KEYCODE_FULLSCREEN

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_FULLSCREEN: Int
```

Customizable Key code: Full Screen key.

    Value: 325

### CUSTOMIZABLE_KEYCODE_MEDIA_EJECT

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MEDIA_EJECT: Int
```

Customizable Key code: Eject key.

    Value: 129

### CUSTOMIZABLE_KEYCODE_MEDIA_NEXT

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MEDIA_NEXT: Int
```

Customizable Key code: Next Media key.

    Value: 87

### CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE: Int
```

Customizable Key code: Play/Pause Media key.

    Value: 85

### CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS: Int
```

Customizable Key code: Previous Media key.

    Value: 88

### CUSTOMIZABLE_KEYCODE_MEDIA_STOP

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MEDIA_STOP: Int
```

Customizable Key code: Stop Media key.

    Value: 86

### CUSTOMIZABLE_KEYCODE_MENU

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MENU: Int
```

Customizable Key code: Menu key.

    Value: 82

### CUSTOMIZABLE_KEYCODE_MOVE_HOME

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MOVE_HOME: Int
```

Customizable Key code: Home key.

    Value: 122

### CUSTOMIZABLE_KEYCODE_MUSIC

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_MUSIC: Int
```

Customizable Key code: Music key.

    Value: 209

### CUSTOMIZABLE_KEYCODE_NEW

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_NEW: Int
```

Customizable Key code: New key.

    Value: 320

### CUSTOMIZABLE_KEYCODE_SCREENSHOT

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_SCREENSHOT: Int
```

Customizable Key code: Screenshot key.

    Value: 318

### CUSTOMIZABLE_KEYCODE_SEARCH

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_SEARCH: Int
```

Customizable Key code: Search key.

    Value: 84

### CUSTOMIZABLE_KEYCODE_SYSRQ

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_SYSRQ: Int
```

Customizable Key code: System Request / Print Screen key.

    Value: 120

### CUSTOMIZABLE_KEYCODE_VOLUME_DOWN

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_VOLUME_DOWN: Int
```

Customizable Key code: Volume Down key.

    Value: 25

### CUSTOMIZABLE_KEYCODE_VOLUME_MUTE

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_VOLUME_MUTE: Int
```

Customizable Key code: Volume Mute key.

    Value: 164

### CUSTOMIZABLE_KEYCODE_VOLUME_UP

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CUSTOMIZABLE_KEYCODE_VOLUME_UP: Int
```

Customizable Key code: Volume Up key.

    Value: 24

## Public constructors

### KeyCustomizationTrigger

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
KeyCustomizationTrigger(keyCode: Int)
```

Creates a Trigger for a specific key code.

| Parameters ||
|---|---|
| `keyCode` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): The key code for the trigger. Must be a android.hardware.input.KeyCustomizationTrigger.CustomizableKeyCode. Value is one of the following: - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F1:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F2:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F3:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F4:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F5:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F6:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F7:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F8:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F9:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F10:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F11:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F12:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F13:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F14:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F15:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F16:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F17:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F18:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F19:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F20:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F21:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F22:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F23:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F24:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_ASSIST:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BACK:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BOOKMARK:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CALCULATOR:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CALENDAR:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CAMERA:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CONTACTS:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_DICTATE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_ENVELOPE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_EXPLORER:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_FORWARD:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_FULLSCREEN:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_EJECT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_NEXT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_STOP:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MENU:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MOVE_HOME:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MUSIC:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_NEW:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SCREENSHOT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SEARCH:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SYSRQ:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_DOWN:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_MUTE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_UP:kotlin.Int` |

## Public methods

### getKeyCode

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
fun getKeyCode(): Int
```

Returns the key code associated with this trigger.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | Value is one of the following: - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F1:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F2:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F3:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F4:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F5:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F6:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F7:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F8:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F9:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F10:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F11:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F12:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F13:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F14:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F15:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F16:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F17:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F18:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F19:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F20:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F21:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F22:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F23:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_F24:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_ASSIST:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BACK:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BOOKMARK:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BRIGHTNESS_DOWN:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_BRIGHTNESS_UP:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CALCULATOR:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CALENDAR:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CAMERA:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_CONTACTS:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_DICTATE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_ENVELOPE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_EXPLORER:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_FORWARD:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_FULLSCREEN:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_EJECT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_NEXT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_PLAY_PAUSE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_PREVIOUS:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MEDIA_STOP:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MENU:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MOVE_HOME:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_MUSIC:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_NEW:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SCREENSHOT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SEARCH:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_SYSRQ:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_DOWN:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_MUTE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/hardware/input/KeyCustomizationTrigger#CUSTOMIZABLE_KEYCODE_VOLUME_UP:kotlin.Int` |

### toString

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
fun toString(): String
```

Returns a string representation of the object.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | a string representation of the object. |