AutocompleteInputQuery

public class AutocompleteInputQuery

Autocomplete input query.

Important

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

Lifecycle

  • Creates input query instance

    Important

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

    Declaration

    Swift

    required public init(offset: Int, length: Int)

    Parameters

    offset

    characters offset of the query in the matching name.

    length

    number of characters that match.

Public

  • Starting offset of the inputQuery substring matching the segment.

    Important

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

    Declaration

    Swift

    public let offset: Int
  • Length of the matched substring.

    Important

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

    Declaration

    Swift

    public let length: Int