MotionEventToolType Enum

Definition

Enumerates values returned by several types.

public enum MotionEventToolType
type MotionEventToolType = 
Inheritance
MotionEventToolType

Fields

Eraser 4

Tool type constant: The tool is an eraser or a stylus being used in an inverted posture.

Finger 1

Tool type constant: The tool is a finger.

Mouse 3

Tool type constant: The tool is a mouse or trackpad.

Stylus 2

Tool type constant: The tool is a stylus.

Unknown 0

Tool type constant: Unknown tool type. This constant is used when the tool type is not known or is not relevant, such as for a trackball or other non-pointing device.

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