Share via


KeyEvent.IsLongPress Property

Definition

For #ACTION_DOWN events, indicates that the event has been canceled as per #FLAG_LONG_PRESS.

public bool IsLongPress { [Android.Runtime.Register("isLongPress", "()Z", "")] get; }
[<get: Android.Runtime.Register("isLongPress", "()Z", "")>]
member this.IsLongPress : bool

Property Value

Attributes

Remarks

For #ACTION_DOWN events, indicates that the event has been canceled as per #FLAG_LONG_PRESS.

Java documentation for android.view.KeyEvent.isLongPress().

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