setFlashMode abstract method

Future<void> setFlashMode(
  1. int handle,
  2. XFlashMode mode
)

Set the flash mode used for the next takePicture. On front cameras without a screen-flash fallback the backend silently no-ops; the caller is responsible for not offering flash UI there.

Implementation

Future<void> setFlashMode(int handle, XFlashMode mode);