Compartir a través de


AccessibilityNodeInfo.RemoveAction Method

Definition

Overloads

RemoveAction(AccessibilityNodeInfo+AccessibilityAction)

Removes an action that can be performed on the node.

RemoveAction(Int32)
Obsolete.

Removes an action that can be performed on the node.

RemoveAction(AccessibilityNodeInfo+AccessibilityAction)

Removes an action that can be performed on the node.

[Android.Runtime.Register("removeAction", "(Landroid/view/accessibility/AccessibilityNodeInfo$AccessibilityAction;)Z", "GetRemoveAction_Landroid_view_accessibility_AccessibilityNodeInfo_AccessibilityAction_Handler")]
public virtual bool RemoveAction (Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction? action);
[<Android.Runtime.Register("removeAction", "(Landroid/view/accessibility/AccessibilityNodeInfo$AccessibilityAction;)Z", "GetRemoveAction_Landroid_view_accessibility_AccessibilityNodeInfo_AccessibilityAction_Handler")>]
abstract member RemoveAction : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction -> bool
override this.RemoveAction : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction -> bool

Parameters

action
AccessibilityNodeInfo.AccessibilityAction

The action to be removed.

Returns

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Java documentation for android.view.accessibility.AccessibilityNodeInfo.removeAction(int).

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

RemoveAction(Int32)

Caution

deprecated

Removes an action that can be performed on the node.

[Android.Runtime.Register("removeAction", "(I)V", "GetRemoveAction_IHandler")]
[System.Obsolete("deprecated")]
public virtual void RemoveAction (int action);
[<Android.Runtime.Register("removeAction", "(I)V", "GetRemoveAction_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveAction : int -> unit
override this.RemoveAction : int -> unit

Parameters

action
Int32

The action to be removed.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Removes an action that can be performed on the node. If the action was not already added to the node, calling this method has no effect.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

This member is deprecated. Use #removeAction(AccessibilityAction)

Java documentation for android.view.accessibility.AccessibilityNodeInfo.removeAction(int).

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