sdk-search / com.tomtom.online.sdk.search.autocomplete.entity / Match

Match

@Beta(2020, 12) data class Match : Serializable

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

Parameters

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

length - Length of the matched substring.

Properties

length

val length: Int

Length of the matched substring.

offset

val offset: Int

Starting offset of the input substring matching the segment. The offset of the first character is 0.