setCameraTorch abstract method

Future<int?> setCameraTorch(
  1. TorchState torchState
)

Turns on/off the flash of the currently used camera.

The result of the setting will expire after calling RTCVideo.stopVideoCapture to turn off the internal capturing.

Implementation

Future<int?> setCameraTorch(TorchState torchState);