Enum Class GestureState

java.lang.Object
java.lang.Enum<GestureState>
com.here.sdk.gestures.GestureState
All Implemented Interfaces:
Serializable, Comparable<GestureState>, Constable

public enum GestureState extends Enum<GestureState>

Represents the state of the gesture.

  • Enum Constant Details

    • BEGIN

      public static final GestureState BEGIN

      The gesture has started.

    • UPDATE

      public static final GestureState UPDATE

      The gesture was updated.

    • END

      public static final GestureState END

      The gesture was completed.

    • CANCEL

      public static final GestureState CANCEL

      The gesture was canceled. This will happen when the map view looses the focus for example due to displaying a modal dialog or the app being sent to background.

  • Method Details

    • values

      public static GestureState[] 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

      public static GestureState valueOf(String name)
      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 name
      NullPointerException - if the argument is null