Builder

class Builder

A builder for instantiating the RouteLineResources class

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

alternativeRouteCasingColor
Link copied to clipboard
fun alternativeRouteCasingColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for the alternative route casing line(s) which is positioned below the route line giving the line the appearance of a boarder.
alternativeRouteClosureColor
Link copied to clipboard
fun alternativeRouteClosureColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for road closure sections of an alternative route(s).
alternativeRouteDefaultColor
Link copied to clipboard
fun alternativeRouteDefaultColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The default color used for alternative route lines.
alternativeRouteHeavyCongestionColor
Link copied to clipboard
The color used for representing heavy traffic congestion on alternative routes.
alternativeRouteLowCongestionColor
Link copied to clipboard
The color used for representing low traffic congestion on alternative routes.
alternativeRouteModerateCongestionColor
Link copied to clipboard
The color used for representing moderate traffic congestion on alternative routes.
alternativeRouteRestrictedRoadColor
Link copied to clipboard
The color used for the alternative route restricted road representation.
alternativeRouteSevereCongestionColor
Link copied to clipboard
The color used for representing severe traffic congestion on alternative routes.
alternativeRouteUnknownCongestionColor
Link copied to clipboard
The color used for representing unknown traffic congestion on alternative routes.
build
Link copied to clipboard
fun build(): RouteLineColorResources
Creates a instance of RouteLineResources
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
heavyCongestionRange
Link copied to clipboard
fun heavyCongestionRange(range: IntRange): RouteLineColorResources.Builder
The default range for heavy traffic congestion
inActiveRouteLegsColor
Link copied to clipboard
fun inActiveRouteLegsColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for route legs that aren't currently being navigated.
lowCongestionRange
Link copied to clipboard
fun lowCongestionRange(range: IntRange): RouteLineColorResources.Builder
The default range for low traffic congestion
moderateCongestionRange
Link copied to clipboard
fun moderateCongestionRange(range: IntRange): RouteLineColorResources.Builder
The default range for moderate traffic congestion
restrictedRoadColor
Link copied to clipboard
fun restrictedRoadColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for the restricted road representation.
routeCasingColor
Link copied to clipboard
fun routeCasingColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for the route casing line which is positioned below the route line giving the line the appearance of a boarder.
routeClosureColor
Link copied to clipboard
fun routeClosureColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for road closure sections of a route.
routeDefaultColor
Link copied to clipboard
fun routeDefaultColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The default color of the route line
routeHeavyCongestionColor
Link copied to clipboard
fun routeHeavyCongestionColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for representing heavy traffic congestion.
routeLineTraveledCasingColor
Link copied to clipboard
fun routeLineTraveledCasingColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color of the casing section of route line behind the puck representing the section of the route traveled.
routeLineTraveledColor
Link copied to clipboard
fun routeLineTraveledColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color of the section of route line behind the puck representing the section of the route traveled.
routeLowCongestionColor
Link copied to clipboard
fun routeLowCongestionColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for representing low traffic congestion.
routeModerateCongestionColor
Link copied to clipboard
fun routeModerateCongestionColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for representing moderate traffic congestion.
routeSevereCongestionColor
Link copied to clipboard
fun routeSevereCongestionColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for representing severe traffic congestion.
routeUnknownCongestionColor
Link copied to clipboard
fun routeUnknownCongestionColor(@ColorInt() color: Int): RouteLineColorResources.Builder
The color used for representing unknown traffic congestion.
severeCongestionRange
Link copied to clipboard
fun severeCongestionRange(range: IntRange): RouteLineColorResources.Builder
The default range for severe traffic congestion
toString
Link copied to clipboard
open fun toString(): String