-
public class PdfViewerActivity.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final StringFILE_URLprivate final StringFILE_TITLEprivate final StringENABLE_FILE_DOWNLOADprivate final StringFROM_ASSETSprivate final StringTITLE_BEHAVIORprivate final StringENABLE_ZOOMprivate BooleanenableDownloadprivate BooleanisPDFFromPathprivate BooleanisFromAssetsprivate BooleanSAVE_TO_DOWNLOADSprivate BooleanisZoomEnabledprivate final StringCACHE_STRATEGYpublic final static PdfViewerActivity.CompanionINSTANCE
-
Method Summary
-
-
Method Detail
-
launchPdfFromUrl
final Intent launchPdfFromUrl(Context context, String pdfUrl, String pdfTitle, saveTo saveTo, Boolean enableDownload, Boolean enableZoom, Map<String, String> headers, ToolbarTitleBehavior toolbarTitleBehavior, CacheStrategy cacheStrategy)
-
launchPdfFromPath
final Intent launchPdfFromPath(Context context, String path, String pdfTitle, saveTo saveTo, Boolean fromAssets, Boolean enableZoom, ToolbarTitleBehavior toolbarTitleBehavior, CacheStrategy cacheStrategy)
-
getFILE_URL
final String getFILE_URL()
-
getFILE_TITLE
final String getFILE_TITLE()
-
getENABLE_FILE_DOWNLOAD
final String getENABLE_FILE_DOWNLOAD()
-
getFROM_ASSETS
final String getFROM_ASSETS()
-
getTITLE_BEHAVIOR
final String getTITLE_BEHAVIOR()
-
getENABLE_ZOOM
final String getENABLE_ZOOM()
-
getEnableDownload
final Boolean getEnableDownload()
-
setEnableDownload
final Unit setEnableDownload(Boolean enableDownload)
-
getIsPDFFromPath
final Boolean getIsPDFFromPath()
-
setIsPDFFromPath
final Unit setIsPDFFromPath(Boolean isPDFFromPath)
-
getIsFromAssets
final Boolean getIsFromAssets()
-
setIsFromAssets
final Unit setIsFromAssets(Boolean isFromAssets)
-
getSAVE_TO_DOWNLOADS
final Boolean getSAVE_TO_DOWNLOADS()
-
setSAVE_TO_DOWNLOADS
final Unit setSAVE_TO_DOWNLOADS(Boolean SAVE_TO_DOWNLOADS)
-
getIsZoomEnabled
final Boolean getIsZoomEnabled()
-
setIsZoomEnabled
final Unit setIsZoomEnabled(Boolean isZoomEnabled)
-
getCACHE_STRATEGY
final String getCACHE_STRATEGY()
-
-
-
-