Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以知道同步的状态是什么,例如:进度、完成、错误等。
我正在查看 api 或我安装在计算机中的 google drive 应用程序中的信息。
抱歉,如果我猜对了您想要什么,这不可用:一种轮询 Drive Client 以查看其状态的方法。
API 和同步客户端不相关。
我唯一能想到的就是如果它锁定它正在同步的文件,枚举您尝试访问的文件并监视它们的锁定状态,假设如果在 10 秒内没有锁定或新文件就完成了。