AutocompleteMatches

@objcMembers
public class AutocompleteMatches

Represents the autocomplete query matches.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Creates query match instance

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    required public init(inputQuery: [AutocompleteInputQuery])

    Parameters

    inputQuery

    defines what part matches

Public

  • Reports which part of the input query is represented by the segment. Input query matching may not be continuous, so the mapping is defined as an array of matched substrings.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public let inputQuery: [AutocompleteInputQuery]