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.

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.