Builder

class Builder : ViewObjectDataBuilder<B, I, D>

Constructors

Link copied to clipboard
open fun Builder(@NonNull route: Route, creator: ObjectCreator<MapRoute, RouteData>)

Functions

Link copied to clipboard
fun build(): I
Link copied to clipboard
open fun setType(type: Int): RouteData.Builder
Specifies type of the route.
Link copied to clipboard
fun setZIndex(zIndex: Int): B
Link copied to clipboard
open fun useCustomColor(innerColor: Int, borderColor: Int): RouteData.Builder
Specifies custom color, which shall be used for the route.
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B