com.pspdfkit.signatures.signers.InteractiveSigner.LoadingFeedbackListener |
Callback for notifying the user of important events that could happen during private key loading.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | InteractiveSigner.LoadingFeedbackListener.InteractionRequiredEvent | Possible user interaction events that can be emitted via onInteractionRequired(InteractiveSigner.LoadingFeedbackListener.InteractionRequiredEvent) . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onError(String reason, Throwable exception)
Called when an error happened while loading the certificate.
| ||||||||||
abstract void |
onInteractionRequired(InteractiveSigner.LoadingFeedbackListener.InteractionRequiredEvent event)
Called by the signer whenever interaction with the user is required (for example when
loading the private key failed, or a password is required).
| ||||||||||
abstract void |
onSuccess()
Called when the certificate was successfully loaded.
|
Called when an error happened while loading the certificate.
reason | A human readable reason describing the error reason. |
---|---|
exception | An exception with more details on the error, or null .
|
Called by the signer whenever interaction with the user is required (for example when loading the private key failed, or a password is required).
event | Type of event that happened. |
---|
Called when the certificate was successfully loaded.