sdk / com.mapbox.search / SearchOptions / Builder / types

types

var types: List<QueryType>?

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.

fun types(vararg types: QueryType): Builder
fun types(types: List<QueryType>): Builder

Set types for builder.