/** * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * * Do not edit this file as changes may cause incorrect behavior and will be lost * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once #include namespace facebook::react { class RNSBottomTabsEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnNativeFocusChange { std::string tabKey; }; void onNativeFocusChange(OnNativeFocusChange value) const; }; class RNSBottomTabsScreenEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnLifecycleStateChange { int previousState; int newState; }; struct OnWillAppear { }; struct OnDidAppear { }; struct OnWillDisappear { }; struct OnDidDisappear { }; void onLifecycleStateChange(OnLifecycleStateChange value) const; void onWillAppear(OnWillAppear value) const; void onDidAppear(OnDidAppear value) const; void onWillDisappear(OnWillDisappear value) const; void onDidDisappear(OnDidDisappear value) const; }; class RNSFullWindowOverlayEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSScreenStackHostEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSSplitViewHostEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnCollapse { }; struct OnDisplayModeWillChange { std::string currentDisplayMode; std::string nextDisplayMode; }; struct OnExpand { }; struct OnInspectorHide { }; void onCollapse(OnCollapse value) const; void onDisplayModeWillChange(OnDisplayModeWillChange value) const; void onExpand(OnExpand value) const; void onInspectorHide(OnInspectorHide value) const; }; class RNSSplitViewScreenEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnWillAppear { }; struct OnDidAppear { }; struct OnWillDisappear { }; struct OnDidDisappear { }; void onWillAppear(OnWillAppear value) const; void onDidAppear(OnDidAppear value) const; void onWillDisappear(OnWillDisappear value) const; void onDidDisappear(OnDidDisappear value) const; }; class RNSStackScreenEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnWillAppear { }; struct OnDidAppear { }; struct OnWillDisappear { }; struct OnDidDisappear { }; void onWillAppear(OnWillAppear value) const; void onDidAppear(OnDidAppear value) const; void onWillDisappear(OnWillDisappear value) const; void onDidDisappear(OnDidDisappear value) const; }; class RNSModalScreenEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnAppear { }; struct OnDisappear { }; struct OnDismissed { int dismissCount; }; struct OnNativeDismissCancelled { int dismissCount; }; struct OnWillAppear { }; struct OnWillDisappear { }; struct OnHeaderHeightChange { double headerHeight; }; struct OnTransitionProgress { double progress; int closing; int goingForward; }; struct OnGestureCancel { }; struct OnHeaderBackButtonClicked { }; struct OnSheetDetentChanged { int index; bool isStable; }; void onAppear(OnAppear value) const; void onDisappear(OnDisappear value) const; void onDismissed(OnDismissed value) const; void onNativeDismissCancelled(OnNativeDismissCancelled value) const; void onWillAppear(OnWillAppear value) const; void onWillDisappear(OnWillDisappear value) const; void onHeaderHeightChange(OnHeaderHeightChange value) const; void onTransitionProgress(OnTransitionProgress value) const; void onGestureCancel(OnGestureCancel value) const; void onHeaderBackButtonClicked(OnHeaderBackButtonClicked value) const; void onSheetDetentChanged(OnSheetDetentChanged value) const; }; class RNSScreenContainerEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSScreenContentWrapperEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSScreenFooterEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSScreenEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnAppear { }; struct OnDisappear { }; struct OnDismissed { int dismissCount; }; struct OnNativeDismissCancelled { int dismissCount; }; struct OnWillAppear { }; struct OnWillDisappear { }; struct OnHeaderHeightChange { double headerHeight; }; struct OnTransitionProgress { double progress; int closing; int goingForward; }; struct OnGestureCancel { }; struct OnHeaderBackButtonClicked { }; struct OnSheetDetentChanged { int index; bool isStable; }; void onAppear(OnAppear value) const; void onDisappear(OnDisappear value) const; void onDismissed(OnDismissed value) const; void onNativeDismissCancelled(OnNativeDismissCancelled value) const; void onWillAppear(OnWillAppear value) const; void onWillDisappear(OnWillDisappear value) const; void onHeaderHeightChange(OnHeaderHeightChange value) const; void onTransitionProgress(OnTransitionProgress value) const; void onGestureCancel(OnGestureCancel value) const; void onHeaderBackButtonClicked(OnHeaderBackButtonClicked value) const; void onSheetDetentChanged(OnSheetDetentChanged value) const; }; class RNSScreenNavigationContainerEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSScreenStackHeaderConfigEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnAttached { }; struct OnDetached { }; void onAttached(OnAttached value) const; void onDetached(OnDetached value) const; }; class RNSScreenStackHeaderSubviewEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; }; class RNSScreenStackEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnFinishTransitioning { }; void onFinishTransitioning(OnFinishTransitioning value) const; }; class RNSSearchBarEventEmitter : public ViewEventEmitter { public: using ViewEventEmitter::ViewEventEmitter; struct OnSearchFocus { }; struct OnSearchBlur { }; struct OnSearchButtonPress { std::string text; }; struct OnCancelButtonPress { }; struct OnChangeText { std::string text; }; struct OnClose { }; struct OnOpen { }; void onSearchFocus(OnSearchFocus value) const; void onSearchBlur(OnSearchBlur value) const; void onSearchButtonPress(OnSearchButtonPress value) const; void onCancelButtonPress(OnCancelButtonPress value) const; void onChangeText(OnChangeText value) const; void onClose(OnClose value) const; void onOpen(OnOpen value) const; }; } // namespace facebook::react