Android.Views.MotionEvent.GetToolType Method
Gets the tool type of a pointer for the given pointer index.

Syntax

[Android.Runtime.Register("getToolType", "(I)I", "")]
[return:Android.Runtime.GeneratedEnum]
public MotionEventToolType GetToolType (int pointerIndex)

See Also

MotionEvent.ToolTypeUnknown
MotionEvent.ToolTypeFinger
MotionEvent.ToolTypeStylus
MotionEvent.ToolTypeMouse

Parameters

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

Returns

Documentation for this section has not yet been entered.

Remarks

Gets the tool type of a pointer for the given pointer index. The tool type indicates the type of tool used to make contact such as a finger or stylus, if known.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14