Public Member Functions | |
void | release () |
A callback function used to release current SearchCallback object itself. More... | |
int | retrieveSearchResult (String file_path, int page_index, String match_result, int match_start_text_index, int match_end_text_index) |
A callback function used to retrieve the searching result. More... | |
This class represents a callback object to retrieve the searching result during the searching progress by function FullTextSearch::searchOf. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
void com.foxit.sdk.fts.SearchCallback.release | ( | ) |
A callback function used to release current SearchCallback object itself.
int com.foxit.sdk.fts.SearchCallback.retrieveSearchResult | ( | String | file_path, |
int | page_index, | ||
String | match_result, | ||
int | match_start_text_index, | ||
int | match_end_text_index | ||
) |
A callback function used to retrieve the searching result.
file_path | A file path that specifies in which file the matched result is found. |
page_index | A page index that specifies in which page of the file the matched result is found. |
match_result | A string that represents the matched result. |
match_start_text_index | The index of start character in the matched result. |
match_end_text_index | The index of end character in the matched result. |