setCameraTorch

fun setCameraTorch(enabled: Boolean, listener: RequestListener? = null)

Enable or disable the camera flashlight. The default value is false.

The optional callback (listener) will be invoked either when the operation has completed, or if it encounters an error.

Errors will also be provided to the CallClientListener.onError callback.

For more advanced input settings, see updateInputs.