Android M example of a flashlight application using the new Flashlight API.
I could not find an example showcasing the Flashlight API in Android Marshmallow, so I went ahead and created my own. Hopefully it can help others like myself to see how it works.