TextSnippet

The TextSnippet can be extracted with a search result to present a preview text to the user.

Constructors

Link copied to clipboard
constructor(@NonNull text: String, @NonNull rangeInSnippet: Range)

Properties

Link copied to clipboard
Link copied to clipboard
Preview text.

Functions

Link copied to clipboard
open fun toString(): String