resultTypes
fun resultTypes(resultTypes: Set<String>): AutocompleteSearchOptions.Builder
Content copied to clipboard
Restricts the results to specific segments (e.g., "category", "brand", or "category,brand"). A result is only included if at least one segment is any of the indicated types.
Return
An instance of the AutocompleteSearchOptions with the provided resultTypes.