Android.Views.Accessibility.AccessibilityNodeInfo.AddAction Method
Adds an action that can be performed on the node.

Syntax

[Android.Runtime.Register("addAction", "(I)V", "GetAddAction_IHandler")]
[System.Obsolete("deprecated")]
public virtual void AddAction ([Android.Runtime.GeneratedEnum] Action action)

Parameters

action
The action.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf called from an AccessibilityService.
Java.Lang.IllegalArgumentExceptionIf the argument is not one of the standard actions.

Remarks

Adds an action that can be performed on the node.

Note: Cannot be called from an Android.AccessibilityServices.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

[Android Documentation]

Requirements

Namespace: Android.Views.Accessibility
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14