DSDrawListener

interface DSDrawListener

Draw Signature Listener will provide the status whether the user has drawn a new signature or canceled out

Functions

Link copied to clipboard
abstract fun onDrawCanceled()

This function is called when the user cancels out of the draw flow

Link copied to clipboard
abstract fun onError(error: String?)

This function is called when there is an error during draw flow

Link copied to clipboard
abstract fun onFinishedDrawing(bitmap: Bitmap?, typeDS: DSSignatureType)

This function is called when the user finishes drawing the signature/initials