public static enum TouchEvent.Type extends java.lang.Enum<TouchEvent.Type>
| Enum Constant and Description | 
|---|
| DOUBLETAP | 
| DOWNTouch down event, fields: posX, posY, pressure | 
| FLING | 
| HOVER_ENDFinger was pulled away from the screen or touched the screen
 Requires Android OS rev 14 or higher (Android 4.0 or higher) | 
| HOVER_MOVEFinger moved while still hovering over the screen without touching
 Requires Android OS rev 14 or higher (Android 4.0 or higher) | 
| HOVER_STARTFinger started hovering over the screen without touching
 Requires Android OS rev 14 or higher (Android 4.0 or higher) | 
| IDLE | 
| KEY_DOWNVirtual keyboard or hardware key event down, fields: keyCode, characters | 
| KEY_UPVirtual keyboard or hardware key event up, fields: keyCode, characters | 
| LONGPRESSED | 
| MOVEMove/Drag event, fields: posX, posY, deltaX, deltaY, pressure | 
| OUTSIDE | 
| SCALE_ENDTwo finger scale event end, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan | 
| SCALE_MOVETwo finger scale event, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan | 
| SCALE_STARTTwo finger scale event start, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan | 
| SCROLLScroll event | 
| SHOWPRESSThe user has performed a down MotionEvent and not performed a move or up yet. | 
| TAP | 
| UPTouch up event, fields: posX, posY, pressure | 
| Modifier and Type | Method and Description | 
|---|---|
| static TouchEvent.Type | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static TouchEvent.Type[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TouchEvent.Type DOWN
public static final TouchEvent.Type MOVE
public static final TouchEvent.Type UP
public static final TouchEvent.Type KEY_DOWN
public static final TouchEvent.Type KEY_UP
public static final TouchEvent.Type FLING
public static final TouchEvent.Type TAP
public static final TouchEvent.Type DOUBLETAP
public static final TouchEvent.Type LONGPRESSED
public static final TouchEvent.Type HOVER_START
public static final TouchEvent.Type HOVER_MOVE
public static final TouchEvent.Type HOVER_END
public static final TouchEvent.Type SCALE_START
public static final TouchEvent.Type SCALE_MOVE
public static final TouchEvent.Type SCALE_END
public static final TouchEvent.Type SCROLL
public static final TouchEvent.Type SHOWPRESS
public static final TouchEvent.Type OUTSIDE
public static final TouchEvent.Type IDLE
public static TouchEvent.Type[] values()
for (TouchEvent.Type c : TouchEvent.Type.values()) System.out.println(c);
public static TouchEvent.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null