MBCaptureSessionServiceListener

interface MBCaptureSessionServiceListener

MBCaptureSessionServiceListener 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
onCaptureStarted
Link copied to clipboard
abstract fun onCaptureStarted()
onCaptureStarted is executed when the capture process starts
onCountdown
Link copied to clipboard
abstract fun onCountdown(timeCounter: Int)
onCountdown is executed in every timer engine iteration
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
onValidating
Link copied to clipboard
abstract fun onValidating(faceStatus: MBFaceStatus)
onWaitingToCapture is executed when the status of the face changes

Inheritors

MBCaptureSessionFragment
Link copied to clipboard