UpdateControllerPlugin.download()
PluginUpdateControllerPlugindownloadLess than 1 minute
Responsible for downloading the app and jumping to the download interface after calling.
Example
import { updateControllerPlugin } from "@plaoc/plugins";
updateControllerPlugin.download("http://example.com/metadata.json");
Function signature
download(medatadaUrl?: string): Promise<boolean>
Parameters
metadataUrl
The parameter is the address to access the app metadata.
The parameter type is string.
return value
-boolean
Platform compatibility
Properties/Methods/Events | Android | IOS | Desktop |
---|---|---|---|
download | ✅ | ✅ |
Powered by Waline v2.15.7