Interface OnSignaturePickedListener
-
- All Implemented Interfaces:
public interface OnSignaturePickedListener
Interface used by show. Used to notify when a signature has been picked, created, or when the dialog containing the signature has been dismissed.
-
-
Method Summary
Modifier and Type Method Description abstract void
onSignaturePicked(@NonNull() Signature signature)
Called when the signature item was selected from the list. void
onSignatureCreated(@NonNull() Signature signature, boolean wasSaved)
Called when a new signature was created. void
onSignatureUiDataCollected(@NonNull() Signature signature, @NonNull() SignatureUiData signatureUiData)
Called when the signature has been drawn and created, containing the signature that was created and its UI data that was collected. abstract void
onDismiss()
Called when the dialog implementing it (e.g. -
-
Method Detail
-
onSignaturePicked
abstract void onSignaturePicked(@NonNull() Signature signature)
Called when the signature item was selected from the list.
- Parameters:
signature
- Picked Signature item.
-
onSignatureCreated
void onSignatureCreated(@NonNull() 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.
-
onSignatureUiDataCollected
void onSignatureUiDataCollected(@NonNull() Signature signature, @NonNull() 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.
-
onDismiss
abstract void onDismiss()
Called when the dialog implementing it (e.g. ElectronicSignatureFragment) was dismissed without picking a signature.
-
-
-
-