public static interface

PDFViewCtrl.UniversalDocumentProgressIndicatorListener

com.pdftron.pdf.PDFViewCtrl.UniversalDocumentProgressIndicatorListener

Class Overview

Used for receiving notifications of the current blank page whose content generation is in progress.

Summary

Public Methods
abstract void onAddProgressIndicator()
Called when a blank page without content is added to the document as a placeholder.
abstract void onPositionProgressIndicatorPage(Rect position)
Called when the position of the blank page without content moves.
abstract void onProgressIndicatorPageVisibilityChanged(boolean isVisible)
Called when the blank page without content enters or leaves the screen.
abstract void onRemoveContentPendingIndicator()
Called when the content on the page the user was previously trying to access is accessible.
abstract void onRemoveProgressIndicator()
Called when a blank page without content is removed from the document.
abstract void onShowContentPendingIndicator()
Called when it user is trying to access the next page of the PDFViewCtrl but there is no room for the visual progress indicator in the viewer.

Public Methods

public abstract void onAddProgressIndicator ()

Called when a blank page without content is added to the document as a placeholder.

public abstract void onPositionProgressIndicatorPage (Rect position)

Called when the position of the blank page without content moves.

Parameters
position position

public abstract void onProgressIndicatorPageVisibilityChanged (boolean isVisible)

Called when the blank page without content enters or leaves the screen.

Parameters
isVisible whether visible or not

public abstract void onRemoveContentPendingIndicator ()

Called when the content on the page the user was previously trying to access is accessible.

public abstract void onRemoveProgressIndicator ()

Called when a blank page without content is removed from the document.

public abstract void onShowContentPendingIndicator ()

Called when it user is trying to access the next page of the PDFViewCtrl but there is no room for the visual progress indicator in the viewer. For example in single page mode.

Note that onRemoveContentPendingIndicator will not be called after a certain time, but only when new content is available.