MBCaptureSessionService

fun MBCaptureSessionService(context: Context, lifecycleOwner: LifecycleOwner, options: MBCaptureSessionOptions, callback: MBCaptureSessionServiceListener)

Parameters

context

is an instance of the caller's context needed to implement MBCameraService and MBCaptureSessionView.

lifecycleOwner

is an instance of the caller's life cycle owner needed to implement MBCameraService.

options

represents the capture session's entry point configuration for ist correct functioning.

callback

updates the caller with any change during the whole capture process, including a capture result,