startMiSnapSession
Starts a session with the provided settings. Required to start the camera and begin receiving feedback from image analysis.
If requireTakePictureCapability is requested, the camera will be configured to allow requests to take manual frames at the expense of performance and the ability to generate images for analysis with a higher resolution than 1080p on supported devices. If it is not requested and the capability is needed later, the camera/session must be re-initialized.
Parameters
The MiSnapSettings to configure the session.
The optional LifecycleOwner to bind the session to. By default the view will bind to its Context's LifecycleOwner, which is likely an Activity's. It is recommended to pass the most specific LifecycleOwner to avoid maintaining the session beyond its intended scope.
Determines whether manual picture-taking capabilities are enabled or disabled.
An optional callback for when the session has started.