DistanceFormatterOptions
Gives options to format the distance in the trip notification.
If not provided, the object will infer device language and unit type using the device locale from the context.
Parameters
applicationContext
from which to get localized strings from
locale
the locale to use for localization of distance resources
unitType
to use for voice and visual information.
roundingIncrement
increment by which to round small distances
Types
Link copied to clipboard
Builder of DistanceFormatterOptions