startCamera method of the CaptureView class

Starts the camera. It is recommended to call the method inside onResume or onStart methods of the Activity/Fragment lifecycle.

Permissions for the camera use by the app will be requested automatically when calling this method. If additional custom permissions are to be received, request for them before calling this method  or use the ExtendedSettings interface.

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 startCamera();

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.