SearchResult

constructor(@IntRange(from = 0) pageIndex: Int, @NonNull textBlock: TextBlock, @Nullable snippet: SearchResult.TextSnippet, @Nullable annotation: Annotation, @NonNull document: PdfDocument)

Private constructor. Use one of the static factory methods instead.