QueryResultListener

Listener for document search query.

Functions

Link copied to clipboard
abstract fun onSearchCompleted(@NonNull searchString: String, @NonNull results: Map<String, Set<Integer>>)
Called when search completes before previews are generated.
Link copied to clipboard
abstract fun onSearchPreviewsGenerated(@NonNull searchString: String, @NonNull results: Map<String, Set<QueryPreviewResult>>)
Called when search previews are generated (of shouldGenerateTextPreviews was true).