MotionEvent.ClassificationDeepPress Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.ClassificationMode enum directly instead of this field.

Classification constant: Deep press.

[Android.Runtime.Register("CLASSIFICATION_DEEP_PRESS", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.ClassificationMode enum directly instead of this field.", true)]
public const Android.Views.ClassificationMode ClassificationDeepPress = 2;
[<Android.Runtime.Register("CLASSIFICATION_DEEP_PRESS", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.ClassificationMode enum directly instead of this field.", true)>]
val mutable ClassificationDeepPress : Android.Views.ClassificationMode

Field Value

Value = 2

Implements

Attributes

Remarks

Classification constant: Deep press.

The current event stream represents the user intentionally pressing harder on the screen. This classification type should be used to accelerate the long press behaviour.

Java documentation for android.view.MotionEvent.CLASSIFICATION_DEEP_PRESS.

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