Builder
Builds an instance of TripProgressUpdateFormatter
Parameters
context
a instance of a []Context]
Constructors
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
Content copied to clipboard
A class that formats a TripProgressUpdateValue to a SpannableString representing the distance remaining of a route.
Link copied to clipboard
fun estimatedTimeToArrivalFormatter(formatter: ValueFormatter<Long, SpannableString>): TripProgressUpdateFormatter.Builder
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
A class that formats a TripProgressUpdateValue to a SpannableString representing the time remaining.