harmony 鸿蒙NotificationSorting(系统接口)

  • 2025-06-16
  • 浏览 (1)

NotificationSorting(系统接口)

提供有关活动通知的排序信息。

说明:

本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。

本模块为系统接口。

属性

系统能力:SystemCapability.Notification.Notification

系统接口:以下为系统接口,三方应用不支持调用。

名称 类型 只读 可选 说明
slot NotificationSlot 通道类型。
ranking number 通知级别,不设置则根据通知渠道类型有默认值。
hashCode string 通知唯一标识。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Notification Kit(用户通知服务)

harmony 鸿蒙Notification

harmony 鸿蒙通知错误码

harmony 鸿蒙NotificationActionButton

harmony 鸿蒙NotificationCommonDef

harmony 鸿蒙NotificationContent(系统接口)

harmony 鸿蒙NotificationContent

harmony 鸿蒙NotificationFlags(系统接口)

harmony 鸿蒙NotificationFlags

harmony 鸿蒙NotificationRequest(系统接口)

0  赞