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

Match

open class Match : Serializable

Informs which part of the input query is represented by segment.

Constructors

<init>

Match()

Empty constructor for the Match.

Match(offset: Int, length: Int)

Default constructor for the Match.

Properties

length

var length: Int

Length of the matched substring. -- GETTER --

offset

var offset: Int

Starting offset of the inputQuery substring matching the segment. The offset of the first character is 0 -- GETTER --