SignatureStorage

Handles storing signatures. A signature is usually an ink signature (hand-written signature) that can be added to a PDF as an InkAnnotation.

Implement this class when creating your own signature storage, which you can then pass to the setSignatureStorage. Additionally, you can use our default DatabaseSignatureStorage with your own database name.

To set a default signature storage that will be used when the ElectronicSignatureFragment is invoked by the framework, use setSignatureStorage.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun addSignature(@NonNull signature: Signature)
Adds the given signature to the signature storage.
Link copied to clipboard
abstract fun addSignatures(@NonNull signatures: List<Signature>)
Adds the given signatures to the signature storage.
Link copied to clipboard
abstract fun clear()
Clears the storage by removing all the signatures from it.
Link copied to clipboard
Gets the currently stored signatures.
Link copied to clipboard
abstract fun removeSignature(@NonNull signature: Signature)
Removes the given signature from the signature storage.
Link copied to clipboard
abstract fun removeSignatures(@NonNull signatures: List<Signature>)
Removes the given signatures from the signature storage.