harmony 鸿蒙js-apidiff-resource-scheduler
操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
新增 | NA | 类名:ResourceType; 方法or属性:RUNNING_LOCK = 1 << 7 |
@ohos.resourceschedule.backgroundTaskManager.d.ts |
新增 | NA | 类名:ResourceType; 方法or属性:SENSOR = 1 << 8 |
@ohos.resourceschedule.backgroundTaskManager.d.ts |
废弃版本有变化 | 类名:particleAbility; 方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; 旧版本信息: |
类名:particleAbility; 方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; 新版本信息:9 代替接口: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning |
@ohos.ability.particleAbility.d.ts |
废弃版本有变化 | 类名:particleAbility; 方法or属性:function cancelBackgroundRunning(): Promise<void>; 旧版本信息: |
类名:particleAbility; 方法or属性:function cancelBackgroundRunning(): Promise<void>; 新版本信息:9 代替接口: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning |
@ohos.ability.particleAbility.d.ts |
权限有变化 | 类名:particleAbility; 方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; 旧版本信息: |
类名:particleAbility; 方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; 新版本信息:ohos.permission.KEEP_BACKGROUND_RUNNING |
@ohos.ability.particleAbility.d.ts |
model有变化 | 类名:particleAbility; 方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; 旧版本信息: |
类名:particleAbility; 方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; 新版本信息:FAModelOnly |
@ohos.ability.particleAbility.d.ts |
model有变化 | 类名:particleAbility; 方法or属性:function cancelBackgroundRunning(): Promise<void>; 旧版本信息: |
类名:particleAbility; 方法or属性:function cancelBackgroundRunning(): Promise<void>; 新版本信息:FAModelOnly |
@ohos.ability.particleAbility.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-application
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦