12345678910111213141516171819202122232425262728 |
-
- #import <Foundation/Foundation.h>
-
- #import <React/RCTEventEmitter.h>
- #import <React/RCTBridgeModule.h>
-
- @interface RNNEventEmitter : RCTEventEmitter <RCTBridgeModule>
-
- -(void)sendOnAppLaunched;
-
- -(void)sendComponentDidAppear:(NSString*)componentId componentName:(NSString*)componentName;
-
- -(void)sendComponentDidDisappear:(NSString*)componentId componentName:(NSString*)componentName;
-
- -(void)sendOnNavigationButtonPressed:(NSString*)componentId buttonId:(NSString*)buttonId;
-
- -(void)sendBottomTabSelected:(NSNumber *)selectedTabIndex unselected:(NSNumber*)unselectedTabIndex;
-
- -(void)sendOnNavigationCommandCompletion:(NSString *)commandName params:(NSDictionary*)params;
-
- -(void)sendOnSearchBarUpdated:(NSString *)componentId text:(NSString*)text isFocused:(BOOL)isFocused;
-
- -(void)sendOnSearchBarCancelPressed:(NSString *)componentId;
-
- -(void)sendOnPreviewCompleted:(NSString *)componentId previewComponentId:(NSString *)previewComponentId;
-
- @end
|