InitializationOptions

data class InitializationOptions(val licenseKey: String? = null, val fontPaths: List<String> = emptyList(), val crossPlatformTechnology: ERROR CLASS: Symbol not found for CrossPlatformTechnology?? = null, val applicationPolicy: ApplicationPolicy? = null)

Extra initialization options for Nutrient. Passed to com.pspdfkit.Nutrient.initialize.

Constructors

Link copied to clipboard
constructor(licenseKey: String? = null, fontPaths: List<String> = emptyList(), crossPlatformTechnology: ERROR CLASS: Symbol not found for CrossPlatformTechnology?? = null, applicationPolicy: ApplicationPolicy? = null)

Properties

Link copied to clipboard

Custom application policy for controlling SDK behavior, or null to use defaults.

Link copied to clipboard
val crossPlatformTechnology: ERROR CLASS: Symbol not found for CrossPlatformTechnology??

The cross-platform technology being used (e.g., React Native, Flutter), or null if using native Android.

Link copied to clipboard

List of paths to additional font files or directories to load.

Link copied to clipboard

The license key for Nutrient, or null to use the key from AndroidManifest.xml.