setCameraExposurePositionInPreview method
ZH
在指定点区域测光 @param x @param y @return 0: 成功, 非0: 失败
EN
Meter light at specified point @param x @param y @return 0: success, non-zero: failure
Implementation
Future<int> setCameraExposurePositionInPreview(double x, double y) async {
Map<String, dynamic> arguments = {'x': x, 'y': y};
int code =
await _channel.invokeMethod(
'setCameraExposurePositionInPreview',
arguments,
) ??
-1;
return code;
}