TripProgressViewOptions

class TripProgressViewOptions

Specifies options for rendering different components in MapboxTripProgressView .

Parameters

backgroundColor

to style MapboxTripProgressView background color

distanceRemainingIcon

to change distance remaining icon

estimatedArrivalTimeIcon

to change estimated arrival time icon

timeRemainingTextAppearance

to style TimeRemainingView

distanceRemainingTextAppearance

to style DistanceRemainingView

estimatedArrivalTimeTextAppearance

to style EstimatedArrivalTimeView

distanceRemainingIconTint

to color distance remaining icon

estimatedArrivalTimeIconTint

to color estimated arrival time icon

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): TripProgressViewOptions.Builder
toString
Link copied to clipboard
open override fun toString(): String
Regenerate whenever a change is made

Properties

backgroundColor
Link copied to clipboard
val backgroundColor: Int
to style MapboxTripProgressView background color
distanceRemainingIcon
Link copied to clipboard
val distanceRemainingIcon: Int
to change distance remaining icon
distanceRemainingIconTint
Link copied to clipboard
val distanceRemainingIconTint: ColorStateList?
to color distance remaining icon
distanceRemainingTextAppearance
Link copied to clipboard
val distanceRemainingTextAppearance: Int
to style DistanceRemainingView
estimatedArrivalTimeIcon
Link copied to clipboard
val estimatedArrivalTimeIcon: Int
to change estimated arrival time icon
estimatedArrivalTimeIconTint
Link copied to clipboard
val estimatedArrivalTimeIconTint: ColorStateList?
to color estimated arrival time icon
estimatedArrivalTimeTextAppearance
Link copied to clipboard
val estimatedArrivalTimeTextAppearance: Int
to style EstimatedArrivalTimeView
timeRemainingTextAppearance
Link copied to clipboard
val timeRemainingTextAppearance: Int
to style TimeRemainingView