initialize
Initializes Nutrient with a license key. This must be called before any other call to methods in this class.
This method can safely be called multiple times and is not needed when using com.pspdfkit.ui.PdfFragment or com.pspdfkit.ui.PdfActivity.
Parameters
Application context.
Extra initialization options, for example license key string. See InitializationOptions. Use null for trial purposes.
Throws
If license is not valid for this app.
If current device isn't compatible with Nutrient (e.g. Android < 5.0 or wrong ABI) or if some other error occurred.
If RxAndroid or RxJava dependencies are missing in the containing app.
Helper for the main initialise method. Useful if you only want to initialise with a license key and want to leave other options as default.
Parameters
Application context.
A valid Nutrient license key.