I wanted to programmatically adjust the brightness of the flashlight. That is, I have a slider on the form, with its help I make 5 levels of brightness adjustment, everything is extremely simple, the user moves the slider and the brightness of the flashlight changes (if such a function is generally supported on this phone). I've looked all over the internet, but I can't seem to find anything useful on how to do this. I turn the flashlight on and off using the flashlight class using the Xamarin.Essentials library. But in this class there are only 2 methods - on and off and nothing more. Please tell me how to solve the problem, thanks. Xamarin, c#, Android. Nothing that was found on stackoverflow did not fit
Asked
Active
Viewed 23 times