Interface LongPressListener


public interface LongPressListener

Interface for handling long-press gestures. Long-press gesture occurs after tapping and holding the finger for a long time on the screen.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the double long press gesture occurs.
  • Method Details

    • onLongPress

      void onLongPress(@NonNull GestureState state, @NonNull Point2D origin)

      Called when the double long press gesture occurs.

      Parameters:
      state -

      Determines in which state the gesture is.

      origin -

      Position of the touch point relative to the MapView in pixels.