Builder

class Builder

Builder of TripProgressViewOptions

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

backgroundColor
Link copied to clipboard
fun backgroundColor(@ColorRes() backgroundColor: Int): TripProgressViewOptions.Builder
Allows you to style the background color for MapboxTripProgressView.
build
Link copied to clipboard
fun build(): TripProgressViewOptions
Build a new instance of TripProgressViewOptions
distanceRemainingIcon
Link copied to clipboard
fun distanceRemainingIcon(@DrawableRes() distanceRemainingIcon: Int): TripProgressViewOptions.Builder
Allows you to define the icon for distance remaining.
distanceRemainingIconTint
Link copied to clipboard
fun distanceRemainingIconTint(distanceRemainingIconTint: ColorStateList?): TripProgressViewOptions.Builder
Allows you to style the icon tint for distance remaining.
distanceRemainingTextAppearance
Link copied to clipboard
fun distanceRemainingTextAppearance(@StyleRes() distanceRemainingTextAppearance: Int): TripProgressViewOptions.Builder
Allows you to style DistanceRemainingView.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
estimatedArrivalTimeIcon
Link copied to clipboard
fun estimatedArrivalTimeIcon(@DrawableRes() estimatedArrivalTimeIcon: Int): TripProgressViewOptions.Builder
Allows you to define the icon for estimated arrival time.
estimatedArrivalTimeIconTint
Link copied to clipboard
fun estimatedArrivalTimeIconTint(estimatedArrivalTimeIconTint: ColorStateList?): TripProgressViewOptions.Builder
Allows you to style the icon tint for estimated arrival time.
estimatedArrivalTimeTextAppearance
Link copied to clipboard
fun estimatedArrivalTimeTextAppearance(@StyleRes() estimatedArrivalTimeTextAppearance: Int): TripProgressViewOptions.Builder
Allows you to style EstimatedArrivalTimeView.
hashCode
Link copied to clipboard
open fun hashCode(): Int
timeRemainingTextAppearance
Link copied to clipboard
fun timeRemainingTextAppearance(@StyleRes() timeRemainingTextAppearance: Int): TripProgressViewOptions.Builder
Allows you to style TimeRemainingView.
toString
Link copied to clipboard
open fun toString(): String