RouteInfo

public interface RouteInfo

This interface is deprecated.
Prior to being deprecated, this class was only available to Mobility Services customers. Please use the computeCustomRoutes method on the Routes Preferred API instead.

Provides the ETA and distance information for routes to a specific waypoint using each RoutingOptions.RoutingStrategy value. An instance of this interface is returned by Navigator.fetchRouteInfo(Waypoint, RoutingOptions).

Public Method Summary

abstract TimeAndDistance
getTimeAndDistance(int routingStrategy)
Returns the TimeAndDistance for the main route if navigating with the given RoutingOptions.RoutingStrategy.

Public Methods

public abstract TimeAndDistance getTimeAndDistance (int routingStrategy)

Returns the TimeAndDistance for the main route if navigating with the given RoutingOptions.RoutingStrategy. Returns null if there was an error or the method is not enabled for your project.

Parameters
routingStrategy