Interface LongPressListener
Package com.here.sdk.gestures
Interface LongPressListener
-
public interface LongPressListenerInterface for handling long-press gestures. Long-press gesture occurs after tapping and holding the finger for a long time on the screen.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLongPress(GestureState state, Point2D origin)Called when the double long press gesture occurs.
-
-
-
Method Detail
-
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.
-
-