Språk

SimpleCustomizationActionType Enum

Definition

public enum SimpleCustomizationActionType
type SimpleCustomizationActionType = 
Inheritance
SimpleCustomizationActionType

Fields

Name Value Description
Back 1

Action type: Back.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_BACK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BrightnessDown 2

Action type: Brightness down.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_BRIGHTNESS_DOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BrightnessUp 3

Action type: Brightness up.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_BRIGHTNESS_UP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Calculator 4

Action type: Calculator.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_CALCULATOR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Dictation 5

Action type: Dictation.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_DICTATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

EmojiMenu 6

Action type: Emoji menu.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_EMOJI_MENU.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Forward 7

Action type: Forward.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_FORWARD.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Lock 8

Action type: Lock screen.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_LOCK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MediaNext 9

Action type: Media next.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_MEDIA_NEXT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MediaPlayPause 10

Action type: Media play/pause.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_MEDIA_PLAY_PAUSE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MediaPrevious 11

Action type: Media previous.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_MEDIA_PREVIOUS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

PrintScreen 12

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 KeyEvent.KEYCODE_SYSRQ.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_PRINT_SCREEN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ScreenCapture 13

Action type: Screen capture.

Specifies the action to trigger a global framework-level screenshot. Unlike TYPE_PRINT_SCREEN, this action bypasses the foreground app and typically displays system UI tools for editing or sharing.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_SCREEN_CAPTURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ShowDesktop 14

Action type: Show desktop.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_SHOW_DESKTOP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VolumeDown 15

Action type: Volume down.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_VOLUME_DOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VolumeMute 16

Action type: Volume mute.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_VOLUME_MUTE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VolumeUp 17

Action type: Volume up.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_VOLUME_UP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DoNothing 18

Action type: Do nothing.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_DO_NOTHING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

CloseWindow 19

Action type: Close window.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_CLOSE_WINDOW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

PartialScreenshot 20

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.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_PARTIAL_SCREENSHOT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Assist 21

Action type: Assist.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_ASSIST.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ContextualInsert 22

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.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_CONTEXTUAL_INSERT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ContextualSearch 23

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.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_CONTEXTUAL_SEARCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ContextualQuery 24

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.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_CONTEXTUAL_QUERY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VoiceAssist 25

Action type: Voice Assist.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_VOICE_ASSIST.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Copy 26

Action type: Copy.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_COPY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Paste 27

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.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_PASTE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Cut 28

Action type: Cut.

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

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_CUT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SwitchInputLanguage 29

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.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_SWITCH_INPUT_LANGUAGE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to