setTorchMode

abstract suspend fun setTorchMode(mode: TorchMode)

Sets the torch to the given mode, at the system default level. Requires CameraDevice.hasTorch.