Package com.tomtom.sdk.search.reversegeocoding

Types

Link copied to clipboard
interface ReverseGeocoderApi : Disposable

Interface of the Reverse geocoding API for turning a location on the map into a human-readable address.

Link copied to clipboard

Callback that reports that a ReverseGeocoderResponse or ReverseGeocoderError has been received.

Link copied to clipboard
class ReverseGeocoderError(val message: String = "")

Error triggered by a failure while calling the Reverse Geocoding API. Contains information about the cause of the failure.

Link copied to clipboard
data class ReverseGeocoderOptions(    val position: GeoCoordinate,     @FloatRange(from = 0.0, to = 360.0) val heading: Float? = null,     @IntRange(from = 1, to = 5000) val radiusInMeters: Int = DEFAULT_RADIUS_IN_METERS,     val roadUses: Set<RoadUse> = emptySet(),     val entityTypes: Set<EntityType> = emptySet(),     val language: String = DEFAULT_LANGUAGE,     val geoPoliticalView: String = "",     val mapCodeTypes: Set<MapCodeType> = emptySet(),     val preferClosestAccurateAddress: Boolean = false,     val fetchGeometry: Boolean = false)

Defines the parameters of a Reverse Geocoding query.

Link copied to clipboard
data class ReverseGeocoderResponse(val summary: Summary, val places: List<PlaceMatch>)

Response of the Reverse Geocoding API.