We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I'd like to see an API for determining availability of, as well as toggling, camera flash. I suggest the following:
isFlashAvailable(): Returns true if the available hardware supports a flash. setFlashEnabled(bool): Sets the flash on or off.
isFlashAvailable()
true
setFlashEnabled(bool)