Lines Matching refs:download
3 …se the APIs to start or stop device-cloud synchronization and start or stop the download of images.
17 Enumerates the download states of a cloud file.
24 | COMPLETED | 1 | The cloud file download is complete.|
25 | FAILED | 2 | The cloud file download failed.|
26 | STOPPED | 3 | The cloud file download is stopped.|
30 Represents information about the download progress of a cloud file.
36 | state | [State](#state11) | Yes | File download state.|
44 Provides APIs for the file manager application to download files from the Drive Kit to a local devi…
72 Registers a listener for the download progress of a file from the Drive Kit.
80 | event | string | Yes | Event type. The value is **progress**, which indicates the download progr…
81 | callback | Callback\<[DownloadProgress](#downloadprogress11)> | Yes | Callback for the download …
98 console.info("download state: " + pg.state);
113 Unregisters a listener for the download progress of a file from the Drive Kit.
121 | event | string | Yes | Event type. The value is **progress**, which indicates the download progr…
122 …is parameter is not specified, this API unregisters all callbacks for the download progress event.|
140 console.info("download state: " + pg.state);
156 Starts to download a file from the Drive Kit to the local device. This API uses a promise to return…
164 | uri | string | Yes | URI of the file to download.|
183 console.info("download state:" + pg.state);
191 console.info("start download successfully");
193 …console.error("start download failed with error message: " + err.message + ", error code: " + err.…
213 Starts to download a file from the Drive Kit to the local device. This API uses an asynchronous cal…
221 | uri | string | Yes | URI of the file to download.|
247 …console.error("start download failed with error message: " + err.message + ", error code: " + err.…
249 console.info("start download successfully");
260 …*stop** will terminate the download of the current file and clear the cache file. You can use **st…
268 | uri | string | Yes | URI of the file to download.|
298 console.info("stop download successfully");
300 …console.error("stop download failed with error message: " + err.message + ", error code: " + err.c…
310 …*stop** will terminate the download of the current file and clear the cache file. You can use **st…
318 | uri | string | Yes | URI of the file to download.|
343 …console.error("stop download failed with error message: " + err.message + ", error code: " + err.c…
345 console.info("stop download successfully");
352 Enumerates the device-cloud download error types.