-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
I want to control the light of Camera when scaning, but the light be occupyed by your ane.
so , can you add the function about the light of Camera
e.g(Android)
Camera.Parameters parameters = mCamera.getParameters();
if (!parameters.getFlashMode().equalsIgnoreCase(
Camera.Parameters.FLASH_MODE_TORCH)) {
parameters.setFlashMode(Camera.Parameters.FLASH_MODE_TORCH);
mCamera.setParameters(parameters);
} else {
parameters.setFlashMode(Camera.Parameters.FLASH_MODE_OFF);
mCamera.setParameters(parameters);
}
I hope you understande what I say