public class

PopulateUserBookmarkListTask

extends CustomAsyncTask<Params, Progress, Result>
java.lang.Object
   ↳ android.os.AsyncTask<Params, Progress, Result>
     ↳ com.pdftron.pdf.utils.CustomAsyncTask<Params, Progress, Result>
       ↳ com.pdftron.pdf.asynctask.PopulateUserBookmarkListTask

Summary

Nested Classes
interface PopulateUserBookmarkListTask.Callback Callback interface invoked when user bookmarks are populated. 
[Expand]
Inherited Fields
From class android.os.AsyncTask
Public Constructors
PopulateUserBookmarkListTask(Context context, String filePath, Bookmark bookmark, boolean readOnly, String queryText)
Class constructor
Public Methods
void setCallback(PopulateUserBookmarkListTask.Callback callback)
Sets the callback listener.
[Expand]
Inherited Methods
From class android.os.AsyncTask
From class java.lang.Object

Public Constructors

public PopulateUserBookmarkListTask (Context context, String filePath, Bookmark bookmark, boolean readOnly, String queryText)

Class constructor

Parameters
context The context
filePath The file path
bookmark The Bookmark
readOnly Is the document read only

Public Methods

public void setCallback (PopulateUserBookmarkListTask.Callback callback)

Sets the callback listener.

Sets the callback to null when the task is cancelled.

Parameters
callback The callback when the task is finished