HighlightsCalculator

interface HighlightsCalculator

Used to calculate which parts of exact search result name will be highlighted.

To obtain HighlightsCalculator instance, please, use MapboxSearchSdk.serviceProvider.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
highlights
Link copied to clipboard
abstract fun highlights(name: String, query: String): List<Pair<Int, Int>>
toString
Link copied to clipboard
open fun toString(): String