DSCapturePhotoListener

interface DSCapturePhotoListener

This class is passed via DSOfflineSigningWithPhotoListener's or DSOfflineUseTemplateWithPhotoListener's onCapturePhotoStart method. Use this listener to pass the photoUri to the SDK after implementing Sign with Photo capture implementation.

Functions

Link copied to clipboard
abstract fun onCapturePhotoCancel()

Call this method when the Sign with Photo capture implementation is cancelled

Link copied to clipboard
abstract fun onCapturePhotoError(error: String)

Call this method when an error occurs in Sign with Photo capture implementation

Link copied to clipboard
abstract fun onCapturePhotoSuccess(photoUri: Uri?)

Call this method to pass the photoUri to the SDK after implementing Sign with Photo capture implementation.