public interface SOSearchListener
Modifier and Type | Method and Description |
---|---|
void |
cancelled()
Called if the search is cancelled.
|
boolean |
endOfDocument()
Called when the search reaches the end of the document.
|
void |
error()
Called when the search encounters an error.
|
void |
found(int page,
android.graphics.RectF box)
Called when the search terminates successfully.
|
void |
notFound()
Called when the search terminates unsuccessfully.
|
void |
progressing(int page)
Called to indicate that the search has progressed to a new page.
|
boolean |
startOfDocument()
Called when the search reaches the start of the document.
|
void progressing(int page)
page
- current page being searched.void found(int page, android.graphics.RectF box)
page
- page on which match foundbox
- bounding box of matchvoid notFound()
boolean startOfDocument()
boolean endOfDocument()
void error()
void cancelled()