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

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.xdnf.cn/news/11901.html

相关文章:

  • JUC并发编程(二)Monitor/自旋/轻量级/锁膨胀/wait/notify/等待通知机制/锁消除
  • Quipus系统的视频知识库的构建原理及使用
  • C++ 新特性详解:Lambda 表达式全解析(含实战案例)
  • 计算机视觉处理----OpenCV(从摄像头采集视频、视频处理与视频录制)
  • OpenCV CUDA模块图像处理------创建一个模板匹配(Template Matching)对象函数createTemplateMatching()
  • 自动化生产线,IT部署一站式解决方案-Infortrend KS私有云安全,一机多用
  • [蓝桥杯]模型染色
  • 软珊瑚成分 CI-A:靶向口腔癌细胞的 “氧化利剑” 与 ERK 密码
  • 如何借助Hyper - V在Windows 10中构建安全软件测试环境
  • 编译一个Mac M系列可以用的yuview
  • 设计模式-迪米特法则
  • 2025年- H69-Lc177--78.子集(回溯,组合)--Java版
  • 2025年想冲网安方向,该考华为安全HCIE还是CISSP?
  • 界面组件DevExpress WPF中文教程:Grid - 如何识别行和卡片?
  • 深度解析Mysql中MVCC的工作机制
  • 每日Prompt:每天上班的状态
  • UE 材质基础第三天
  • Spring AI Tool Calling
  • SecureCRT 设置超时自动断开连接时长
  • Pluto论文阅读笔记
  • 双流芯谷元宇宙战略落子,智慧园区建设迈入数字孪生时代
  • 【统计方法】树模型,ensemble,bagging, boosting
  • GlobalSign、DigiCert、Sectigo三种SSL安全证书有什么区别?
  • JavaWeb:前端工程化-ElementPlus
  • 设计模式杂谈-模板设计模式
  • 题山采玉:Day2
  • [Harmony]颜色初始化
  • 国产化Word处理控件Spire.Doc教程:Java实现HTML 转Word自动化
  • GICv3电源管理
  • 防止网站被iframe嵌套的安全防护指南