stopScreenCapture method

Future<int> stopScreenCapture ()

关闭辅流形式的屏幕共享

Implementation

Future<int> stopScreenCapture() async {
  if (defaultTargetPlatform == TargetPlatform.android) {
    IntValue reply = await _api.stopScreenCapture();
    return reply.value;
  } else {
    return Future.value(-1);
  }
}