Package com.pspdfkit.listeners
Interface DocumentSigningListener
-
- All Implemented Interfaces:
public interface DocumentSigningListener
Listener for digital signing events when using the SignatureSignerDialog.
-
-
Method Summary
Modifier and Type Method Description abstract void
onDocumentSigned(@NonNull() Uri signedDocumentUri)
Called when document is signed with temporary PDF URI. abstract void
onDocumentSigningError(@Nullable() Throwable error)
Called when there was an error while signing. abstract void
onSigningCancelled()
Called when the user dismissed the dialog without signing the document. -
-
Method Detail
-
onDocumentSigned
abstract void onDocumentSigned(@NonNull() Uri signedDocumentUri)
Called when document is signed with temporary PDF URI. Use this to persistently store the document somewhere safe or to display it.
- Parameters:
signedDocumentUri
- Uri pointing to the signed PDF document in a temporary location.
-
onDocumentSigningError
abstract void onDocumentSigningError(@Nullable() Throwable error)
Called when there was an error while signing.
- Parameters:
error
- An exception with more information on the error, ornull
if no details are available.
-
onSigningCancelled
abstract void onSigningCancelled()
Called when the user dismissed the dialog without signing the document.
-
-
-
-