java.lang.Object | |
↳ | com.pdftron.pdf.PreviewHandler |
PreviewHandler is an interface for a custom handler that can be passed into DocumentPreviewCache GetBitmap.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | PreviewHandler.PreviewHandlerCallback |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DOCUMENT_PREVIEW_RESULT_CANCEL | The request was cancelled before it was processed. | |||||||||
int | DOCUMENT_PREVIEW_RESULT_FAILURE | The thumbnail could not be retrieved. | |||||||||
int | DOCUMENT_PREVIEW_RESULT_NOT_FOUNT | ||||||||||
int | DOCUMENT_PREVIEW_RESULT_PACKAGE_ERROR | Failure due to encountering a PDF package | |||||||||
int | DOCUMENT_PREVIEW_RESULT_POSTPONED | The request was a duplicate of another finished request | |||||||||
int | DOCUMENT_PREVIEW_RESULT_PREVIOUS_CRASH | Abort this render because we've crashed on this file previously | |||||||||
int | DOCUMENT_PREVIEW_RESULT_SECURITY_ERROR | Failure due to password restriction. | |||||||||
int | DOCUMENT_PREVIEW_RESULT_SUCCESS | Successful retrieval of the thumbnail. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PreviewHandler(PreviewHandler.PreviewHandlerCallback listener) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | removeListener() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The request was cancelled before it was processed.
The thumbnail could not be retrieved.
Failure due to encountering a PDF package
The request was a duplicate of another finished request
Abort this render because we've crashed on this file previously
Failure due to password restriction.
Successful retrieval of the thumbnail.