This framework allows you to specify trigger conditions for the works set using WorkInfo and
WorkScheduler. When these conditions are met, the framework attempts to batch process the works without
increasing power consumption or affecting system performance. For details, see WorkInfo and
WorkScheduler.
| 类 | 说明 |
|---|---|
| WorkInfo |
Defines the conditions for triggering a work.
|
| WorkInfo.Builder |
Represents the builder class of
WorkInfo objects that specify triggering conditions of a work. |
| WorkScheduler |
Provides methods of starting, stopping, canceling, and updating a work and implementing the service logic for the
Particle Ability.
|