未验证 提交 53d1cf7f 编写于 作者: O openharmony_ci 提交者: Gitee

!12827 system.notification 接口文档规范修改

Merge pull request !12827 from FangJinliang/pr_1216
......@@ -17,22 +17,22 @@ import notification from '@system.notification';
**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
| 名称 | 可读 | 可写 | 类型 | 必填 | 描述 |
| ----------- | --- | ---- | ---------------------------------------------- | ---- | ------------------------- |
| bundleName | 是 | 是 | string | 是 | 单击通知后要重定向到的应用程序的Bundle名。 |
| abilityName | 是 | 是 | string | 是 | 单击通知后要重定向到的应用程序的Ability名称。 |
| uri | 是 | 是 | string | 否 | 要重定向到的页面的uri。 |
| 名称 | 类型 | 可读 | 可写 | 必填 | 描述 |
| ----------- | ---------------------------------------------- | ---- | ------------------------- | ------------------------- | ------------------------- |
| bundleName | string | 是 | 是 | 是 | 单击通知后要重定向到的应用程序的Bundle名。 |
| abilityName | string | 是 | 是 | 是 | 单击通知后要重定向到的应用程序的Ability名称。 |
| uri | string | 是 | 是 | 否 | 要重定向到的页面的uri。 |
## ShowNotificationOptions
**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
| 名称 | 可读 | 可写 | 类型 | 必填 | 描述 |
| ------------- | --- | ---- | ---------------------------------------------- | ---- | ------------------------- |
| contentTitle | 是 | 是 | string | 否 | 通知标题。 |
| contentText | 是 | 是 | string | 否 | 通知内容。 |
| clickAction | 是 | 是 | ActionResult | 否 | 通知被点击后触发的行为。 |
| 名称 | 类型 | 可读 | 可写 | 必填 | 描述 |
| ------------- | ---------------------------------------------- | ---- | ------------------------- | ------------------------- | ------------------------- |
| contentTitle | string | 是 | 是 | 否 | 通知标题。 |
| contentText | string | 是 | 是 | 否 | 通知内容。 |
| clickAction | ActionResult | 是 | 是 | 否 | 通知被点击后触发的行为。 |
## notification.show
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册