setZoomLevel method

Future<void> setZoomLevel(
  1. int cameraId,
  2. double zoom
)

Set the zoom level for the selected camera.

The supplied zoom value should be between the minimum and the maximum supported zoom level returned by getMinZoomLevel and getMaxZoomLevel. Throws a CameraException when an illegal zoom level is supplied.

Implementation

Future<void> setZoomLevel(int cameraId, double zoom) {
  throw UnimplementedError('setZoomLevel() is not implemented.');
}