AccessibilityNodeInfo.PerformAction AccessibilityNodeInfo.PerformAction Method

Definition

Overloads

PerformAction(Action) PerformAction(Action)

Performs an action on the node.

PerformAction(Action, Bundle) PerformAction(Action, Bundle)

Performs an action on the node.

PerformAction(Action) PerformAction(Action)

Performs an action on the node.

[Android.Runtime.Register("performAction", "(I)Z", "GetPerformAction_IHandler")]
public virtual bool PerformAction (Android.Views.Accessibility.Action action);
abstract member PerformAction : Android.Views.Accessibility.Action -> bool
override this.PerformAction : Android.Views.Accessibility.Action -> bool

Parameters

action
Action Action

The action to perform.

Returns

Exceptions

If called outside of an AccessibilityService.

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.

PerformAction(Action, Bundle) PerformAction(Action, Bundle)

Performs an action on the node.

[Android.Runtime.Register("performAction", "(ILandroid/os/Bundle;)Z", "GetPerformAction_ILandroid_os_Bundle_Handler", ApiSince=16)]
public virtual bool PerformAction (Android.Views.Accessibility.Action action, Android.OS.Bundle arguments);
abstract member PerformAction : Android.Views.Accessibility.Action * Android.OS.Bundle -> bool
override this.PerformAction : Android.Views.Accessibility.Action * Android.OS.Bundle -> bool

Parameters

action
Action Action

The action to perform.

arguments
Bundle Bundle

A bundle with additional arguments.

Returns

Exceptions

If called outside of an AccessibilityService.

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