2016-02-03 13:22:16 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2016-02-03 13:22:16 +00:00
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-02-03 13:22:16 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2016-11-23 15:47:52 +00:00
|
|
|
#import <React/RCTEventDispatcher.h>
|
2016-02-03 13:22:16 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Represents a touch event, which may be composed of several touches (one for every finger).
|
|
|
|
* For more information on contents of passed data structures see RCTTouchHandler.
|
|
|
|
*/
|
|
|
|
@interface RCTTouchEvent : NSObject <RCTEvent>
|
|
|
|
|
|
|
|
- (instancetype)initWithEventName:(NSString *)eventName
|
2016-09-16 23:12:17 +00:00
|
|
|
reactTag:(NSNumber *)reactTag
|
2016-02-03 13:22:16 +00:00
|
|
|
reactTouches:(NSArray<NSDictionary *> *)reactTouches
|
2016-04-01 13:53:10 +00:00
|
|
|
changedIndexes:(NSArray<NSNumber *> *)changedIndexes
|
|
|
|
coalescingKey:(uint16_t)coalescingKey NS_DESIGNATED_INITIALIZER;
|
2016-02-03 13:22:16 +00:00
|
|
|
@end
|