stopCamera method of the CaptureView class
Stops the camera. It is recommended to call the method inside onPause or onStop methods of the Activity/Fragment lifecycle.
Only the first call of the method is taken into account. All further repetitions will be ignored.
Important! Call the stopCamera method in pair to the startCamera to provide access to the camera for other applications.
@MainThread
void stopCamera();
3/2/2022 12:59:15 PM