MotionEvent.GetToolType(Int32) MotionEvent.GetToolType(Int32) Method

Definition

Gets the tool type of a pointer for the given pointer index.

[Android.Runtime.Register("getToolType", "(I)I", "", ApiSince=14)]
public Android.Views.MotionEventToolType GetToolType (int pointerIndex);
member this.GetToolType : int -> Android.Views.MotionEventToolType

Parameters

pointerIndex
Int32 Int32

Raw index of pointer to retrieve. Value may be from 0 (the first pointer that is down) to PointerCount-1.

Returns

Remarks

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

See also