Banuba SDK
BNBInputManager.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was 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 
14 #ifndef DJINNI_EXPORT
15  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
16 #endif
17 
19 @interface BNBInputManager : NSObject
20 
21 - (void)onTouchesBegan:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
22 
23 - (void)onTouchesMoved:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
24 
25 - (void)onTouchesEnded:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
26 
27 - (void)onTouchesCancelled:(nonnull NSDictionary<NSNumber *, BNBTouch *> *)tocuhes;
28 
29 - (void)onRotationGesture:(float)angle;
30 
31 - (void)onScaleGesture:(float)scale;
32 
33 - (void)onSwipeGesture:(float)dirX
34  dirY:(float)dirY;
35 
36 - (void)onDoubleTapGesture:(nonnull BNBTouch *)pos;
37 
38 - (void)onLongTapGesture:(nonnull BNBTouch *)pos;
39 
40 - (void)onGestureEnded:(nonnull NSString *)id;
41 
42 @end
BNBTouch
Definition: BNBTouch.h:16
DJINNI_EXPORT
#define DJINNI_EXPORT
for order of values in action units array see action_units_indices enum
Definition: BNBActionUnits.h:9
BNBInputManager
Class to accepts touches from user.
Definition: BNBInputManager.h:19
BNBTouch.h