minAvailableVideoZoomFactor method

Future<double> minAvailableVideoZoomFactor()

The minimum zoom factor allowed in the current capture configuration.

On single-camera devices, this value is always 1.0. On a dual-camera device, the allowed range of video zoom factors can change if the device is delivering depth data to one or more capture outputs.

Setting the setVideoZoomFactor method to (or calling the rampToVideoZoomFactor method with) a value less than 1.0 always raises an exception. Setting the video zoom factor to a value between 1.0 and the minimum available zoom factor clamps the zoom setting to the minimum.

Implementation

Future<double> minAvailableVideoZoomFactor() async {
  return await _channel.$minAvailableVideoZoomFactor(this) as double;
}