Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AddressComponentResponse(val long: String, val short: String, val types: List<String> = emptyList())
Link copied to clipboard
@Serializable
data class GeocodeResponse(val results: List<ResultResponse> = emptyList(), val status: StatusResponse, val errorMessage: String)
Link copied to clipboard
@Serializable
data class GeometryResponse(val location: LocationResponse? = null)
Link copied to clipboard
@Serializable
data class LocationResponse(val lat: Double, val lng: Double)
Link copied to clipboard
@Serializable
data class ResultResponse(val addressComponents: List<AddressComponentResponse> = emptyList(), val formattedAddress: String? = null, val geometry: GeometryResponse? = null)
Link copied to clipboard

The possible status responses from the Google Maps Geocoding API.

Functions

Link copied to clipboard