UiAutomation.PerformGlobalAction(GlobalAction) Method

Definition

Performs a global action.

[Android.Runtime.Register("performGlobalAction", "(I)Z", "")]
public bool PerformGlobalAction (Android.AccessibilityServices.GlobalAction action);
[<Android.Runtime.Register("performGlobalAction", "(I)Z", "")>]
member this.PerformGlobalAction : Android.AccessibilityServices.GlobalAction -> bool

Parameters

action
GlobalAction

The action to perform.

Returns

Whether the action was successfully performed.

Attributes

Remarks

Performs a global action. Such an action can be performed at any moment regardless of the current application or user location in that application. For example going back, going home, opening recents, etc.

Java documentation for android.app.UiAutomation.performGlobalAction(int).

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

See also