On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.


Stay organized with collections Save and categorize content based on your preferences.
public final enum RouteCalloutInfoFormat extends Enum<RouteCalloutInfoFormat>

The format specifies whether to show distance or ETA information in route callouts.

Inherited Method Summary

Enum Values

public static final RouteCalloutInfoFormat DEFAULT

Shows the time or distance information, depending on the ERROR(/RoutingStrategy). Shows time with the default best routing strategy, and distance with the shorter routing strategy.

public static final RouteCalloutInfoFormat DISTANCE

Shows distance information in route callouts (e.g., 10 km, 5 km longer).

public static final RouteCalloutInfoFormat TIME

Shows time information in route callouts (e.g., 10 min, 5 min faster).