-
public class RotationGestureDetectorheads up, this class is used internally by osmdroid, you're welcome to use but it the interface RotationListener will not fire as expected. It is used internally by osmdroid. If you want to listen for rotation changes on the org.osmdroid.views.MapView then use setMapListener and check for getMapOrientation. See https://github.com/osmdroid/osmdroid/issues/628
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRotationGestureDetector.RotationListenerheads up, this class is used internally by osmdroid, you're welcome to use but it the interface RotationListener will not fire as expected. It is used internally by osmdroid. If you wantto listen for rotation changes on the org.osmdroid.views.MapView then use setMapListener and check for getMapOrientation See https://github.com/osmdroid/osmdroid/issues/628
-
Constructor Summary
Constructors Constructor Description RotationGestureDetector(RotationGestureDetector.RotationListener listener)
-
Method Summary
Modifier and Type Method Description voidonTouch(MotionEvent e)voidsetEnabled(boolean pEnabled)booleanisEnabled()-
-
Constructor Detail
-
RotationGestureDetector
RotationGestureDetector(RotationGestureDetector.RotationListener listener)
-
-
Method Detail
-
onTouch
void onTouch(MotionEvent e)
-
setEnabled
void setEnabled(boolean pEnabled)
-
isEnabled
boolean isEnabled()
-
-
-
-