Methods
-
<static> setRegisteredRoute( route )
-
Description
Set the registered route for this component.Parameters
Name Type Description route
string 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 appNavigator
AppNavigator 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 jsonPayload
Object 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 buttonId
string 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 navigationBar
NavigationBar The NavigationBar object. Returns
Details
-
<async> navigate( route ) → {Promise}
-
Description
Navigate to a given route.Parameters
Name Type Description route
Object 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 screenName
string The name of the screen to navigate to; these names should be defined in the initial AppNavigator setup. jsonPayload
Object <optional> (optional) The JSON payload with props to send to the new screen. options
RouteOptions <optional> (optional) Additional route options. Returns
Details
-
<async> backTo( screenName ) → {Promise}
-
Description
Go back to a specified screen.Parameters
Name Type Description screenName
string 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 payload
Object <optional> (optional) The JSON payload to send to the native activity or view controller that launched the flow. Returns
Details