Lines Matching refs:backgroundTaskManager

3 ## cl.resourceschedule.backgroundTaskManager 
4 对资源调度子系统backgroundTaskManager仓原有接口进行整改,原有@ohos.backgroundTaskManager.d.ts中的API9接口删除,需要使用@ohos.resou…
12 以下方法、属性、枚举和常量均从API9变更。@ohos.backgroundTaskManager.d.ts文件中的接口移植到@ohos.resourceschedule.backgroundTas…
16 | backgroundTaskManager | method | function resetAllEfficiencyResources(): void; | 接口API9删除,移植到ohos…
17backgroundTaskManager | method | function applyEfficiencyResources(request: EfficiencyResourcesReq…
18 | backgroundTaskManager.ResourceType | enum | export enum ResourceType | 接口API9删除,移植到ohos.resources…
19 | backgroundTaskManager.ResourceType | enum | CPU = 1 | 接口API9删除,移植到ohos.resourceschedule.backgroun…
20 | backgroundTaskManager.ResourceType | enum | COMMON_EVENT = 1 << 1 | 接口API9删除,移植到ohos.resourcesche…
21 | backgroundTaskManager.ResourceType | enum | TIMER = 1 << 2 | 接口API9删除,移植到ohos.resourceschedule.ba…
22 | backgroundTaskManager.ResourceType | enum | WORK_SCHEDULER = 1 << 3 | 接口API9删除,移植到ohos.resourcesc…
23 | backgroundTaskManager.ResourceType | enum | BLUETOOTH = 1 << 4 | 接口API9删除,移植到ohos.resourceschedul…
24 | backgroundTaskManager.ResourceType | enum | GPS = 1 << 5 | 接口API9删除,移植到ohos.resourceschedule.back…
25 | backgroundTaskManager.ResourceType | enum | AUDIO = 1 << 6 | 接口API9删除,移植到ohos.resourceschedule.ba…
26backgroundTaskManager.EfficiencyResourcesRequest | interface | export interface EfficiencyResource…
27 | backgroundTaskManager.EfficiencyResourcesRequest | field | reason: string | 接口API9删除,移植到ohos.reso…
28 | backgroundTaskManager.EfficiencyResourcesRequest | field | isProcess?: bool | 接口API9删除,移植到ohos.re…
29 | backgroundTaskManager.EfficiencyResourcesRequest | field | isPersist?: bool | 接口API9删除,移植到ohos.re…
30 | backgroundTaskManager.EfficiencyResourcesRequest | field | timeOut: number | 接口API9删除,移植到ohos.res…
31 | backgroundTaskManager.EfficiencyResourcesRequest | field | isApply: bool | 接口API9删除,移植到ohos.resou…
32 | backgroundTaskManager.EfficiencyResourcesRequest | field | resourceTypes: number | 接口API9删除,移植到oh…
37 导入backgroundTaskManager模块。
39 import bundle form '@ohos.resourceschedule.backgroundTaskManager'
41 此外还需要适配异常处理,具体参考[backgroundTaskManager接口文档](../../../application-dev/reference/apis/js-apis-resourc…