1# NotificationFlags
2
3The **NotificationFlags** module implements a **NotificationFlags** instance.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9**System capability**: SystemCapability.Notification.Notification
10
11## Attributes
12
13| Name            | Type                   | Read Only| Optional| Description                                        |
14| ---------------- | ---------------------- | ---- | -----|-------------------------------------------- |
15| soundEnabled     | [NotificationFlagStatus](#notificationflagstatus11) | Yes | Yes| Settings of the sound alert for the notification.   |
16| vibrationEnabled | [NotificationFlagStatus](#notificationflagstatus11) | Yes | Yes| Settings of the vibration for the notification.|
17
18
19## NotificationFlagStatus<sup>11+</sup>
20
21Enumerates the notification flag statuses.
22
23**System capability**: SystemCapability.Notification.Notification
24
25| Name          | Value | Description                              |
26| -------------- | --- | --------------------------------- |
27| TYPE_NONE      | 0   | The default flag is used. The effect is the same as that of **TYPE_OPEN**.         |
28| TYPE_OPEN      | 1   | The notification flag is enabled.                    |
29| TYPE_CLOSE     | 2   | The notification flag is disabled.                    |
30