react-native-navigation的迁移库

RNNEventEmitter.h 653B

12345678910111213141516171819202122
  1. #import <Foundation/Foundation.h>
  2. #import <React/RCTEventEmitter.h>
  3. #import <React/RCTBridgeModule.h>
  4. @interface RNNEventEmitter : RCTEventEmitter <RCTBridgeModule>
  5. -(void)sendOnAppLaunched;
  6. -(void)sendComponentDidAppear:(NSString*)componentId componentName:(NSString*)componentName;
  7. -(void)sendComponentDidDisappear:(NSString*)componentId componentName:(NSString*)componentName;
  8. -(void)sendOnNavigationButtonPressed:(NSString*)componentId buttonId:(NSString*)buttonId;
  9. -(void)sendOnNavigationEvent:(NSString *)commandName params:(NSDictionary*)params;
  10. -(void)sendOnNavigationCommand:(NSString *)commandName params:(NSDictionary*)params;
  11. @end