当前位置: 首页 > 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官方网站

http://www.dtcms.com/a/231758.html

相关文章:

  • 近端策略优化(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语言区别
  • 沉金电路板有哪些特点?
  • 操作系统导论 第40章 文件系统实现
  • 【Python实战】零基础实战教程(三) 变量与数据类型
  • GQA(Grouped Query Attention):分组注意力机制的原理与实践《二》
  • 武汉火影数字|互动多媒体展项打造:开启沉浸式互动体验
  • 【Cursor】开发chrome插件,实现网页tab根据域名分组插件
  • 2025年- H67-Lc175--295.数据流中的中位数(小根堆,大根堆)--Java版
  • Mermaid 绘图--以企业权限视图为例
  • fastadmin+workman环境搭建
  • 光量子计算芯片改变了黄仁勋成见?英伟达拟与PsiQuantum联手颠覆未来算力
  • python第42天打卡