Interface TwoFingerPanListener
Package com.here.sdk.gestures
Interface TwoFingerPanListener
-
public interface TwoFingerPanListenerInterface for handling two finger pan gestures. Two finger pan gesture occurs when two fingers are on the screen and both of them are moving vertically.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTwoFingerPan(GestureState state, Point2D origin, Point2D translation, double velocity)Called when the two finger pan gesture occurs.
-
-
-
Method Detail
-
onTwoFingerPan
void onTwoFingerPan(@NonNull GestureState state, @NonNull Point2D origin, @NonNull Point2D translation, double velocity)Called when the two finger pan gesture occurs.
- Parameters:
state-Determines in which state the gesture is.
origin-Position halfway between two touch points relative to the MapView in pixels.
translation-Translation offset since the last position in pixels.
velocity-Velocity of panning in pixels per millisecond.
-
-