ComPDFKit class

Constructors

ComPDFKit()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getSDKBuildTag() Future<String>
Get the version information of ComPDFKit SDK.
getTemporaryDirectory() Future<Directory>
Retrieve the path of your operating system's temporary directory. Support Android and iOS only for now.
getVersionCode() Future<String>
Get the version code of the ComPDFKit SDK.
init(String key) → void
Please enter your ComPDFKit license to initialize the ComPDFKit SDK.
This method is used for offline license authentication. In version 1.13.0, we have introduced a brand-new online authentication licensing scheme. By default, the ComPDFKit SDK performs online authentication. If you are unsure about the type of your license, please contact the ComPDFKit team..
initialize({required String androidOnlineLicense, required String iosOnlineLicense}) → void
Please enter your ComPDFKit license to initialize the ComPDFKit SDK.
This method is used for online license authentication In version 1.13.0, we have introduced a brand-new online authentication licensing scheme. By default, the ComPDFKit SDK performs online authentication. If you obtained your ComPDFKit License before the release of version 1.13.0, please use ComPDFKit.init
If you are unsure about the type of your license, please contact the ComPDFKit team..
openDocument(String document, {String? password, CPDFConfiguration? configuration}) → void
Enter the local PDF file path, document password (if required), and configuration parameters, and display the PDF document in a new window.

Constants

initSDK → const String
initSdkKeys → const String
sdkBuildTag → const String
sdkVersionCode → const String