未验证 提交 55d53cc6 编写于 作者: O openharmony_ci 提交者: Gitee

!23705 示例代码中废弃接口整改monthly

Merge pull request !23705 from wangkailong/cherry-pick-1693569698
...@@ -230,7 +230,7 @@ startBackgroundRunning(id: number, request: NotificationRequest, callback: Async ...@@ -230,7 +230,7 @@ startBackgroundRunning(id: number, request: NotificationRequest, callback: Async
**示例** **示例**
```ts ```ts
import notification from '@ohos.notification'; import notification from '@ohos.notificationManager';
import particleAbility from '@ohos.ability.particleAbility'; import particleAbility from '@ohos.ability.particleAbility';
import wantAgent from '@ohos.app.ability.wantAgent'; import wantAgent from '@ohos.app.ability.wantAgent';
import { BusinessError } from '@ohos.base'; import { BusinessError } from '@ohos.base';
...@@ -299,7 +299,7 @@ startBackgroundRunning(id: number, request: NotificationRequest): Promise<voi ...@@ -299,7 +299,7 @@ startBackgroundRunning(id: number, request: NotificationRequest): Promise<voi
**示例** **示例**
```ts ```ts
import notification from '@ohos.notification'; import notification from '@ohos.notificationManager';
import particleAbility from '@ohos.ability.particleAbility'; import particleAbility from '@ohos.ability.particleAbility';
import wantAgent from '@ohos.app.ability.wantAgent'; import wantAgent from '@ohos.app.ability.wantAgent';
import { BusinessError } from '@ohos.base'; import { BusinessError } from '@ohos.base';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册