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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDoubleTapGesture
(Touch pos) void
onGestureEnded
(String id) void
onLongTapGesture
(Touch pos) void
onRotationGesture
(float angle) void
onScaleGesture
(float scale) void
onSwipeGesture
(float dirX, float dirY) void
onTouchesBegan
(HashMap<Long, Touch> tocuhes) void
onTouchesCancelled
(HashMap<Long, Touch> tocuhes) void
onTouchesEnded
(HashMap<Long, Touch> tocuhes) void
onTouchesMoved
(HashMap<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
-