AccessibilityNodeInfo.AccessibilityAction.ActionLongClick Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Action that long clicks on the node.
[Android.Runtime.Register("ACTION_LONG_CLICK")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionLongClick { get; }
[<Android.Runtime.Register("ACTION_LONG_CLICK")>]
static member ActionLongClick : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction
Property Value
- Attributes
Remarks
Action that long clicks on the node.
The UI element that implements this should send a AccessibilityEvent.TYPE_VIEW_LONG_CLICKED event. In the View system, the default handling of this action when performed by a service is to call View.performLongClick(), and setting a View.setOnLongClickListener(View.OnLongClickListener) automatically adds this action.
AccessibilityNodeInfo.isLongClickable() should return true if this action is available.
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.