Flash API
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.
@ndarilek
sorry, I have to deal with another project recently, so new features would be delayed.
have you studied API on android/ios yet? If you have some code snippets already, I can create a branch to merge your PR then we finalize it together :smile:
info required on both ios/android
- api to detect flash light availability ( between several version )
- api to toggle flash light ( between several version )
Cool, I need this feature and can take a crack at implementing it on Android, but I don't yet have OS X/iOS hardware. If I implement a working Android solution, would you be able to either make the API work on iOS, or hash out an API that works on both?
sure, I will try my best. go head on master branch!
@zxcpoiu Hi, is there any progress? Thank you!
@ndarilek @MartinSadovy
good news, @stepanvotava had implemented ios version at #25