TextSearchResult

data class TextSearchResult(val pageIndex: Int, val range: ERROR CLASS: Symbol not found for Range, val rangeInPreview: ERROR CLASS: Symbol not found for Range, val previewText: String = "") : SearchResult

This is a wip implementation for the text search result object. Eventually we should migrate all the features from com.pspdfkit.document.search.SearchResult. Currently we're lacking annotations, more sophisticated text snippet handling and probably a few more things.

Constructors

Link copied to clipboard
constructor(pageIndex: Int, range: ERROR CLASS: Symbol not found for Range, rangeInPreview: ERROR CLASS: Symbol not found for Range, previewText: String = "")

Properties

Link copied to clipboard
open override val composeItemKey: String

A key that uniquely identifies the search result item to be used in jetpack compose lists for the key parameter. Should be something that can be put into a bundle

Link copied to clipboard
open override val pageIndex: Int

The index of the page where the search result was found

Link copied to clipboard
Link copied to clipboard
val range: ERROR CLASS: Symbol not found for Range
Link copied to clipboard
val rangeInPreview: ERROR CLASS: Symbol not found for Range

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int