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官方网站