setImageFileFormat method

  1. @override
Future<void> setImageFileFormat(
  1. int cameraId,
  2. ImageFileFormat format
)

Sets the output image file format for the selected camera.

Implementation

@override
Future<void> setImageFileFormat(int cameraId, ImageFileFormat format) async {
  await _hostApi.setImageFileFormat(_pigeonImageFileFormat(format));
}