Get flash available Cross Plattform

Hy,

i´m using the lamp plugin to turn on and of the camera flash.
But if its not available the function will crash. The project has a pull request to fix this issue, but it is not integrated by now.

So i want to whether or not a flash is available...in the best case cross plattform.
Did anyone can point me to a code snippet?

Thanks

Answers

  • seanydaseanyda GBMember ✭✭✭✭✭

    @KristianRichter said:
    Hy,

    i´m using the lamp plugin to turn on and of the camera flash.
    But if its not available the function will crash. The project has a pull request to fix this issue, but it is not integrated by now.

    So i want to whether or not a flash is available...in the best case cross plattform.
    Did anyone can point me to a code snippet?

    Thanks

    If it has a PR to fix the issue, Why not implement the PR into your solution yourself and remove the added code after it's been merged into the package?

Sign In or Register to comment.