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.
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."],[[["\u003cp\u003e\u003ccode\u003eGesture\u003c/code\u003e is a list of touchpad gestures that were added in API level XE12.\u003c/p\u003e\n"],["\u003cp\u003eThe enum values include various single, double, and triple finger tap, long press, and swipe gestures in different directions (up, down, left, right).\u003c/p\u003e\n"],["\u003cp\u003eThis API allows developers to detect and respond to these touchpad gestures within their applications.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from \u003ccode\u003ejava.lang.Enum\u003c/code\u003e, \u003ccode\u003ejava.lang.Object\u003c/code\u003e, and \u003ccode\u003ejava.lang.Comparable\u003c/code\u003e for object manipulation and comparison.\u003c/p\u003e\n"]]],[],null,["# Gesture\n\nAdded in API level XE12 \nA list of gestures detected on the touchpad. \n\n| Inherited Methods ||||||||||||\n|---|---|---|---|---|---|---|---|---|---|---|---|\n| From class java.lang.Enum |------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | final [Object](http://developer.android.com/reference/java/lang/Object.html) | clone() | | int | compareTo([Object](http://developer.android.com/reference/java/lang/Object.html) arg0) | | final int | compareTo(E arg0) | | final boolean | equals([Object](http://developer.android.com/reference/java/lang/Object.html) arg0) | | final void | finalize() | | final [Class](http://developer.android.com/reference/java/lang/Class.html)\\\u003cE\\\u003e | getDeclaringClass() | | final int | hashCode() | | final [String](http://developer.android.com/reference/java/lang/String.html) | name() | | final int | ordinal() | | [String](http://developer.android.com/reference/java/lang/String.html) | toString() | | static \\\u003cT extends [Enum](http://developer.android.com/reference/java/lang/Enum.html)\\\u003cT\\\u003e\\\u003e T | valueOf([Class](http://developer.android.com/reference/java/lang/Class.html)\\\u003cT\\\u003e arg0, [String](http://developer.android.com/reference/java/lang/String.html) arg1) | ||||||||||||\n| From class java.lang.Object |---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------| | [Object](http://developer.android.com/reference/java/lang/Object.html) | clone() | | boolean | equals([Object](http://developer.android.com/reference/java/lang/Object.html) arg0) | | void | finalize() | | final [Class](http://developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | [String](http://developer.android.com/reference/java/lang/String.html) | toString() | | final void | wait() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | ||||||||||||\n| From interface java.lang.Comparable |--------------|-------------------| | abstract int | compareTo(T arg0) | ||||||||||||\n\nEnum Values\n-----------\n\nAdded in API level XE12\n\n#### public static final Gesture\n**LONG_PRESS**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**SWIPE_DOWN**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**SWIPE_LEFT**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**SWIPE_RIGHT**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**SWIPE_UP**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TAP**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**THREE_LONG_PRESS**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**THREE_TAP**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TWO_LONG_PRESS**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TWO_SWIPE_DOWN**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TWO_SWIPE_LEFT**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TWO_SWIPE_RIGHT**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TWO_SWIPE_UP**\n\n\u003cbr /\u003e\n\nAdded in API level XE12\n\n#### public static final Gesture\n**TWO_TAP**\n\n\u003cbr /\u003e"]]