Dil

GlobalAction Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum GlobalAction
type GlobalAction = 
Inheritance
GlobalAction

Fields

Name Value Description
Back 1

Action to go back.

Home 2

Action to go home.

Recents 3

Action to open the recent apps.

Notifications 4

Action to open the notifications.

QuickSettings 5

Action to open the quick settings.

PowerDialog 6

Action to open the power long-press dialog.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_POWER_DIALOG.

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.

ToggleSplitScreen 7

Action to toggle docking the current app's window.

Note: It is effective only if it appears in getSystemActions().

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_TOGGLE_SPLIT_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.

LockScreen 8

Action to lock the screen

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_LOCK_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.

TakeScreenshot 9

Action to take a screenshot

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_TAKE_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.

KeycodeHeadsetHook 10

Action to send the KEYCODE_HEADSETHOOK KeyEvent, which is used to answer and hang up calls and play and stop media. Calling takes priority. If there is an incoming call, this action can be used to answer that call, and if there is an ongoing call, to hang up on that call.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_KEYCODE_HEADSETHOOK.

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.

AccessibilityButton 11

Action to trigger the Accessibility Button

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_ACCESSIBILITY_BUTTON.

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.

AccessibilityButtonChooser 12

Action to bring up the Accessibility Button's chooser menu

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_ACCESSIBILITY_BUTTON_CHOOSER.

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.

AccessibilityShortcut 13

Action to trigger the Accessibility Shortcut. This shortcut has a hardware trigger and can be activated by holding down the two volume keys.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_ACCESSIBILITY_SHORTCUT.

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.

AccessibilityAllApps 14

Action to show Launcher's all apps.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_ACCESSIBILITY_ALL_APPS.

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.

DismissNotificationShade 15

Action to dismiss the notification shade

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DISMISS_NOTIFICATION_SHADE.

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.

DpadUp 16

Action to trigger dpad up keyevent.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_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.

DpadDown 17

Action to trigger dpad down keyevent.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_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.

DpadLeft 18

Action to trigger dpad left keyevent.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_LEFT.

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.

DpadRight 19

Action to trigger dpad right keyevent.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_RIGHT.

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.

DpadCenter 20

Action to trigger dpad center keyevent.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_CENTER.

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.

Menu 21

Action to trigger menu key event.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_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.

MediaPlayPause 22

Action to trigger media play/pause key event.

Android reference for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_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.

Remarks

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