xcStopSendFileToDevice method
关闭发送文件到设备端
handle 由xcStartSendFileToDevice这个接口返回的操作句柄
Implementation
Future<String> xcStopSendFileToDevice({required int handle}) async {
final result =
await _api.xcStopSendFileToDevice(handle, ApiSeq.instance.getSeq());
if (result.param1 < 0) {
return Future.error(
XCloudAPIException(code: result.param1, commandId: result.commandId));
}
return Future.value(result.data);
}