useFlash

abstract fun useFlash(flash: Boolean)

Enables or disables camera flash.

If there is no flash on this device, does nothing.

If view is paused, this call is ignored.

Parameters

flash

true to enable flash. false to disable flash.