MBCaptureSessionFragmentListener

Interface for capturing events related to the capture session. Implement this interface to receive callbacks when the state of the capture session changes, when the capture session is finished or when the capture session encounters an error.

Functions

Link copied to clipboard
abstract fun onFailure(errorEnum: MBCaptureSessionError)

Called when the capture session encounters an error.

Link copied to clipboard
abstract fun onStateChanged(stateEnum: MBCaptureState)

Called when the capture session changes state.

Link copied to clipboard
abstract fun onSuccess(result: MBCaptureSessionResult?)

Called when the capture session finishes successfully.