Share via


AccessibilityNodeInfo.LongClickable Property

Definition

Gets whether this node is long clickable. -or- Sets whether this node is long clickable.

public virtual bool LongClickable { [Android.Runtime.Register("isLongClickable", "()Z", "GetIsLongClickableHandler")] get; [Android.Runtime.Register("setLongClickable", "(Z)V", "GetSetLongClickable_ZHandler")] set; }
[<get: Android.Runtime.Register("isLongClickable", "()Z", "GetIsLongClickableHandler")>]
[<set: Android.Runtime.Register("setLongClickable", "(Z)V", "GetSetLongClickable_ZHandler")>]
member this.LongClickable : bool with get, set

Property Value

True if the node is long clickable.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets whether this node is long clickable.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.isLongClickable().

Property setter documentation:

Sets whether this node is long clickable.

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

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setLongClickable(boolean).

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