MBCaptureSessionFragmentListener

interface MBCaptureSessionFragmentListener

MBCaptureSessionFragmentListener is managed for MBCaptureSessionController describing the different stages of the whole capture process

Functions

onCaptureFinished
Link copied to clipboard
abstract fun onCaptureFinished(result: MBCaptureSessionResult?)
onCaptureFinished is executed when the capture session is successfully finished
onFailure
Link copied to clipboard
abstract fun onFailure(errorEnum: MBCaptureSessionError)
onFailure is be executed for MBCaptureSession class when the camera can not be open or when capture session has been aborted