Builder

constructor(baseUrl: String, user: String, profile: String, coordinates: List<@Serializable(with = PointSerializer::class) Point>, accessToken: String, requestUuid: String)

Parameters

baseUrl

The same base URL which was used during the request that resulted in this root directions response.

user

The same user which was used during the request that resulted in this root directions response.

profile

The routing profile to use.

coordinates

A list of Points to visit in order.

accessToken

A valid Mapbox access token used to making the request.

requestUuid

A universally unique identifier (UUID) for identifying and executing a similar specific route in the future.