Back to project page android-pdfview.
The source code is released under:
GNU General Public License
If you think the Android project android-pdfview listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.vudroid.core; //from www . j ava2 s . c om import android.content.ContentResolver; import android.graphics.Bitmap; import android.graphics.RectF; import android.net.Uri; import android.view.View; import org.vudroid.core.codec.CodecPage; public interface DecodeService { void setContentResolver(ContentResolver contentResolver); void setContainerView(View containerView); void open(Uri fileUri); void decodePage(Object decodeKey, int pageNum, DecodeCallback decodeCallback, float zoom, RectF pageSliceBounds); void stopDecoding(Object decodeKey); int getEffectivePagesWidth(); int getEffectivePagesHeight(); int getPageCount(); int getPageWidth(int pageIndex); int getPageHeight(int pageIndex); CodecPage getPage(int pageIndex); void recycle(); public interface DecodeCallback { void decodeComplete(Bitmap bitmap); } }