sdk-search / com.tomtom.online.sdk.search.data.autocomplete.response / Matches

Matches

open class Matches : Serializable

Defines a mapping between the inputQuery and segment.

Constructors

<init>

Matches()

Empty constructor for the Matches.

Matches(inputQuery: Array<Match!>!)

Default constructor for the Matches.

Properties

inputQuery

var inputQuery: Array<Match!>!

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

Functions

getInputQuery

open fun getInputQuery(): Array<Match!>!

Returns the input query matching the objects array.

toString

open fun toString(): String