• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NotificationActionButton
2
3描述通知中显示的操作按钮。
4
5> **说明:**
6>
7> 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
8
9**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
10
11| 名称      | 类型                                            | 可读 | 可写 | 说明                      |
12| --------- | ----------------------------------------------- | --- | ---- | ------------------------- |
13| title     | string                                          | 是  | 是  | 按钮标题。                  |
14| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md)   | 是  | 是  | 点击按钮时触发的WantAgent。 |
15| extras    | { [key: string]: any }                          | 是  | 是  | 按钮扩展信息。              |
16| userInput<sup>8+</sup> | [NotificationUserInput](js-apis-inner-notification-notificationUserInput.md) | 是  | 是  | 用户输入对象实例。          |
17