Skip to main content

UpdateControllerPlugin

BFChainPluginUpdateControllerPluginLess than 1 minute

The app's update control plug-in is responsible for monitoring app download progress and other events.

import { updateControllerPlugin } from "@plaoc/plugins";

method

updateControllerPlugin.download()

Responsible for downloading the app. After calling, it will jump to the download interface.

updateControllerPlugin.pause()

Pause app download.

updateControllerPlugin.resume()

Resume/restart app download.

updateControllerPlugin.cancel()

Cancel app download.

event

start

Listen for the start download event.

end

Listen for the download end event.

progress

Monitor download progress updates and update the animation of the download progress bar through this event.

cancel

Listen for download cancellation events.

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7