setCameraExposurePositionInPreview method

Future<int> setCameraExposurePositionInPreview(
  1. double x,
  2. double y
)

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;
}