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