Builder

class Builder

Builder of TripProgressViewOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun backgroundColor(@ColorRes backgroundColor: Int): TripProgressViewOptions.Builder

Allows you to style the background color for MapboxTripProgressView.

Link copied to clipboard
fun build(): TripProgressViewOptions

Build a new instance of TripProgressViewOptions

Link copied to clipboard
fun distanceRemainingIcon(@DrawableRes distanceRemainingIcon: Int): TripProgressViewOptions.Builder

Allows you to define the icon for distance remaining.

Link copied to clipboard
fun distanceRemainingIconTint(distanceRemainingIconTint: ColorStateList?): TripProgressViewOptions.Builder

Allows you to style the icon tint for distance remaining.

Link copied to clipboard
fun distanceRemainingTextAppearance(@StyleRes distanceRemainingTextAppearance: Int): TripProgressViewOptions.Builder

Allows you to style DistanceRemainingView.

Link copied to clipboard
fun estimatedArrivalTimeIcon(@DrawableRes estimatedArrivalTimeIcon: Int): TripProgressViewOptions.Builder

Allows you to define the icon for estimated arrival time.

Link copied to clipboard
fun estimatedArrivalTimeIconTint(estimatedArrivalTimeIconTint: ColorStateList?): TripProgressViewOptions.Builder

Allows you to style the icon tint for estimated arrival time.

Link copied to clipboard
fun estimatedArrivalTimeTextAppearance(@StyleRes estimatedArrivalTimeTextAppearance: Int): TripProgressViewOptions.Builder

Allows you to style EstimatedArrivalTimeView.

Link copied to clipboard
fun timeRemainingTextAppearance(@StyleRes timeRemainingTextAppearance: Int): TripProgressViewOptions.Builder

Allows you to style TimeRemainingView.