DistanceMatrixElement

Properties

Link copied to clipboard
@SerializedName(value = "distance")
val distance: DistanceMatrixResponse.TextPair?

Optional field

Link copied to clipboard
@SerializedName(value = "duration")
val duration: DistanceMatrixResponse.TextPair?

Optional field

Link copied to clipboard
@SerializedName(value = "error_message")
var errorMessage: String? = null

Optional field: When the top-level status code is other than OK, there may be an additional error_message field within the Distance Matrix response object. This field contains more detailed information about the reasons behind the given status code.

Link copied to clipboard
@SerializedName(value = "status")
val status: String

Returns the current status