Banuba SDK
BNBInputManager.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from effect_player.djinni
3 
4 #import "BNBTouch.h"
5 #import <Foundation/Foundation.h>
6 
7 
8 /**
9  * Class to accepts touches from user.
10  *
11  * Key in each map is id of an event.
12  */
13 @interface BNBInputManager : NSObject
14 
15 - (void)onTouchesBegan:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
16 
17 - (void)onTouchesMoved:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
18 
19 - (void)onTouchesEnded:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
20 
21 - (void)onTouchesCancelled:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
22 
23 - (void)onRotationGesture:(float)angle;
24 
25 - (void)onScaleGesture:(float)scale;
26 
27 - (void)onSwipeGesture:(float)dirX
28  dirY:(float)dirY;
29 
30 - (void)onDoubleTapGesture:(nonnull BNBTouch *)pos;
31 
32 - (void)onLongTapGesture:(nonnull BNBTouch *)pos;
33 
34 - (void)onGestureEnded:(nonnull NSString *)id;
35 
36 @end
BNBTouch
User touch object.
Definition: BNBTouch.h:11
BNBInputManager
Class to accepts touches from user.
Definition: BNBInputManager.h:14
BNBTouch.h