Interface INavigationScreen
Interface for a navigation screen. A navigation screen is a screen that can be navigated to and from.
Namespace: Unity.AppUI.Navigation
Assembly: Unity.AppUI.Navigation.dll
Syntax
public interface INavigationScreen
  Methods
OnEnter(NavController, NavDestination, Argument[])
Called when the navigation controller enters a destination.
Declaration
void OnEnter(NavController controller, NavDestination destination, Argument[] args)
  Parameters
| Type | Name | Description | 
|---|---|---|
| NavController | controller | The navigation controller that is entering the destination.  | 
      
| NavDestination | destination | The destination that is being entered.  | 
      
| Argument[] | args | The arguments passed to the destination.  | 
      
See Also
OnExit(NavController, NavDestination, Argument[])
Called when the navigation controller exits a destination.
Declaration
void OnExit(NavController controller, NavDestination destination, Argument[] args)
  Parameters
| Type | Name | Description | 
|---|---|---|
| NavController | controller | The navigation controller that is exiting the destination.  | 
      
| NavDestination | destination | The destination that is being exited.  | 
      
| Argument[] | args | The arguments passed to the destination.  |