Package com.banuba.sdk.effect_player
Interface InputManager
- All Known Implementing Classes:
InputManager.CppProxy
public interface InputManager
Class to accepts touches from user.
Key in each map is id of an event.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InputManager.CppProxy
-
Method Summary
Modifier and Type Method Description void
onDoubleTapGesture(Touch pos)
void
onGestureEnded(java.lang.String id)
void
onLongTapGesture(Touch pos)
void
onRotationGesture(float angle)
void
onScaleGesture(float scale)
void
onSwipeGesture(float dirX, float dirY)
void
onTouchesBegan(java.util.HashMap<java.lang.Long,Touch> tocuhes)
void
onTouchesCancelled(java.util.HashMap<java.lang.Long,Touch> tocuhes)
void
onTouchesEnded(java.util.HashMap<java.lang.Long,Touch> tocuhes)
void
onTouchesMoved(java.util.HashMap<java.lang.Long,Touch> tocuhes)
-
Method Details
-
onTouchesBegan
-
onTouchesMoved
-
onTouchesEnded
-
onTouchesCancelled
-
onRotationGesture
void onRotationGesture(float angle) -
onScaleGesture
void onScaleGesture(float scale) -
onSwipeGesture
void onSwipeGesture(float dirX, float dirY) -
onDoubleTapGesture
-
onLongTapGesture
-
onGestureEnded
void onGestureEnded(@NonNull java.lang.String id)
-