Page Summary
-
RouteCalloutInfoFormatis an enum used to control the display of information (distance or ETA) in route callouts within the Google Maps Navigation SDK for Android. -
It provides three options:
DEFAULT,DISTANCE, andTIMEto determine the information displayed. -
DEFAULTshows time for the best route and distance for the shorter route, whileDISTANCEandTIMEshow only distance or time respectively. -
Developers can use this enum to customize the content of route callouts in their navigation applications.
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 RoutingOptions.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).