toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-base
/
com.mapbox.dash.sdk.base.formatting
/
DistanceAndTimeFormatter
Distance
And
Time
Formatter
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
interface
DistanceAndTimeFormatter
:
ArrivalInformationFormatter
Inheritors
DistanceAndTimeFormatterImpl
StubDistanceAndTimeFormatter
Members
Functions
format
Distance
Link copied to clipboard
abstract
fun
formatDistance
(
distanceInMeters
:
Double
)
:
String
format
Duration
Link copied to clipboard
abstract
fun
formatDuration
(
duration
:
Duration
,
truncateDurationUnit
:
DurationUnit
)
:
String