toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.document.search
/
SearchResult
/
TextSnippet
Text
Snippet
class
TextSnippet
The
TextSnippet
can be extracted with a search result to present a preview text to the user.
Members
Constructors
Text
Snippet
Link copied to clipboard
constructor
(
@
NonNull
text
:
String
,
@
NonNull
rangeInSnippet
:
Range
)
Properties
range
In
Snippet
Link copied to clipboard
@
NonNull
val
rangeInSnippet
:
Range
text
Link copied to clipboard
@
NonNull
val
text
:
String
Preview text.
Functions
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String