LongPressListener (API Reference)
Package com.here.sdk.gestures
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 TypeMethodDescriptionvoidonLongPress(GestureState state, Point2D origin) Called when the double long press gesture occurs.
-
Method Details
-
onLongPress
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.
-