//WatchManager是WatchOpImpl的子类,须在1.3配置好sdkWatchManagerwatchManager=WatchManager.getInstance();//watchPath:设备存在的表盘文件路径//OnFatFileProgressListener:进度监听器watchManager.deleteWatchFile(watchPath,newOnFatFileProgressListener(){@OverridepublicvoidonStart(StringfilePath){//回调开始}@OverridepublicvoidonProgress(floatprogress){//回调进度}@OverridepublicvoidonStop(intresult){//回调结束//result:0—成功非0是错误码,参考FatFsErrCode}});
杰理之手表删除已存在的表盘文件【篇】
最新推荐文章于 2024-09-02 23:14:47 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)