目录

Glossary

C

[h2]ContinuousTask

A type of long-running, user-perceptible background tasks, such as background music playback, navigation, and device connection. Use a continuous task to prevent the app process from being suspended.

T

[h2]Transient Task

A type of tasks that require high real-time performance and are not time-consuming, such as state saving and message sending. A transient task can be requested to extend the running time of an app in the background.

[h2]Transparency Quota

A time quota management mechanism for transient tasks. An app is allocated a certain transient task quota, and once the quota is exhausted, no further transient task requests are allowed.

W

[h2]WorkScheduler

A deferred task scheduling mechanism provided by the system for tasks that do not require high real-time performance and can be executed with a delay. When conditions are met, the system schedules and launches the app based on factors such as memory and power consumption.

[h2]WorkSchedulerExtensionAbility

The callback extension capability for deferred tasks, which implements the onWorkStart and onWorkStop methods to handle the start and end callbacks of deferred tasks.