types
Deprecated
Use newTypes with NewQueryType constants for extended support (e.g. BRAND).
Replace with
import com.mapbox.search.NewQueryType
Content copied to clipboard
newTypesContent copied to clipboard
Filter results to include only a subset (one or more) of the available feature 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 and a warning is logged.