Android Guides | Samples

Android.App.UiAutomation.PerformGlobalAction Method

Performs a global action.

Syntax

[Android.Runtime.Register("performGlobalAction", "(I)Z", "")]
public Boolean PerformGlobalAction ([Android.Runtime.GeneratedEnum] GlobalAction action)

See Also

Parameters

action
The action to perform.

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.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18