c# - C# Dropbox 同步状态
问题描述
我正在将下拉框集成到我的 C# 应用程序中。我正在尝试检索投递箱同步状态,但在投递箱 API 中找不到任何方法来检索信息。有许多方法可用于检索用户信息和所有内容,但我找不到任何可以检索同步信息的方法。
我的代码如下:
//Retrieve dropbox sync state here
//Convert sync state to status code
switch (statusCode)
{
case 0:
return "Not in dropbox";
case 1:
return "Sync state upto date";
case 2:
return "Synchronizing";
case 3:
return "Issue syncing";
default:
throw new IOException("Issue communicating with drop box");
}
解决方案
不幸的是,Dropbox API 不提供检查桌面客户端同步状态的功能,但我会将其作为功能请求传递。我不能保证是否或何时可以实施。
推荐阅读
- php - 为什么 PHP 会为我的表格代码生成乱码 HTML?
- python - 为什么最后一个元素反映了非负解的数量?
- apache - 使用 Apache 2 在同一 IP 上为我的站点部署管理面板
- c# - 删除和排序 Usings 在 Visual Studio 2019 中不起作用
- javascript - 生日蛋糕蜡烛-hackerrank
- node.js - 如何在没有 API 的情况下访问 Google Classroom?
- google-cloud-platform - 无法在 Dataflow 中查看 beam.combiners.Count.PerElement() 的输出
- sql - 执行 UNNEST、INNER JOIN 和 ARRAY_AGG 作为 UPDATE 查询的一部分
- python - PyGame 不稳定
- android - ionic cordova run android 在无效的 adb 位置失败?