1# NotificationSlot 2 3The **NotificationSlot** module provides APIs for defining the notification slot. 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## NotificationSlot 10 11**System capability**: SystemCapability.Notification.Notification 12 13| Name | Type | Mandatory| Description | 14| -------------------- | --------------------- | --- |----------------------| 15| type | [SlotType](js-apis-notificationManager.md#slottype) | Yes | Notification slot type. | 16| level | number | No | Notification level. If this parameter is not set, the default value that corresponds to the notification slot type is used.| 17| desc | string | No | Notification slot description. | 18| badgeFlag | boolean | No | Whether to display the badge. | 19| bypassDnd | boolean | No | Whether to bypass DND mode in the system. | 20| lockscreenVisibility | number | No | Mode for displaying the notification on the lock screen. | 21| vibrationEnabled | boolean | No | Whether to enable vibration for the notification. | 22| sound | string | No | Notification alert tone. | 23| lightEnabled | boolean | No | Whether the indicator blinks for the notification. | 24| lightColor | number | No | Indicator color of the notification. | 25| vibrationValues | Array\<number\> | No | Vibration mode of the notification. | 26| enabled<sup>9+</sup> | boolean | No | Whether the notification slot is enabled. | 27