ElectronicSignatureFragment

A dialog for adding a signature to a document by drawing, selecting an image, or typing. an electronic signature. The dialog also provides a list of stored signatures.

This class requires the Electronic Signatures feature to be enabled in your license.

To show the dialog, use show providing the fragment manager of the current activity, and a callback for receiving the user's selection.

To cryptographically sign a document with a certificate, please use the com.pspdfkit.signatures.SigningManager class from PSPDFKit’s Digital Signatures component.

Check out signature guide for more general information about signatures.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun dismiss(@NonNull fragmentManager: FragmentManager)
Dismisses any previously shown signature picker fragment.
Link copied to clipboard
open fun finish()
Dismiss fragment removing it from its owning activity.
Link copied to clipboard
open fun onCreate(@Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onSaveInstanceState(@NonNull outState: Bundle)
Link copied to clipboard
open fun restore(@NonNull fragmentManager: FragmentManager, @Nullable listener: OnSignaturePickedListener)
open fun restore(@NonNull fragmentManager: FragmentManager, @Nullable listener: OnSignaturePickedListener, @Nullable signatureStorage: SignatureStorage)
Restores any previously shown ElectronicSignatureFragment by re-attaching a .
Link copied to clipboard
Sets listener for picked signatures.
Link copied to clipboard
open fun show(@NonNull fragmentManager: FragmentManager, @Nullable listener: OnSignaturePickedListener)
open fun show(@NonNull fragmentManager: FragmentManager, @Nullable listener: OnSignaturePickedListener, @Nullable signatureOptions: ElectronicSignatureOptions, @Nullable signatureStorage: SignatureStorage)