当前位置:网站首页>Insert dial file of Jerry's watch [chapter]

Insert dial file of Jerry's watch [chapter]

2022-07-06 17:54:00 Rambo-Lamborghini

//WatchManager yes WatchOpImpl Subclasses of , Must be in 1.3 Good configuration sdkWatchManagerwatchManager=WatchManager.getInstance();//filePath Is the dial file path , There must be //isNoNeedCheck: Whether to skip file verification //-false: Dial files need to be verified //-true: Custom background files do not require file verification , But you need a conversion tool for algorithm conversion //OnFatFileProgressListener: Progress listener watchManager.createWatchFile(filePath,false,newOnFatFileProgressListener(){@OverridepublicvoidonStart(StringfilePath){// Callback begins }@OverridepublicvoidonProgress(floatprogress){// Callback progress }@OverridepublicvoidonStop(intresult){// Callback end //result:0— Success is not 0 It's the error code , Reference resources FatFsErrCode}});

原网站

版权声明
本文为[Rambo-Lamborghini]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131304533187.html