sdk-routing / com.tomtom.online.sdk.routing.data.matrix / MatrixRoutingResultKey

MatrixRoutingResultKey

class MatrixRoutingResultKey

A class which is used as a key in a map of matrix routing Response results.

Constructors

<init>

MatrixRoutingResultKey(origin: LatLng!, destination: LatLng!)

A constructor that creates an instance of MatrixRoutingResultKey and assigns origin and destination coordinates to proper fields.

Functions

getDestination

fun getDestination(): LatLng!

A getter of destination requested in matrix routing.

getOrigin

fun getOrigin(): LatLng!

A getter of origin requested in matrix routing.