×

Set Flashlight

Notes

Sets the flashlight state and brightness.

Syntax

setFlashlight(state: <#Boolean#>, level: <#Double#>)

Example

setFlashlight(state: true, level: 0.8)