SignaturePickerFragment

Deprecated

v2024.4: Will be removed in 2025.

Replace with

ElectronicSignatureFragment

The SignaturePickerFragment can be used to create ink signatures to add to a document. The dialog provides a list of stored signatures, and a user interface for adding new signatures. To show the dialog, use .show providing the fragment manager of the current activity, and a callback for receiving the user's selection.

This class constitutes PSPDFKit’s older signatures functionality from before the introduction of Electronic Signatures. As such, using this class requires that your license includes the Annotations feature and was originally purchased in October 2021 or earlier. If you purchased your license after this time, then you should use ElectronicSignatureFragment from Electronic Signatures instead.

This older signatures functionality will continue to be maintained and supported. However, we recommend using Electronic Signatures for new PSPDFKit integrations. If you’re interested in upgrading, please see our migration guide: https://pspdfkit.com/guides/android/migration-guides/migrating-to-electronic-signatures/

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun finish()

Dismiss fragment removing it from its owning activity.

Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)
Link copied to clipboard
open override fun onSaveInstanceState(outState: Bundle)
Link copied to clipboard

Sets listener for picked signatures. Calling this method will replace any previously set listener. You may provide null to clear the listener.