Distance Formatter Options
class DistanceFormatterOptions
Content copied to clipboard
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
Builder
Link copied to clipboard
Builder of DistanceFormatterOptions