Share via


View.AccessibilityDelegate.PerformAccessibilityAction Method

Definition

Overloads

PerformAccessibilityAction(View, GlobalAction, Bundle)
Obsolete.

Performs the specified accessibility action on the view.

PerformAccessibilityAction(View, Action, Bundle)

Performs the specified accessibility action on the view.

PerformAccessibilityAction(View, GlobalAction, Bundle)

Caution

This method takes incorrect enum type. Please use PerformAccessibilityAction() overload with Action instead.

Performs the specified accessibility action on the view.

[System.Obsolete("This method takes incorrect enum type. Please use PerformAccessibilityAction() overload with Action instead.")]
public bool PerformAccessibilityAction (Android.Views.View host, Android.AccessibilityServices.GlobalAction action, Android.OS.Bundle args);
[<System.Obsolete("This method takes incorrect enum type. Please use PerformAccessibilityAction() overload with Action instead.")>]
member this.PerformAccessibilityAction : Android.Views.View * Android.AccessibilityServices.GlobalAction * Android.OS.Bundle -> bool

Parameters

host
View
action
GlobalAction

The action to perform.

args
Bundle

Returns

Attributes

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

  • <xref:Android.Views.View.PerformAccessibilityAction(Android.AccessibilityServices.GlobalAction%2c+Android.OS.Bundle)>

Applies to

PerformAccessibilityAction(View, Action, Bundle)

Performs the specified accessibility action on the view.

[Android.Runtime.Register("performAccessibilityAction", "(Landroid/view/View;ILandroid/os/Bundle;)Z", "GetPerformAccessibilityAction_Landroid_view_View_ILandroid_os_Bundle_Handler")]
public virtual bool PerformAccessibilityAction (Android.Views.View host, Android.Views.Accessibility.Action action, Android.OS.Bundle? args);
[<Android.Runtime.Register("performAccessibilityAction", "(Landroid/view/View;ILandroid/os/Bundle;)Z", "GetPerformAccessibilityAction_Landroid_view_View_ILandroid_os_Bundle_Handler")>]
abstract member PerformAccessibilityAction : Android.Views.View * Android.Views.Accessibility.Action * Android.OS.Bundle -> bool
override this.PerformAccessibilityAction : Android.Views.View * Android.Views.Accessibility.Action * Android.OS.Bundle -> bool

Parameters

host
View
action
Action

The action to perform.

args
Bundle

Returns

Whether the action was performed.

Attributes

Remarks

Performs the specified accessibility action on the view. For possible accessibility actions look at AccessibilityNodeInfo.

The default implementation behaves as View#performAccessibilityAction(int, Bundle) View#performAccessibilityAction(int, Bundle) for the case of no accessibility delegate been set.

Java documentation for android.view.View.AccessibilityDelegate.performAccessibilityAction(android.view.View, 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