getCameraMaxZoom method
获取镜头最大焦距
- 调用此方法时要保证摄像头已打开,否则将直接返回 -1
@return 镜头的最大焦距
- 返回小于0, 表示不支持变焦
Implementation
@override
Future<double> getCameraMaxZoom() async {
var result = await NativeImpl.methodChannel
.invokeMethod('${methodTag}getCameraMaxZoom');
return result;
}