IndexRange (API Reference)
Package com.here.sdk.search
Class IndexRange
java.lang.Object
com.here.NativeBase
com.here.sdk.search.IndexRange
Holds information to which part of the text, input query was matched. The first character is denoted by a value of 0.
-
Method Summary
-
Method Details
-
getStart
public int getStart()Gets the position of the first character that matches a query.
- Returns:
Position of the first character that matches a query.
-
getEnd
public int getEnd()Gets the position indicating the end of the highlighted part, exclusive.
- Returns:
Position indicating the end of the highlighted part, exclusive.
-