onSearchCompleted

abstract fun onSearchCompleted(@NonNull searchString: String, @NonNull results: Map<String, Set<Integer>>)

Called when search completes before previews are generated.

Parameters

searchString

Search query passed into the search method.

results

Map of results. Map keys are document UIDs and values are sets of 0-indexed page numbers where search hits were found.