Category Search Options
Search options, used for category search.
See also
Constructors
Types
Builder for comfortable creation of CategorySearchOptions instance.
Functions
Creates new CategorySearchOptions from current instance.
Creates new CategorySearchOptions.Builder from current CategorySearchOptions instance.
Properties
Specify whether the Geocoding API should attempt approximate, as well as exact, matching when performing searches (true, default), or whether it should opt out of this behavior and only attempt exact matching (false). For example, the default setting might return Washington, DC for a query of Washington, even though the query was misspelled.
Specify whether to ignore com.mapbox.search.record.IndexableRecord results or not, default is false. When search by com.mapbox.search.record.IndexableRecord is enabled, the results can be matched only by query string, while other parameters like countries, languages, unsafeParameters (and some others) can be ignored.
Specify the user’s language. This parameter controls the language of the text supplied in responses, and also affects result scoring, with results matching the user’s query in the requested language being preferred over results that match in another language. For example, an autocomplete query for things that start with Frank might return Frankfurt as the first result with an English (en) language parameter, but Frankreich (“France”) with a German (de) language parameter. If language is not set explicitly, then language from default system locale will be used.
Specify the maximum number of results to return, including results from com.mapbox.search.record.IndexableDataProvider. The maximum number of search results returned from the server is 10.
Type of movement. Used to alter search ranking logic: the faster you can walk/drive from the origin to the search result, the higher search result rank.
Point for alternative search ranking logic, that is turned on if navigationProfile is specified.
Request debounce value in milliseconds. Previous request will be cancelled if the new one made within specified by requestDebounce time interval.