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
class Builder(applicationContext: Context)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Regenerate whenever a change is made