Lines Matching refs:download

3 The **system.request** module provides applications with basic upload and download capabilities.
133 ## request.download<sup>(deprecated)</sup>
135 download(options: DownloadRequestOptions): void
156 description: 'this is requeSystem download response',
158 console.info(' download success, code:' + JSON.stringify(data));
161 console.info(' download fail data: ' + data + 'code: ' + code);
164 console.info(' download complete');
169 request.download(downloadRequestOptions);
170 console.info('download start ');
172 console.info(' download err:' + err);
184 …| filename | string | No| Name of the file to download. The value is obtained from the current req…
194 …onse](#downloadresponsedeprecated) | Yes| Information returned when the download task is successfu…
199 | data | any | Yes| Header information returned when the download task fails.|
200 | code | number | Yes| HTTP status code returned when the download task fails.|
208 | token | string | Yes| Download token, which is used to obtain the download status|
215 Listens for download task status. This API returns no value.
223 …CompleteOptions](#ondownloadcompleteoptionsdeprecated) | Yes| Configurations of the download task.|
233 console.info(' download success, code:' + JSON.stringify(data));
236 console.info(' download fail data: ' + data + 'code: ' + code);
239 console.info(' download complete');
253 | token | string | Yes| Result token returned by the download API.|
261 …ownloadcompleteresponsedeprecated) | Yes| Information returned when the download task is successfu…
266 | data | any | Yes| Header information returned when the download task fails.|
267 | code | number | Yes| HTTP status code returned when the download task fails.|
276 | uri | string | Yes| URI of the download file.|