• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NotificationSorting
2
3Provides sorting information of active notifications.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9**System capability**: SystemCapability.Notification.Notification
10
11**System API**: This is a system API and cannot be called by third-party applications.
12
13| Name                | Type                 | Read-only| Mandatory| Description                                      |
14| -------------------- | --------------------- | ---- | --- | ------------------------------------------ |
15| slot                 | [NotificationSlot](js-apis-inner-notification-notificationSlot.md) | Yes | Yes | Notification slot type.                                  |
16| level                | number                | Yes | Yes | Notification level. If this parameter is not set, the default value is used based on the notification slot type.|
17| desc                 | string                | Yes | Yes | Description of the notification slot.                          |
18