types

val types: List<QueryType>? = null

Deprecated

Use newTypes with NewQueryType constants for extended support (e.g. BRAND).

Replace with

import com.mapbox.search.NewQueryType
newTypes

Filter results to include only a subset (one or more) of the available feature types. See the Administrative unit types section for details about the types. Options are country, region, postcode, district, place, locality, neighborhood, address, and poi. Brand is not supported; use newTypes with NewQueryType.BRAND instead. When both types and newTypes are provided, newTypes take priority.