AccessibilityNodeInfo.AddAction(Action) AccessibilityNodeInfo.AddAction(Action) Method

Definition

Warning

This API is now obsolete.

Adds an action that can be performed on the node.

[Android.Runtime.Register("addAction", "(I)V", "GetAddAction_IHandler")]
[System.Obsolete("deprecated")]
public virtual void AddAction (Android.Views.Accessibility.Action action);
abstract member AddAction : Android.Views.Accessibility.Action -> unit
override this.AddAction : Android.Views.Accessibility.Action -> unit

Parameters

action
Action Action

The action.

Exceptions

If called from an AccessibilityService.

If the argument is not one of the standard actions.

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