public static interface

GenerateHighlightsTask.Callback

com.pdftron.pdf.asynctask.GenerateHighlightsTask.Callback
Known Indirect Subclasses

Class Overview

Callback interface invoked when search highlights are obtained.

Summary

Public Methods
abstract void onHighlightsTaskCancelled(int pageStart, int pageEnd)
Called when the task of highlights has been cancelled.
abstract void onHighlightsTaskFinished(Highlights[] highlights, int pageStart, int pageEnd)
Called when the task of highlights has been terminated.

Public Methods

public abstract void onHighlightsTaskCancelled (int pageStart, int pageEnd)

Called when the task of highlights has been cancelled.

Parameters
pageStart The start page
pageEnd The end page

public abstract void onHighlightsTaskFinished (Highlights[] highlights, int pageStart, int pageEnd)

Called when the task of highlights has been terminated.

Parameters
highlights The output highlights
pageStart The start page
pageEnd The end page