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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • 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.