当前位置: 首页 > news >正文

HarmonyOS NEXT应用开发-Notification Kit(用户通知服务)更多系统能力

1.BundleOption

支持设备Phone2in1TabletCarWearable

type BundleOption = _BundleOption

描述BundleOption信息,即指定应用的包信息。

系统能力: SystemCapability.Notification.Notification

类型

说明

_BundleOption

描述BundleOption信息,即指定应用的包信息。

2.NotificationActionButton

支持设备Phone2in1TabletCarWearable

type NotificationActionButton = _NotificationActionButton

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

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationActionButton

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

3.NotificationBasicContent

支持设备Phone2in1TabletCarWearable

type NotificationBasicContent = _NotificationBasicContent

描述普通文本通知。

元服务API: 从API version 12开始,该接口支持在元服务中使用。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationBasicContent

描述普通文本通知。

4.NotificationContent

支持设备Phone2in1TabletCarWearable

type NotificationContent = _NotificationContent

描述通知内容。

元服务API: 从API version 12开始,该接口支持在元服务中使用。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationContent

描述通知内容。

5.NotificationLongTextContent

支持设备Phone2in1TabletCarWearable

type NotificationLongTextContent = _NotificationLongTextContent

描述长文本通知。

元服务API: 从API version 12开始,该接口支持在元服务中使用。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationLongTextContent

描述长文本通知。

6.NotificationMultiLineContent

支持设备Phone2in1TabletCarWearable

type NotificationMultiLineContent = _NotificationMultiLineContent

描述多行文本通知。

元服务API: 从API version 12开始,该接口支持在元服务中使用。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationMultiLineContent

描述多行文本通知。

7.NotificationPictureContent

支持设备Phone2in1TabletCarWearable

type NotificationPictureContent = _NotificationPictureContent

描述附有图片的通知。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationPictureContent

描述附有图片的通知。

8.NotificationSystemLiveViewContent

支持设备Phone2in1TabletCarWearable

type NotificationSystemLiveViewContent = _NotificationSystemLiveViewContent

描述系统实况窗通知内容。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationSystemLiveViewContent

描述系统实况窗通知内容。

9.NotificationRequest

支持设备Phone2in1TabletCarWearable

type NotificationRequest = _NotificationRequest

描述通知的请求。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationRequest

描述通知的请求。

10.DistributedOptions8+

支持设备Phone2in1TabletCarWearable

type DistributedOptions = _DistributedOptions

描述分布式选项。

系统能力: SystemCapability.Notification.Notification

类型

说明

_DistributedOptions

描述分布式选项。

11.NotificationSlot

支持设备Phone2in1TabletCarWearable

type NotificationSlot = _NotificationSlot

描述通知槽。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationSlot

描述通知槽。

12.NotificationTemplate

支持设备Phone2in1TabletCarWearable

type NotificationTemplate = _NotificationTemplate

通知模板。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationTemplate

通知模板。

13.NotificationUserInput

支持设备Phone2in1TabletCarWearable

type NotificationUserInput = _NotificationUserInput

保存用户输入的通知消息。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationUserInput

保存用户输入的通知消息。

14.NotificationCapsule11+

支持设备Phone2in1TabletCarWearable

type NotificationCapsule = _NotificationCapsule

描述通知胶囊。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationCapsule

描述通知胶囊。

15.NotificationButton11+

支持设备Phone2in1TabletCarWearable

type NotificationButton = _NotificationButton

描述通知按钮。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationButton

描述通知按钮。

16.NotificationTime11+

支持设备Phone2in1TabletCarWearable

type NotificationTime = _NotificationTime

描述通知计时信息。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationTime

描述通知计时信息。

27.NotificationProgress11+

支持设备Phone2in1TabletCarWearable

type NotificationProgress = _NotificationProgress

描述通知进度。

系统能力: SystemCapability.Notification.Notification

类型

说明

_NotificationProgress

描述通知进度。

本文主要参考引用自HarmonyOS官方网站

相关文章:

  • 近端策略优化(PPO,Proximal Policy Optimization)
  • 第二章 进程管理
  • 在java中不同数据类型的运算与内存占用分析
  • 2025年文件加密软件推荐,最新款文档加密系统排名
  • dvwa9——Weak Session IDs
  • 将音频数据累积到缓冲区,达到阈值时触发处理
  • H5项目实现图片压缩上传——2025-06-04
  • RAID相关例题
  • Go语言学习-->go的跨平台编译
  • Educational Codeforces Round 179 (Rated for Div. 2)
  • JVM 内存溢出 详解
  • 协议融合驱动效能跃升:Modbus转Ethernet IP的挤出吹塑机应用
  • PostgreSQL-基于PgSQL17和11版本导出所有的超表建表语句
  • LeetCode[513]找树左下角的值
  • Java 大视界 — Java 大数据在智能安防视频监控中的异常事件快速响应与处理机制
  • SQL 中 IN 和 EXISTS 的区别
  • Flask框架详解:轻量高效的Python Web开发利器
  • json 支持复杂结构预览、大模型服务部署体验优化|ModelWhale 版本更新
  • C++ 中的 const 知识点详解,c++和c语言区别
  • 沉金电路板有哪些特点?
  • 行业网站建设详解/自己开网店怎么运营
  • 网站值不值得做seo/嘉兴关键词优化报价
  • 上海第五届世界进口博览会/seo关键词推广
  • 做海购的网站/廊坊快速排名优化
  • 极简风格 网站/电话营销
  • seo排名赚app下载/福州seo快速排名软件