Closed amira133 closed 2 years ago
One way you could interact with the flash light is by using the method CameraView#setFlash(int)
:
cameraView.setFlash(CameraView.FLASH_TORCH);
Note: Be sure to use CameraView.FLASH_TORCH
instead of CameraView.FLASH_ON
to force the flash light to be on all the time.
Hello I want to know how turn on flash light without taking picture. Or set it to turn On flash light all the time.
Thank..