xref: /expo/ios/vendored/unversioned/react-native-gesture-handler/ios/RNGestureHandlerPointerTracker.h (revision b83210f6)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #import <Foundation/Foundation.h>
2 
3 #import "RNGHTouchEventType.h"
4 
5 #define MAX_POINTERS_COUNT 12
6 
7 @class RNGestureHandler;
8 
9 @interface RNGestureHandlerPointerTracker : NSObject
10 
11 @property (nonatomic) RNGHTouchEventType eventType;
12 @property (nonatomic) NSArray<NSDictionary *> *changedPointersData;
13 @property (nonatomic) NSArray<NSDictionary *> *allPointersData;
14 @property (nonatomic) int trackedPointersCount;
15 
16 - (id)initWithGestureHandler:(RNGestureHandler *)gestureHandler;
17 
18 - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
19 - (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
20 - (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
21 - (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
22 - (void)reset;
23 - (void)cancelPointers;
24 
25 @end
26 

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026