Methods
-
<static> setRegisteredRoute( route )
-
Description
Set the registered route for this component.Parameters
Name Type Description routestring The registered route for this component. Details
-
<static> getRegisteredRoute() → {string}
-
Description
Get the registered route for this component.Returns
Details
-
<static> setAppNavigator( appNavigator )
-
Description
Set the AppNavigator for this component.Parameters
Name Type Description appNavigatorAppNavigator The AppNavigator for this component. Details
-
<static> getAppNavigator() → {AppNavigator}
-
<abstract, static> getDynamicTitle( jsonPayload )
-
Description
Calculate the title for the current route based on the JSON payload. Must be overridden in subclasses.Parameters
Name Type Description jsonPayloadObject The JSON payload for the current route. Details
-
<abstract, static> onNavButtonPress( buttonId )
-
Description
Handle button press events. Must be overridden in subclasses.Parameters
Name Type Description buttonIdstring The ID of the button which was pressed. Details
-
<abstract, static> onFocus()
-
Description
Handle focus events.Details
-
<abstract, static> onBlur()
-
Description
Handle blur events.Details
-
<abstract, static> onAppData()
-
Description
Handle appData events.Details
-
<async> resetNavigationBar() → {Promise}
-
Description
Reset the navigation bar for the current screen to its defaults.Returns
Details
-
<async> updateNavigationBar( navigationBar ) → {Promise}
-
Description
Update the navigation bar for the current screen.Parameters
Name Type Description navigationBarNavigationBar The NavigationBar object. Returns
Details
-
<async> navigate( route ) → {Promise}
-
Description
Navigate to a given route.Parameters
Name Type Description routeObject The route object that details where to navigate next. Returns
Details
-
<async> navigateInternal( screenName [, jsonPayload [, options ] ] ) → {Promise}
-
Description
Navigate to an internal screen.Parameters
Name Type Attributes Description screenNamestring The name of the screen to navigate to; these names should be defined in the initial AppNavigator setup. jsonPayloadObject <optional> (optional) The JSON payload with props to send to the new screen. optionsRouteOptions <optional> (optional) Additional route options. Returns
Details
-
<async> backTo( screenName ) → {Promise}
-
Description
Go back to a specified screen.Parameters
Name Type Description screenNamestring The name of the screen to navigate to; these names should be defined in the initial AppNavigator setup. Returns
Details
-
<async> back() → {Promise}
-
Description
Go back one screen.Returns
Details
-
<async> finish( [ payload ] ) → {Promise}
-
Description
Finish this flow.Parameters
Name Type Attributes Description payloadObject <optional> (optional) The JSON payload to send to the native activity or view controller that launched the flow. Returns
Details