Class ScrollHandler
Package com.here.sdk.gestures
Class ScrollHandler
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.gestures.ScrollHandler
-
public final class ScrollHandler extends NativeBase
This class handles scroll events by panning the map accordingly.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonScroll(float translationX, float translationY)To be called to trigger scroll gesture handling.
-
-
-
Method Detail
-
onScroll
public void onScroll(float translationX, float translationY)To be called to trigger scroll gesture handling.
- Parameters:
translationX-Translation along x axis in pixels. Values > 0 are interpreted as translation left and values < 0 as translation right.
translationY-Translation along y axis in pixels. Values > 0 are interpreted as translation up and values < 0 as translation down.
-
-