setCameraFocusPosition method

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

设置对焦区域

Implementation

Future<int> setCameraFocusPosition(double x, double y) async {
  IntValue reply =
      await _api.setCameraFocusPosition(SetCameraFocusPositionRequest()
        ..x = x
        ..y = y);
  return reply.value ?? -1;
}