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

Match

@PublicPreview("2021.06") 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.