未验证 提交 3effe013 编写于 作者: O openharmony_ci 提交者: Gitee

!18732 (挑单3.2release)【IPC&RPC】指导文档修改

Merge pull request !18732 from Lixiaoying25/cherry-pick-1685072679
......@@ -6689,7 +6689,7 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void
}
```
### addDeathRecippient<sup>(deprecated)</sup>
### addDeathRecipient<sup>(deprecated)</sup>
>从API version 9 开始不再维护,建议使用[registerDeathRecipient](#registerdeathrecipient9)类替代。
......@@ -6744,7 +6744,7 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
globalThis.context.connectServiceExtensionAbility(want, connect);
```
上述onConnect回调函数中的proxy对象需要等ability异步连接成功后才会被赋值,然后才可调用proxy对象的addDeathRecippient接口方法新增死亡回调
上述onConnect回调函数中的proxy对象需要等ability异步连接成功后才会被赋值,然后才可调用proxy对象的addDeathRecipient接口方法新增死亡回调
```ts
class MyDeathRecipient {
......@@ -7146,7 +7146,7 @@ isAsync(): boolean;
| 类型 | 说明 |
| ------- | ---------------------------------------- |
| boolean | true:同步调用成功,false:异步调用成功。|
| boolean | true:异步调用成功,false:同步调用成功。|
**示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册