Class IdentifiableRoute

  • All Implemented Interfaces:

    
    public final class IdentifiableRoute
    
                        

    A wrapper class for DirectionsRoute that includes an identity property that can be used to override the color of the route line.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentifiableRoute(DirectionsRoute route, String routeIdentifier)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final DirectionsRoute getRoute()
      final String getRouteIdentifier()
      • Methods inherited from class java.lang.Object

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

      • IdentifiableRoute

        IdentifiableRoute(DirectionsRoute route, String routeIdentifier)
        Parameters:
        route - a DirectionsRoute to associate with an identifier
        routeIdentifier - the identifier for the route