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| Name | Type | Readable| Writable| Description | 12| ---------------- | ---------------------- | ---- | ---- | --------------------------------- | 13| soundEnabled | [NotificationFlagStatus](#notificationflagstatus) | Yes | No | Whether to enable the sound alert for the notification. | 14| vibrationEnabled | [NotificationFlagStatus](#notificationflagstatus) | Yes | No | Whether to enable vibration for the notification. | 15 16 17## NotificationFlagStatus 18 19Describes the notification flag status. 20 21**System capability**: SystemCapability.Notification.Notification 22 23**System API**: This is a system API and cannot be called by third-party applications. 24 25| Name | Value | Description | 26| -------------- | --- | --------------------------------- | 27| TYPE_NONE | 0 | The default flag is used. | 28| TYPE_OPEN | 1 | The notification flag is enabled. | 29| TYPE_CLOSE | 2 | The notification flag is disabled. | 30