AutocompleteResult
@objcMembers
public class AutocompleteResult
Result returned by the autocomplete engine.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a result with given segments.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
required public init(segments: [AutocompleteSegment])
Parameters
segments
segments that match the autocomplete request.
-
Describes recognized entities of the result.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let segments: [AutocompleteSegment]