openharmony 鸿蒙 js-apis-inner-notification-notificationActionButton

2025-06-16 浏览 (1)

NotificationActionButton

描述通知中显示的操作按钮。

说明:

本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。

属性

系统能力: SystemCapability.Notification.Notification

名称类型只读可选说明
titlestring按钮标题。字符串长度不超过200字节,超出部分会被截断;也不可为空字符串。
wantAgentWantAgent点击按钮时触发的WantAgent。
extras{ [key: string]: any }按钮扩展信息。预留能力,暂未支持。
userInput8+NotificationUserInput用户输入对象实例。表示用户输入时的标识。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Notification Kit(用户通知服务)

harmony 鸿蒙Notification

harmony 鸿蒙通知错误码

harmony 鸿蒙NotificationCommonDef

harmony 鸿蒙NotificationContent(系统接口)

harmony 鸿蒙NotificationContent

harmony 鸿蒙NotificationFlags(系统接口)

harmony 鸿蒙NotificationFlags

harmony 鸿蒙NotificationRequest(系统接口)

harmony 鸿蒙NotificationRequest

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/G2Odhq