Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions) Summary: [Constants](https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#constants) \| [Ctors](https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#pubctors) \| [Methods](https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#inhmethods)

# SimpleCustomizationAction

*** ** * ** ***


`
public

final

class
SimpleCustomizationAction
`


`


`

`

extends https://developer.android.com/reference/android/hardware/input/CustomizationAction


`

`


`

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [android.hardware.input.CustomizationAction](https://developer.android.com/reference/android/hardware/input/CustomizationAction) ||
|   | ↳ | android.hardware.input.SimpleCustomizationAction |

<br />

*** ** * ** ***

Represents predefined simple actions, such as Volume up/down, Screenshot, etc.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_ASSIST` Action type: Assist. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BACK` Action type: Back. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BRIGHTNESS_DOWN` Action type: Brightness down. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BRIGHTNESS_UP` Action type: Brightness up. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CALCULATOR` Action type: Calculator. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CLOSE_WINDOW` Action type: Close window. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_INSERT` Action type: Contextual Insert. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_QUERY` Action type: Contextual Query. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_SEARCH` Action type: Contextual Search. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_COPY` Action type: Copy. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CUT` Action type: Cut. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_DICTATION` Action type: Dictation. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_DO_NOTHING` Action type: Do nothing. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_EMOJI_MENU` Action type: Emoji menu. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_FORWARD` Action type: Forward. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_LOCK` Action type: Lock screen. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_NEXT` Action type: Media next. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_PLAY_PAUSE` Action type: Media play/pause. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_PREVIOUS` Action type: Media previous. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PARTIAL_SCREENSHOT` Action type: Partial Screenshot. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PASTE` Action type: Paste. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PRINT_SCREEN` Action type: Print screen. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SCREEN_CAPTURE` Action type: Screen capture. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SHOW_DESKTOP` Action type: Show desktop. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SWITCH_INPUT_LANGUAGE` Action type: Language Switch. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOICE_ASSIST` Action type: Voice Assist. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_DOWN` Action type: Volume down. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_MUTE` Action type: Volume mute. |
| `int` | `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_UP` Action type: Volume up. |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#SimpleCustomizationAction(int)(int actionType) ` Creates a new `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction` with the specified action type. |

| ### Public methods ||
|---|---|
| ` boolean` | ` https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object o) ` Indicates whether some other object is "equal to" this one. |
| ` int` | ` https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#getType()() ` Returns the specific type of action to be performed. |
| ` int` | ` https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#hashCode()() ` Returns a hash code value for the object. |

### Inherited methods

From class `

https://developer.android.com/reference/java/lang/Object

` `


https://developer.android.com/reference/java/lang/Object` `
https://developer.android.com/reference/java/lang/Object#clone()()
`

Creates and returns a copy of this object.


`


boolean` `
https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj)
`

Indicates whether some other object is "equal to" this one.


`


void` `
https://developer.android.com/reference/java/lang/Object#finalize()()
`

Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.


`


final

https://developer.android.com/reference/java/lang/Class<?>` `
https://developer.android.com/reference/java/lang/Object#getClass()()
`

Returns the runtime class of this `Object`.


`


int` `
https://developer.android.com/reference/java/lang/Object#hashCode()()
`

Returns a hash code value for the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notify()()
`

Wakes up a single thread that is waiting on this object's
monitor.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notifyAll()()
`

Wakes up all threads that are waiting on this object's monitor.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Object#toString()()
`

Returns a string representation of the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait()()
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*.


## Constants

### TYPE_ASSIST

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_ASSIST
```

Action type: Assist.


Specifies the action to launch the default assistant for textual input when the peripheral
input is triggered.

<br />

Constant Value:

21
(0x00000015)


### TYPE_BACK

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_BACK
```

Action type: Back.


Specifies the action to go back when the peripheral input is triggered.

<br />

Constant Value:

1
(0x00000001)


### TYPE_BRIGHTNESS_DOWN

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_BRIGHTNESS_DOWN
```

Action type: Brightness down.


Specifies the action to decrease screen brightness when the peripheral input is triggered.

<br />

Constant Value:

2
(0x00000002)


### TYPE_BRIGHTNESS_UP

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_BRIGHTNESS_UP
```

Action type: Brightness up.


Specifies the action to increase screen brightness when the peripheral input is triggered.

<br />

Constant Value:

3
(0x00000003)


### TYPE_CALCULATOR

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_CALCULATOR
```

Action type: Calculator.


Specifies the action to launch calculator app when the peripheral input is triggered.

<br />

Constant Value:

4
(0x00000004)


### TYPE_CLOSE_WINDOW

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_CLOSE_WINDOW
```

Action type: Close window.


Specifies the action to close the currently focused window when the
peripheral input is triggered.

<br />

Constant Value:

19
(0x00000013)


### TYPE_CONTEXTUAL_INSERT

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_CONTEXTUAL_INSERT
```

Action type: Contextual Insert.


Specifies the action to trigger a contextual panel for inserting content into the focused
input field when the peripheral input is triggered.

<br />

Constant Value:

22
(0x00000016)


### TYPE_CONTEXTUAL_QUERY

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_CONTEXTUAL_QUERY
```

Action type: Contextual Query.


Specifies the action to launch the contextual cursor. When available, this intelligent
pointer analyzes screen elements beneath the cursor (such as images or text paragraphs)
and displays contextual suggestions to discover available actions (like copy, translate,
or share) when the peripheral input is triggered.

<br />

Constant Value:

24
(0x00000018)


### TYPE_CONTEXTUAL_SEARCH

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_CONTEXTUAL_SEARCH
```

Action type: Contextual Search.


Specifies the action to launch a search experience that allows the user to
search for information about any content displayed on the screen - using gestures like
circling, highlighting, or tapping - without switching apps, when the peripheral
input is triggered.

<br />

Constant Value:

23
(0x00000017)


### TYPE_COPY

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_COPY
```

Action type: Copy.


Specifies the action to trigger copying of any pre-selected content onto the clipboard when
the peripheral input is triggered.

<br />

Constant Value:

26
(0x0000001a)


### TYPE_CUT

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_CUT
```

Action type: Cut.


Specifies the action to trigger cutting of any pre-selected content onto the clipboard when
the peripheral input is triggered.

<br />

Constant Value:

28
(0x0000001c)


### TYPE_DICTATION

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_DICTATION
```

Action type: Dictation.


Specifies the action to start dictation when the peripheral input is triggered.

<br />

Constant Value:

5
(0x00000005)


### TYPE_DO_NOTHING

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_DO_NOTHING
```

Action type: Do nothing.


Specifies that no action should occur when the peripheral input is triggered,
effectively swallowing the default hardware behavior.

<br />

Constant Value:

18
(0x00000012)


### TYPE_EMOJI_MENU

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_EMOJI_MENU
```

Action type: Emoji menu.


Specifies the action to show emoji menu when the peripheral input is triggered.

<br />

Constant Value:

6
(0x00000006)


### TYPE_FORWARD

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_FORWARD
```

Action type: Forward.


Specifies the action to go forward when the peripheral input is triggered.

<br />

Constant Value:

7
(0x00000007)


### TYPE_LOCK

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_LOCK
```

Action type: Lock screen.


Specifies the action to lock screen when the peripheral input is triggered.

<br />

Constant Value:

8
(0x00000008)


### TYPE_MEDIA_NEXT

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_MEDIA_NEXT
```

Action type: Media next.


Specifies the action to skip to the next media track when the peripheral input is triggered.

<br />

Constant Value:

9
(0x00000009)


### TYPE_MEDIA_PLAY_PAUSE

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_MEDIA_PLAY_PAUSE
```

Action type: Media play/pause.


Specifies the action to toggle media play/pause when the peripheral input is triggered.

<br />

Constant Value:

10
(0x0000000a)


### TYPE_MEDIA_PREVIOUS

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_MEDIA_PREVIOUS
```

Action type: Media previous.


Specifies the action to skip to the previous media track when the peripheral input is
triggered.

<br />

Constant Value:

11
(0x0000000b)


### TYPE_PARTIAL_SCREENSHOT

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_PARTIAL_SCREENSHOT
```

Action type: Partial Screenshot.


Specifies the action to activate the system region capture utility to take a partial
screenshot when the peripheral input is triggered.

<br />

Constant Value:

20
(0x00000014)


### TYPE_PASTE

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_PASTE
```

Action type: Paste.


Specifies the action to trigger pasting of the current clipboard content into the focused
input field when the peripheral input is triggered.

<br />

Constant Value:

27
(0x0000001b)


### TYPE_PRINT_SCREEN

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_PRINT_SCREEN
```

Action type: Print screen.


Specifies the action to take a snapshot that is first sent to the foreground
app for handling. If the app does not consume it, the framework captures the
screen, mimicking `https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_SYSRQ`.

<br />

Constant Value:

12
(0x0000000c)


### TYPE_SCREEN_CAPTURE

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_SCREEN_CAPTURE
```

Action type: Screen capture.


Specifies the action to trigger a global framework-level screenshot. Unlike
`https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PRINT_SCREEN`, this action bypasses the
foreground app and typically displays system UI tools for editing or sharing.

<br />

Constant Value:

13
(0x0000000d)


### TYPE_SHOW_DESKTOP

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_SHOW_DESKTOP
```

Action type: Show desktop.


Specifies the action to show desktop when the peripheral input is triggered.

<br />

Constant Value:

14
(0x0000000e)


### TYPE_SWITCH_INPUT_LANGUAGE

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_SWITCH_INPUT_LANGUAGE
```

Action type: Language Switch.


Specifies the action to trigger toggling the current input language when the peripheral
input is triggered.


It can be used for example to switch between English and Japanese on a QWERTY keyboard.

<br />

Constant Value:

29
(0x0000001d)


### TYPE_VOICE_ASSIST

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_VOICE_ASSIST
```

Action type: Voice Assist.


Specifies the action to launch the default assistant for voice input when the peripheral
input is triggered.

<br />

Constant Value:

25
(0x00000019)


### TYPE_VOLUME_DOWN

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_VOLUME_DOWN
```

Action type: Volume down.


Specifies the action to decrease the current system volume level when the peripheral input
is triggered.

<br />

Constant Value:

15
(0x0000000f)


### TYPE_VOLUME_MUTE

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_VOLUME_MUTE
```

Action type: Volume mute.


Specifies the action to toggle the system mute state or mute the current volume when the
peripheral input is triggered.

<br />

Constant Value:

16
(0x00000010)


### TYPE_VOLUME_UP

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int TYPE_VOLUME_UP
```

Action type: Volume up.


Specifies the action to increase the current system volume level when the peripheral input
is triggered.

<br />

Constant Value:

17
(0x00000011)


## Public constructors

### SimpleCustomizationAction

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public SimpleCustomizationAction (int actionType)
```

Creates a new `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction` with the specified action type.

<br />

| Parameters ||
|---|---|
| `actionType` | `int`: The type of action to be performed, such as `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SCREEN_CAPTURE`. Value is one of the following: - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BACK` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BRIGHTNESS_DOWN` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BRIGHTNESS_UP` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CALCULATOR` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_DICTATION` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_EMOJI_MENU` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_FORWARD` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_LOCK` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_NEXT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_PLAY_PAUSE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_PREVIOUS` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PRINT_SCREEN` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SCREEN_CAPTURE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SHOW_DESKTOP` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_DOWN` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_MUTE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_UP` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_DO_NOTHING` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CLOSE_WINDOW` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PARTIAL_SCREENSHOT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_ASSIST` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_INSERT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_SEARCH` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_QUERY` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOICE_ASSIST` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_COPY` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PASTE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CUT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SWITCH_INPUT_LANGUAGE` |

| Throws ||
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalArgumentException` | if the provided action type does not match any defined `https://developer.android.com/`. |

## Public methods

### equals

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public boolean equals (Object o)
```

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 />

| Parameters ||
|---|---|
| `o` | `Object`: the reference object with which to compare. <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if this object is the same as the obj argument; `false` otherwise. <br /> |

### getType

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public int getType ()
```

Returns the specific type of action to be performed.


The returned value corresponds to one of the action type constants,
such as `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SCREEN_CAPTURE` which defines the behavior
triggered by the peripheral customization.

<br />

| Returns ||
|---|---|
| `int` | the type of action. Value is one of the following: - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BACK` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BRIGHTNESS_DOWN` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_BRIGHTNESS_UP` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CALCULATOR` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_DICTATION` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_EMOJI_MENU` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_FORWARD` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_LOCK` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_NEXT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_PLAY_PAUSE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_MEDIA_PREVIOUS` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PRINT_SCREEN` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SCREEN_CAPTURE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SHOW_DESKTOP` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_DOWN` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_MUTE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOLUME_UP` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_DO_NOTHING` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CLOSE_WINDOW` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PARTIAL_SCREENSHOT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_ASSIST` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_INSERT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_SEARCH` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CONTEXTUAL_QUERY` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_VOICE_ASSIST` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_COPY` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_PASTE` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_CUT` - `https://developer.android.com/reference/android/hardware/input/SimpleCustomizationAction#TYPE_SWITCH_INPUT_LANGUAGE` |

### hashCode

Added in [version 37.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public int 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/java/util/HashMap`.


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/java/lang/Object#equals(java.lang.Object)` 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/java/lang/Object#equals(java.lang.Object)` 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 />

<br />

| Returns ||
|---|---|
| `int` | a hash code value for this object. <br /> |