DistanceMatrixResponse

open class DistanceMatrixResponse

Types

Link copied to clipboard
open class DistanceMatrixElement
Link copied to clipboard
open class Row
Link copied to clipboard
open class TextPair

Functions

Link copied to clipboard
open fun addElementRow(elementRow: List<DistanceMatrixResponse.DistanceMatrixElement>)
Link copied to clipboard
open fun createElement(    distance: DistanceMatrixResponse.TextPair,     duration: DistanceMatrixResponse.TextPair,     status: String): DistanceMatrixResponse.DistanceMatrixElement
Link copied to clipboard
open fun createTextPair(text: String, value: String): DistanceMatrixResponse.TextPair
Link copied to clipboard
@NonNull
open fun getDestinations(): List<String>
Link copied to clipboard
@Nullable
open fun getErrorMessage(): String
Link copied to clipboard
@NonNull
open fun getOrigins(): List<String>

Properties

Link copied to clipboard
@SerializedName(value = "rows")
@get:NonNull
open val rows: List<DistanceMatrixResponse.Row>
Link copied to clipboard
@SerializedName(value = "status")
open val status: String
Any of DistanceMatrixStatus values