M B Capture Session Service
class MBCaptureSessionService(context: Context, lifecycleOwner: LifecycleOwner, options: MBCaptureSessionOptions, callback: MBCaptureSessionServiceListener)
Content copied to clipboard
This is the presenter class that provides the capture service to the caller.
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,
Constructors
MBCaptureSessionService
Link copied to clipboard
fun MBCaptureSessionService(context: Context, lifecycleOwner: LifecycleOwner, options: MBCaptureSessionOptions, callback: MBCaptureSessionServiceListener)
Content copied to clipboard
is an instance of the caller's context needed to implement MBCameraService and MBCaptureSessionView.
Functions
getAutomaticCapture
Link copied to clipboard
getCaptureSessionView
Link copied to clipboard
startCamera
Link copied to clipboard
fun startCamera()
Content copied to clipboard
startCaptureSession
Link copied to clipboard
fun startCaptureSession()
Content copied to clipboard