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
All Methods Instance Methods Abstract Methods 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 Detail
-
onTouchesBegan
void onTouchesBegan(@NonNull java.util.HashMap<java.lang.Long,Touch> tocuhes)
-
onTouchesMoved
void onTouchesMoved(@NonNull java.util.HashMap<java.lang.Long,Touch> tocuhes)
-
onTouchesEnded
void onTouchesEnded(@NonNull java.util.HashMap<java.lang.Long,Touch> tocuhes)
-
onTouchesCancelled
void onTouchesCancelled(@NonNull java.util.HashMap<java.lang.Long,Touch> tocuhes)
-
onRotationGesture
void onRotationGesture(float angle)
-
onScaleGesture
void onScaleGesture(float scale)
-
onSwipeGesture
void onSwipeGesture(float dirX, float dirY)
-
onDoubleTapGesture
void onDoubleTapGesture(@NonNull Touch pos)
-
onLongTapGesture
void onLongTapGesture(@NonNull Touch pos)
-
onGestureEnded
void onGestureEnded(@NonNull java.lang.String id)
-
-