public class

GetTextInPageTask

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

Class Overview

A class that asynchronously extracts the text of the current page

Summary

Nested Classes
interface GetTextInPageTask.Callback Callback interface invoked when text in the current page is prepared. 
[Expand]
Inherited Fields
From class android.os.AsyncTask
Public Constructors
GetTextInPageTask(PDFViewCtrl pdfViewCtrl)
Class constructor
Public Methods
void setCallback(GetTextInPageTask.Callback callback)
Sets the callback listener.
[Expand]
Inherited Methods
From class android.os.AsyncTask
From class java.lang.Object

Public Constructors

public GetTextInPageTask (PDFViewCtrl pdfViewCtrl)

Class constructor

Parameters
pdfViewCtrl The PDFViewCtrl

Public Methods

public void setCallback (GetTextInPageTask.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