MBCaptureSessionService

class MBCaptureSessionService(context: Context, lifecycleOwner: LifecycleOwner, options: MBCaptureSessionOptions)

Class used to initialize and handle the capture process

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.

Constructors

Link copied to clipboard
constructor(context: Context, lifecycleOwner: LifecycleOwner, options: MBCaptureSessionOptions)

Properties

Link copied to clipboard

Listener for progress events

Link copied to clipboard

Listener for capture session events

Link copied to clipboard

Listener for countdown events

Link copied to clipboard

Listener for faces status events

Functions

Link copied to clipboard
Link copied to clipboard
fun restart()
Link copied to clipboard
Link copied to clipboard

Starts capturing frames if the capture process is set to manual.