Search Options
class SearchOptions @JvmOverloads() constructor(proximity: Point?, boundingBox: BoundingBox?, countries: List<IsoCountryCode>?, fuzzyMatch: Boolean?, languages: List<IsoLanguageCode>?, limit: Int?, types: List<QueryType>?, requestDebounce: Int?, origin: Point?, navigationOptions: SearchNavigationOptions?, routeOptions: RouteOptions?, unsafeParameters: Map<String, String>?, ignoreIndexableRecords: Boolean, indexableRecordsDistanceThresholdMeters: Double?) : Parcelable
Content copied to clipboard
Search options, used for forward geocoding.
See also
Constructors
SearchOptions
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Types
Builder
Link copied to clipboard
class Builder
Content copied to clipboard
Builder for comfortable creation of SearchOptions instance.
Functions
copy
Link copied to clipboard
fun copy(proximity: Point? = this.proximity, boundingBox: BoundingBox? = this.boundingBox, countries: List<IsoCountryCode>? = this.countries, fuzzyMatch: Boolean? = this.fuzzyMatch, languages: List<IsoLanguageCode>? = this.languages, limit: Int? = this.limit, types: List<QueryType>? = this.types, requestDebounce: Int? = this.requestDebounce, origin: Point? = this.origin, navigationOptions: SearchNavigationOptions? = this.navigationOptions, routeOptions: RouteOptions? = this.routeOptions, unsafeParameters: Map<String, String>? = this.unsafeParameters, ignoreIndexableRecords: Boolean = this.ignoreIndexableRecords, indexableRecordsDistanceThresholdMeters: Double? = this.indexableRecordsDistanceThresholdMeters): SearchOptions
Content copied to clipboard
Creates new SearchOptions from current instance.
describeContents
Link copied to clipboard
toBuilder
Link copied to clipboard
writeToParcel
Link copied to clipboard
Properties
boundingBox
Link copied to clipboard
fuzzyMatch
Link copied to clipboard
ignoreIndexableRecords
Link copied to clipboard
Specify whether to ignore com.mapbox.search.record.IndexableRecord results or not, default is false.
indexableRecordsDistanceThresholdMeters
Link copied to clipboard
limit
Link copied to clipboard
Specify the maximum number of results to return, including results from com.mapbox.search.record.IndexableDataProvider.
navigationOptions
Link copied to clipboard
requestDebounce
Link copied to clipboard
routeOptions
Link copied to clipboard
unsafeParameters
Link copied to clipboard