2016-02-03 16:22:16 +03:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 05:24:55 +03: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 16:22:16 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2016-11-23 18:47:52 +03:00
|
|
|
#import <React/RCTEventDispatcher.h>
|
2016-02-03 16:22:16 +03: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-17 02:12:17 +03:00
|
|
|
reactTag:(NSNumber *)reactTag
|
2016-02-03 16:22:16 +03:00
|
|
|
reactTouches:(NSArray<NSDictionary *> *)reactTouches
|
2016-04-01 16:53:10 +03:00
|
|
|
changedIndexes:(NSArray<NSNumber *> *)changedIndexes
|
|
|
|
coalescingKey:(uint16_t)coalescingKey NS_DESIGNATED_INITIALIZER;
|
2016-02-03 16:22:16 +03:00
|
|
|
@end
|