Class AngularNativeNavigationKt
-
- All Implemented Interfaces:
public final class AngularNativeNavigationKt
-
-
Field Summary
Fields Modifier and Type Field Description private static KClass<out Fragment>defaultFragmentDestination
-
Method Summary
Modifier and Type Method Description KClass<out Fragment>getDefaultFragmentDestination()The default fragment destination for web requests. voidsetDefaultFragmentDestination(KClass<out Fragment> defaultFragmentDestination)The default fragment destination for web requests. final static UnitregisterRouteDecisionHandlers(AngularNative $self, Router.RouteDecisionHandler decisionHandlers)Registers the Router.RouteDecisionHandler instances that determine whether to route location urls within in-app navigation or with alternative custom behaviors. final static UnitregisterBridgeComponents(AngularNative $self, BridgeComponentFactory<AngularNativeDestination, BridgeComponent<AngularNativeDestination>> factories)Register bridge components that the app supports. final static UnitregisterFragmentDestinations(AngularNative $self, KClass<out Fragment> destinations)Register fragment destinations that can be navigated to. -
-
Method Detail
-
getDefaultFragmentDestination
KClass<out Fragment> getDefaultFragmentDestination()
The default fragment destination for web requests. If you have not loaded a path configuration with a matching rule and a
uriavailable for all possible paths, this destination will be used as the default.
-
setDefaultFragmentDestination
void setDefaultFragmentDestination(KClass<out Fragment> defaultFragmentDestination)
The default fragment destination for web requests. If you have not loaded a path configuration with a matching rule and a
uriavailable for all possible paths, this destination will be used as the default.
-
registerRouteDecisionHandlers
final static Unit registerRouteDecisionHandlers(AngularNative $self, Router.RouteDecisionHandler decisionHandlers)
Registers the Router.RouteDecisionHandler instances that determine whether to route location urls within in-app navigation or with alternative custom behaviors.
-
registerBridgeComponents
final static Unit registerBridgeComponents(AngularNative $self, BridgeComponentFactory<AngularNativeDestination, BridgeComponent<AngularNativeDestination>> factories)
Register bridge components that the app supports. Every possible bridge component, wrapped in a BridgeComponentFactory, must be provided here.
-
registerFragmentDestinations
final static Unit registerFragmentDestinations(AngularNative $self, KClass<out Fragment> destinations)
Register fragment destinations that can be navigated to. Every possible destination must be provided here, including one set via defaultFragmentDestination.
-
-
-
-