SummaryModel

open class SummaryModel

Model that transforms the current route progress to formatted display data.

See also

com.mapbox.navigation.ui.summary.SummaryModel

SummaryModel#create(Context, DistanceFormatter, RouteProgress, int)

Functions

create
Link copied to clipboard
open fun create(context: Context, distanceFormatter: DistanceFormatter, progress: RouteProgress, timeFormatType: Int): SummaryModel
Creates a new summary display model.

Properties

arrivalTime
Link copied to clipboard
private val arrivalTime: String
distanceRemaining
Link copied to clipboard
private val distanceRemaining: String
timeRemaining
Link copied to clipboard
private val timeRemaining: SpannableStringBuilder