resetSession

private final Unit resetSession()

Reset the session

This initializes the SDK if needed and starts the camera.

The SDK can lose its initialized state if the app is in the background for a long time. Therefore, it is always a good idea to call initSdkIfNeeded before starting the camera.