Udostępnij za pośrednictwem


MotionEventToolType Enum

Definition

Enumerates values returned by several types.

public enum MotionEventToolType
type MotionEventToolType = 
Inheritance
MotionEventToolType

Fields

Name Value Description
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.

Finger 1

Tool type constant: The tool is a finger.

Stylus 2

Tool type constant: The tool is a stylus.

Mouse 3

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

Eraser 4

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

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