Home
last modified time | relevance | path

Searched refs:backgroundTask (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dimprove-file-upload-and-download-performance.md175 private backgroundTask: request.agent.Task | undefined = undefined;
240 this.backgroundTask = await request.agent.create(this.context, this.config);
245 await this.backgroundTask.start();
250 if (this.backgroundTask === undefined) {
253 await this.backgroundTask.pause();
259 if (this.backgroundTask === undefined) {
262 await this.backgroundTask.resume();
H A Dreasonable-running-backgroundTask.md15 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…
100 ![](./figures/reasonable-running-backgroundTask-image1.png)
112 ![](./figures/reasonable-running-backgroundTask-image2.png)
116 ![](./figures/reasonable-running-backgroundTask-image3.png)
148 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…
H A DReadme-CN.md46 - [合理运行后台任务](reasonable-running-backgroundTask.md)
/ohos5.0/docs/zh-cn/application-dev/device/location/
H A Dlocation-permission-guidelines.md34 …s-task.md)<!--Del-->,[长时任务开发示例](../../performance/reasonable-running-backgroundTask.md#长时任务)<!--De…
/ohos5.0/docs/en/application-dev/performance/
H A Dimprove-file-upload-and-download-performance.md179 private backgroundTask: request.agent.Task | undefined = undefined;
247 this.backgroundTask = await request.agent.create(this.context, this.config);
254 await this.backgroundTask.start();
261 if (this.backgroundTask === undefined) {
264 await this.backgroundTask.pause();
272 if (this.backgroundTask === undefined) {
275 await this.backgroundTask.resume();
H A Dreadme-EN.md24 - [Reasonably Running Background Tasks](reasonable-running-backgroundTask.md)
H A Dreasonable-running-backgroundTask.md17 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…
102 ![](./figures/reasonable-running-backgroundTask-image1.png)
114 ![](./figures/reasonable-running-backgroundTask-image2.png)
118 ![](./figures/reasonable-running-backgroundTask-image3.png)
150 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…
/ohos5.0/docs/en/application-dev/device/location/
H A Dlocation-permission-guidelines.md34 …nuous Task Development Example](../../performance/reasonable-running-backgroundTask.md#continuous-…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_vacuum.cpp641 TaskAction backgroundTask = [this]() { in ActivateBackgroundVacuumTaskExecution() local
646 int errCode = RuntimeContext::GetInstance()->ScheduleTask(backgroundTask); in ActivateBackgroundVacuumTaskExecution()
/ohos5.0/docs/zh-cn/application-dev/
H A Dwebsite.md1707 - [合理运行后台任务](performance/reasonable-running-backgroundTask.md)