toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map
/
com.mapbox.dash.sdk.map.presentation.format
/
DurationDifferenceFormatter
Duration
Difference
Formatter
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
DurationDifferenceFormatter
(
context
:
Context
,
formatter
:
DistanceAndTimeFormatter
)
Members
Constructors
Duration
Difference
Formatter
Link copied to clipboard
constructor
(
context
:
Context
,
formatter
:
DistanceAndTimeFormatter
)
Functions
format
Duration
Diff
Link copied to clipboard
fun
formatDurationDiff
(
duration
:
Duration
,
type
:
DurationDifferenceType
)
:
String