distanceRemainingFormatter

fun distanceRemainingFormatter(formatter: ValueFormatter<Double, SpannableString>): TripProgressUpdateFormatter.Builder

A class that formats a TripProgressUpdateValue to a SpannableString representing the distance remaining of a route.

Return

the builder

Parameters

formatter

a formatter instance