--jpFlashLight API jpFlashLight.activate ( sUserToken, sActivationKey ) bActive = jpFlashLight.isActive ( ) bAvailable = jpFlashLight.isAvailable ( ) jpFlashLight.setActive ( bActive )
This plugin is an easy way to manage the flash light state of the device.
Its API gives you direct access to the flash light in order to turn it on or off