onFailure

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

Parameters

errorEnum

says whether there is a camera or face failure