提交 7968d58d 编写于 作者: X xieqiongyang

fixed eecf725b from https://gitee.com/xieqiongyang/docs/pulls/22659

update onShare
Signed-off-by: Nxieqiongyang <xieqiongyang@huawei.com>
Change-Id: I6a8057d7faeb8d3fc744de86add3a5949a1832e7
上级 585c09fa
......@@ -315,7 +315,7 @@ class MyUIAbility extends UIAbility {
onShare(wantParam:{ [key: string]: Object }): void;
ability设置分享数据,ohos.extra.param.key.shareUrl表示服务的在线地址
在跨端分享场景下,在UIAbility中设置分享方设备要分享的数据
**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore
......@@ -323,7 +323,7 @@ ability设置分享数据,ohos.extra.param.key.shareUrl表示服务的在线
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| wantParam | {[key:&nbsp;string]:&nbsp;Object} | 是 | want相关参数。 |
| wantParam | {[key:&nbsp;string]:&nbsp;Object} | 是 | 待分享的数据。 |
**示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册