Public Member Functions | |
void | enableDownloadAll (boolean isDownloadAll) |
void | setCacheFile (String cacheFile) |
Class for customizing cache option.
void com.foxit.sdk.PDFViewCtrl.CacheOption.enableDownloadAll | ( | boolean | isDownloadAll | ) |
Whether download the entire file, default download parts of the document.
isDownloadAll | True : download continuously util the entire file finishes downloading. otherwise, download parts of the document. |
void com.foxit.sdk.PDFViewCtrl.CacheOption.setCacheFile | ( | String | cacheFile | ) |
Sets the cache file path while uses in openDocFromUrl(String, byte[], CacheOption, HttpRequestProperties)
cacheFile | The cache path used to download the PDF file. If null or blank, the document will be stored in a default cache location. It should be a absolute path. such as: "/mnt/sdcard/FoxitSDK/complete_demo_guide.pdf". |