UpdateControllerPlugin
August 11, 2023
- Plugin
Update the control plug-in of the App; but this plug-in cannot be accessed directly; The UpdateControllerPlugin plugin will be accessed in the DwebServiceWorkerPlugin plugin;
import { dwebServiceWorkerPlugin } from "@plaoc/plugin";
const updateControllerPlugin = dwebServiceWorkerPlugin.updateController
Property
- none
Method
UpdateControllerPlugin.download()
download apps;
UpdateControllerPlugin.pause()
pause download;
UpdateControllerPlugin.resume()
restart download;
UpdateControllerPlugin.cancel()
cancel download;
Event
- none
Platform Compatibility
Property/Method/Event | Android | IOS | Desktop-Dev | Desktop |
---|---|---|---|---|
download | ✅ | ✅ | ✅ | X |
pause | ✅ | ✅ | ✅ | X |
resume | ✅ | ✅ | ✅ | X |
cancel | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.13.0