sdk-routing / com.tomtom.online.sdk.routing.route / RouteSpecification / Builder / <init>

<init>

Builder(origin: LatLng, destination: LatLng)

Builder used to create an instance of RouteSpecification. Once constructed, the user cannot change the field values.

Parameters

origin - A location of the origin defined as a latitude longitude pair.

destination - A location of the destination defined as a latitude longitude pair.