public static interface

SignaturePickerFragment.OnSignaturePickedListener

com.pspdfkit.ui.signatures.SignaturePickerFragment.OnSignaturePickedListener

Class Overview

Listener for notifying whether a user picked a signature or not.

Summary

Public Methods
abstract void onDismiss()
Called when the SignaturePickerFragment dialog was dismissed without picking a signature.
abstract void onSignatureCreated(Signature signature, boolean wasSaved)
Called when a new signature was created.
abstract void onSignaturePicked(Signature signature)
Called when the signature item was selected from the list.
abstract void onSignatureUiDataCollected(Signature signature, SignaturePickerFragment.SignatureUiData signatureUiData)
Called when the signature has been drawn and created, containing the signature that was created and its UI data that was collected.

Public Methods

public abstract void onDismiss ()

Called when the SignaturePickerFragment dialog was dismissed without picking a signature.

public abstract void onSignatureCreated (Signature signature, boolean wasSaved)

Called when a new signature was created.

Parameters
signature Created Signature item.
wasSaved true if the signature was saved, false otherwise.

public abstract void onSignaturePicked (Signature signature)

Called when the signature item was selected from the list.

Parameters
signature Picked Signature item.

public abstract void onSignatureUiDataCollected (Signature signature, SignaturePickerFragment.SignatureUiData signatureUiData)

Called when the signature has been drawn and created, containing the signature that was created and its UI data that was collected. This will be triggered when the signature is created.

Parameters
signature Signature that was created.
signatureUiData UI data for the signature drawing.