estimatedTimeToArrivalFormatter

fun estimatedTimeToArrivalFormatter(formatter: ValueFormatter<Long, SpannableString>): TripProgressUpdateFormatter.Builder

A class that formats a TripProgressUpdateValue to a SpannableString representing the estimated time to arrival.

Return

the builder

Parameters

formatter

a formatter instance