欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 美景 > HarmonyOS NEXT应用开发-Notification Kit(用户通知服务)更多系统能力

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

2025/9/20 8:49:06 来源:https://blog.csdn.net/weixin_69135651/article/details/148428674  浏览:    关键词: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官方网站

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词