With this feature you can control the device flashlight.
Device.FlashLight.On
Turns the flashlight on
Parameters:
Intensity (Value) - The intensity of the light, from 0 - 1 (decimal value)
Return values:
ErrorMessage (Value) - Error if something went wrong
Outlets:
Done - Called when the flashlight is on
Failed - Called if something went wrong
Device.FlashLight.Off
Turns the flashlight off
Parameters:
None
Return values:
ErrorMessage (Value) - Error if something went wrong
Outlets:
Done - Called when the flashlight is turned off
Failed - Called if something went wrong
You can always use your own custom JavaScript code to control the device flashlight.
For flashlight control Aquro is using the Flashlight-PhoneGap-Plugin plugin.
More info: https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin