Package 

Interface Direction

  • 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.

    • Method Summary

      Modifier and Type Method Description
      abstract String getRoute() Route with nav arguments filled in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRoute

         abstract String getRoute()

        Route with nav arguments filled in.