react-native-navigation的迁移库

RNNEventEmitter.h 503B

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