How to check if flashlight is turned on in android kotlin
I'm completely a newbie in android development and I'm trying to check the status of camera flash light is turned on or off.
Can someone tell me if it's possible, any sample piece of code will be helpful to understand