setFlashMode

open fun setFlashMode(flashMode: FlashMode)

Set the camera flash mode. It's best to call .a to make sure that the camera supports this flash mode.

Parameters

flashMode

the flash mode to use