-
- All Implemented Interfaces:
-
com.ramcosta.composedestinations.spec.RouteOrDirection
public interface Direction implements RouteOrDirection
Interface for all classes that contain a route that is ready to be used in navigation.
Generated TypedDestinationSpec and TypedNavGraphSpec are Direction if they don't have any navigation argument. If they do, you can call the invoke function passing the arguments to get a Direction.