public interface

ThumbAsyncHandler

com.pdftron.pdf.ThumbAsyncHandler

Class Overview

ThumbAsyncHandler is an interface for a custom handler that that can be passed into GetThumbAsync.

Summary

Public Methods
abstract void thumbAsyncHandlerProc(int page_num, boolean was_thumb_found, Object thumb_buf, int thumb_width, int thumb_height, Object custom_data)
Process thumbnail retrieval results.

Public Methods

public abstract void thumbAsyncHandlerProc (int page_num, boolean was_thumb_found, Object thumb_buf, int thumb_width, int thumb_height, Object custom_data)

Process thumbnail retrieval results.

Parameters
page_num the page number of the thumbnail
was_thumb_found true if the thumbnail was found in the persistent cache, false otherwise
thumb_buf the thumbnail data
thumb_width the width of the thumbnail image, in pixels
thumb_height the height of the thumbnail image
custom_data custom data passed into the call to GetThumbAsync