未验证 提交 884b662f 编写于 作者: O openharmony_ci 提交者: Gitee

!23706 示例代码中废弃接口整改beta

Merge pull request !23706 from wangkailong/cherry-pick-1693569834
...@@ -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';
...@@ -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';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册