AutocompleteResponse
@objcMembers
public class AutocompleteResponse
Autocomplete search response.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates autocomplete response with the given parameters
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
required public init(summary: AutocompleteSummary, results: [AutocompleteResult] = [])
Parameters
summary
a summary that describes autocomplete request execution
results
results containing autocompletion options
-
Information about the autocomplete Request that was performed.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let summary: AutocompleteSummary
-
List of the results returned by the autocomplete engine.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let results: [AutocompleteResult]