The Glass Explorer Edition SDK is deprecated. This documentation remains as a historical reference.
Gesture
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
Gesture
is a list of touchpad gestures that were added in API level XE12.
The enum values include various single, double, and triple finger tap, long press, and swipe gestures in different directions (up, down, left, right).
This API allows developers to detect and respond to these touchpad gestures within their applications.
It inherits methods from java.lang.Enum
, java.lang.Object
, and java.lang.Comparable
for object manipulation and comparison.
A list of gestures detected on the touchpad.
Inherited Methods
From class
java.lang.Enum
final
Object
clone ()
int
final
int
compareTo (E arg0)
final
boolean
final
void
finalize ()
final
Class <E>
getDeclaringClass ()
final
int
hashCode ()
final
String
name ()
final
int
ordinal ()
String
toString ()
static
<T extends Enum <T>>
T
From class
java.lang.Object
Object
clone ()
boolean
void
finalize ()
final
Class <?>
getClass ()
int
hashCode ()
final
void
notify ()
final
void
notifyAll ()
String
toString ()
final
void
wait ()
final
void
wait (long arg0, int arg1)
final
void
wait (long arg0)
From interface
java.lang.Comparable
abstract
int
compareTo (T arg0)
Enum Values
Added in API level XE12
public
static
final
Gesture
LONG_PRESS
Added in API level XE12
public
static
final
Gesture
SWIPE_DOWN
Added in API level XE12
public
static
final
Gesture
SWIPE_LEFT
Added in API level XE12
public
static
final
Gesture
SWIPE_RIGHT
Added in API level XE12
public
static
final
Gesture
SWIPE_UP
Added in API level XE12
public
static
final
Gesture
TAP
Added in API level XE12
public
static
final
Gesture
THREE_LONG_PRESS
Added in API level XE12
public
static
final
Gesture
THREE_TAP
Added in API level XE12
public
static
final
Gesture
TWO_LONG_PRESS
Added in API level XE12
public
static
final
Gesture
TWO_SWIPE_DOWN
Added in API level XE12
public
static
final
Gesture
TWO_SWIPE_LEFT
Added in API level XE12
public
static
final
Gesture
TWO_SWIPE_RIGHT
Added in API level XE12
public
static
final
Gesture
TWO_SWIPE_UP
Added in API level XE12
public
static
final
Gesture
TWO_TAP
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],[]]