java.lang.Object |
↳ |
com.pdftron.demo.utils.AppUtils |
Class Overview
A collection of utility functions used for easy setup of PDFNet application.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
static
void
initHelper
(Context applicationContext)
public
static
void
initializePDFNetApplication
(Context applicationContext)
Utility function for setting up default PDFNet application.
A valid PDFNet license key is expected to in AndroidManifest meta data.
If using this function, DocumentPreviewCache
and
RecentlyUsedCache
will also be initialized.
Parameters
applicationContext |
the context
|
public
static
void
initializePDFNetApplication
(Context applicationContext, String licenseKey)
Utility function for setting up default PDFNet application.
Parameters
applicationContext |
the context |
licenseKey |
the license key
|
public
static
void
initializePDFNetApplication
(Context applicationContext, PDFNetConfig config)
Utility function for setting up custom PDFNet application.
A valid PDFNet license key is expected to in AndroidManifest meta data.
If using this function, DocumentPreviewCache
and
RecentlyUsedCache
will also be initialized.
Parameters
applicationContext |
the context |
config |
the custom PDFNetConfig
|
public
static
void
initializePDFNetApplication
(Context applicationContext, String licenseKey, PDFNetConfig config)
Utility function for setting up custom PDFNet application.
Parameters
applicationContext |
the context |
licenseKey |
the license key |
config |
the custom PDFNetConfig
|