limit

fun limit(limit: Int): AutocompleteSearchOptions.Builder

The maximum number of autocomplete results to return.

Return

An instance of the AutocompleteSearchOptions with the provided limit.