ReverseGeoOptions

class ReverseGeoOptions @JvmOverloads() constructor(center: Point, countries: List<IsoCountryCode>?, languages: List<IsoLanguageCode>?, limit: Int?, reverseMode: ReverseMode?, types: List<QueryType>?) : Parcelable

Search options for reverse geocoding.

See also

Constructors

ReverseGeoOptions
Link copied to clipboard
fun ReverseGeoOptions(center: Point, countries: List<IsoCountryCode>? = null, languages: List<IsoLanguageCode>? = defaultSearchOptionsLanguage(), limit: Int? = null, reverseMode: ReverseMode? = null, types: List<QueryType>? = null)

Types

Builder
Link copied to clipboard
class Builder(center: Point)
Builder for comfortable creation of ReverseGeoOptions instance.

Functions

copy
Link copied to clipboard
fun copy(center: Point = this.center, countries: List<IsoCountryCode>? = this.countries, languages: List<IsoLanguageCode>? = this.languages, limit: Int? = this.limit, reverseMode: ReverseMode? = this.reverseMode, types: List<QueryType>? = this.types): ReverseGeoOptions
Creates new ReverseGeoOptions from current instance.
describeContents
Link copied to clipboard
abstract fun describeContents(): Int
toBuilder
Link copied to clipboard
fun toBuilder(): ReverseGeoOptions.Builder
Creates new ReverseGeoOptions.Builder from current ReverseGeoOptions instance.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

center
Link copied to clipboard
val center: Point
Coordinates to resolve.
countries
Link copied to clipboard
val countries: List<IsoCountryCode>? = null
Limit results to one or more countries.
languages
Link copied to clipboard
val languages: List<IsoLanguageCode>?
Specify the user’s language.
limit
Link copied to clipboard
val limit: Int? = null
Specify the maximum number of results to return.
reverseMode
Link copied to clipboard
val reverseMode: ReverseMode? = null
Decides how results are sorted in a reverse geocoding query.
types
Link copied to clipboard
val types: List<QueryType>? = null
Filter results to include only a subset (one or more) of the available feature types.