AccessibilityNodeProvider.PerformAction Method

Definition

Overloads

PerformAction(Int32, GlobalAction, Bundle)

Performs an accessibility action on a virtual view, i.e. a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to HostViewId.

PerformAction(Int32, Action, Bundle)

Performs an accessibility action on a virtual view, such as a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to #HOST_VIEW_ID.

PerformAction(Int32, GlobalAction, Bundle)

Performs an accessibility action on a virtual view, i.e. a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to HostViewId.

public bool PerformAction (int virtualViewId, Android.AccessibilityServices.GlobalAction action, Android.OS.Bundle arguments);
member this.PerformAction : int * Android.AccessibilityServices.GlobalAction * Android.OS.Bundle -> bool

Parameters

virtualViewId
Int32

A client defined virtual view id.

action
GlobalAction

The action to perform.

arguments
Bundle

Optional action arguments.

Returns

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.

See also

Applies to

PerformAction(Int32, Action, Bundle)

Performs an accessibility action on a virtual view, such as a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to #HOST_VIEW_ID.

[Android.Runtime.Register("performAction", "(IILandroid/os/Bundle;)Z", "GetPerformAction_IILandroid_os_Bundle_Handler")]
public virtual bool PerformAction (int virtualViewId, Android.Views.Accessibility.Action action, Android.OS.Bundle? arguments);
[<Android.Runtime.Register("performAction", "(IILandroid/os/Bundle;)Z", "GetPerformAction_IILandroid_os_Bundle_Handler")>]
abstract member PerformAction : int * Android.Views.Accessibility.Action * Android.OS.Bundle -> bool
override this.PerformAction : int * Android.Views.Accessibility.Action * Android.OS.Bundle -> bool

Parameters

virtualViewId
Int32

A client defined virtual view id.

action
Action

The action to perform.

arguments
Bundle

Optional action arguments.

Returns

True if the action was performed.

Attributes

Remarks

Performs an accessibility action on a virtual view, such as a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to #HOST_VIEW_ID.

Java documentation for android.view.accessibility.AccessibilityNodeProvider.performAction(int, int, android.os.Bundle).

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