GestureType (API Reference)
Package com.here.sdk.gestures
Enum Class GestureType
- All Implemented Interfaces:
Serializable,Comparable<GestureType>,Constable
Enum that represents the type of a gesture.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDouble-tap performed with one finger.Panning gesture with a one or two fingers.Pinching and rotating gesture using two fingers.Vertical panning gesture with two fingers.Single-tap performed with two fingers. -
Method Summary
Modifier and TypeMethodDescriptionstatic GestureTypeReturns the enum constant of this class with the specified name.static GestureType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TWO_FINGER_TAP
Single-tap performed with two fingers. When performed on a map view, this instantly zooms the map out by a factor of 0.5 and the map becomes twice as small.
-
DOUBLE_TAP
Double-tap performed with one finger. When performed on a map view, this instantly zooms the map in by a factor of 2 and the map becomes twice as big.
-
PAN
Panning gesture with a one or two fingers. When performed on a map view, this continuously moves the map.
-
TWO_FINGER_PAN
Vertical panning gesture with two fingers. When performed on a map view, this continuously tilts the map.
-
PINCH_ROTATE
Pinching and rotating gesture using two fingers. When performed on a map view, this continuously scales, zooms or rotates the map.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-