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

equals

fun equals(other: Any?): Boolean

getDestination

fun getDestination(): LatLng!

A getter of the destination requested in matrix routing.

getOrigin

fun getOrigin(): LatLng!

A getter of origin requested in matrix routing.

hashCode

fun hashCode(): Int

toString

fun toString(): String