AutocompleteRequest
struct AutocompleteRequest
The request for autocomplete suggestions based on a given partial query along with additional configuring properties.
-
The
AutocompleteFilter
to apply to the results.Declaration
Swift
var filter: AutocompleteFilter? { get }
-
Request object to use with
PlacesClient
to fetch autocomplete suggestions.Declaration
Swift
init(query: String, sessionToken: AutocompleteSessionToken? = nil, filter: AutocompleteFilter? = nil)
-
The partial text to autocomplete.
Declaration
Swift
var query: String { get }
-
The
AutocompleteSessionToken
to associate requests to a billing session.Declaration
Swift
var sessionToken: AutocompleteSessionToken? { get }