Sprache

AccessibilityNodeInfo.AccessibilityAction.ActionClick Property

Definition

Action that clicks on the node info.

[Android.Runtime.Register("ACTION_CLICK")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionClick { get; }
[<Android.Runtime.Register("ACTION_CLICK")>]
static member ActionClick : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction

Property Value

Attributes

Remarks

Action that clicks on the node info.

The UI element that implements this should send a AccessibilityEvent.TYPE_VIEW_CLICKED event. In the View system, the default handling of this action when performed by a service is to call View.performClick(), and setting a View.setOnClickListener(View.OnClickListener) automatically adds this action.

AccessibilityNodeInfo.isClickable() should return true if this action is available.

Android reference for android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.

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