Condividi tramite


MotionEvent.InvalidPointerId Field

Definition

An invalid pointer id.

[Android.Runtime.Register("INVALID_POINTER_ID")]
public const int InvalidPointerId = -1;
[<Android.Runtime.Register("INVALID_POINTER_ID")>]
val mutable InvalidPointerId : int

Field Value

Value = -1

Implements

Attributes

Remarks

An invalid pointer id.

This value (-1) can be used as a placeholder to indicate that a pointer id has not been assigned or is not available. It cannot appear as a pointer id inside a MotionEvent.

Java documentation for android.view.MotionEvent.INVALID_POINTER_ID.

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