Builder
Functions
Link copied to clipboard
Applies the supplied parameters and instantiates a TripProgressUpdateFormatter
Link copied to clipboard
fun distanceRemainingFormatter(formatter: ValueFormatter<Double, SpannableString>): TripProgressUpdateFormatter.Builder
A class that formats a TripProgressUpdateValue to a SpannableString representing the distance remaining of a route.
Link copied to clipboard
fun estimatedTimeOfArrivalFormatter(formatter: ValueFormatter<Calendar, SpannableString>): TripProgressUpdateFormatter.Builder
A class that formats a TripProgressUpdateValue to a SpannableString representing the estimated time to arrival.
Link copied to clipboard
fun estimatedTimeToArrivalFormatter(formatter: ValueFormatter<Long, SpannableString>): TripProgressUpdateFormatter.Builder
A class that formats a TripProgressUpdateValue to a SpannableString representing the estimated time to arrival.
Link copied to clipboard
fun percentRouteTraveledFormatter(formatter: ValueFormatter<Double, SpannableString>): TripProgressUpdateFormatter.Builder
A class that formats a TripProgressUpdateValue to a SpannableString representing the percentage of the route distance traveled.
Link copied to clipboard
fun timeRemainingFormatter(formatter: ValueFormatter<Double, SpannableString>): TripProgressUpdateFormatter.Builder
A class that formats a TripProgressUpdateValue to a SpannableString representing the time remaining.