getMaxZoom method

Future<int> getMaxZoom()

Gets the maximum zoom value allowed for snapshot.

This is the maximum value that applications can set to setZoom. Applications should call isZoomSupported before using this method. This value may change in different preview size. Applications should call this again after setting preview size.

Implementation

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