setFlashlightEnabled method of the CameraSettings interface

Enables or disables the device flashlight torch mode.

@MainThread
void setFlashlightEnabled( boolean isEnabled );

Parameters

isEnabled
This parameter defines if the flashlight in torch mode should be enabled. Set true to enable the flashlight and false otherwise.

3/2/2022 12:59:15 PM

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.