写点什么

HarmonyOS NEXT 应用开发 -Notification Kit(用户通知服务)通知类型、级别与渠道

  • 2025-06-09
    广东
  • 本文字数:244 字

    阅读完需:约 1 分钟

1.ContentType

支持设备 Phone2in1TabletCarWearable

通知内容类型。

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

系统能力:SystemCapability.Notification.Notification

2.SlotLevel

支持设备 Phone2in1TabletCarWearable

通知级别。

系统能力:SystemCapability.Notification.Notification

3.SlotType

支持设备 Phone2in1TabletCarWearable

通知渠道类型。

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

系统能力:SystemCapability.Notification.Notification

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

用户头像

鸿蒙开发先行者 2024-09-25 加入

还未添加个人简介

评论

发布
暂无评论
HarmonyOS NEXT应用开发-Notification Kit(用户通知服务)通知类型、级别与渠道_李洋-蛟龙腾飞_InfoQ写作社区