Navigation SDK is currently available only to select customers. Contact sales to learn more.

RouteInfo

public interface RouteInfo

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