| com.pdftron.pdf.asynctask.FindTextTask.Callback |
Known Indirect Subclasses
|
Callback interface invoked when a pattern is found in the document.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onFindTextTaskCancelled()
Called when the task of finding text has been cancelled.
| ||||||||||
| abstract void |
onFindTextTaskFinished(int numResults, ArrayList<TextSearchResult> results, HashMap<TextSearchResult, ArrayList<Double>> highlights)
Called when the task of finding text has been terminated.
| ||||||||||
| abstract void |
onFindTextTaskProgressUpdated(boolean foundResultOnPage, int pagesSearched, ArrayList<TextSearchResult> results)
Called when the task of finding text has been updated.
| ||||||||||
| abstract void |
onFindTextTaskStarted()
Called when the task of finding text has started.
| ||||||||||
Called when the task of finding text has been cancelled.
Called when the task of finding text has been terminated.
| numResults | The number of result |
|---|---|
| results | The results |
Called when the task of finding text has been updated.
| foundResultOnPage | True if result on the page has been found |
|---|---|
| results | The text search results |
Called when the task of finding text has started.