Companion
object Companion
Provides factory methods for showing and managing electronic signature fragments.
Functions
Link copied to clipboard
Dismisses any previously shown signature picker fragment.
Link copied to clipboard
fun restore(fragmentManager: FragmentManager, listener: OnSignaturePickedListener?, signatureStorage: SignatureStorage? = null)
Restores any previously shown ElectronicSignatureFragment by re-attaching a OnSignaturePickedListener. Use this inside your activity's com.pspdfkit.ui.PdfActivity.onCreate method to reattach any listener and signature storage if necessary (for example after a configuration change). If no fragment was shown, calling this method will be a no-op.
Link copied to clipboard
fun show(fragmentManager: FragmentManager, listener: OnSignaturePickedListener?, signatureOptions: ElectronicSignatureOptions? = null, signatureStorage: SignatureStorage? = null)
Shows the ElectronicSignatureFragment. The fragment will be presented to the user as a dialog.