NotificationFlags (System API)

The NotificationFlags module implements a NotificationFlags instance.

NOTE

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.

This topic describes only system APIs provided by the module. For details about its public APIs, see NotificationFlags.

System capability: SystemCapability.Notification.Notification

Attributes

Name Type Mandatory Description
reminderFlags11+ number No Whether to enable the input information prompt features.
System API: This is a system API.
- Bit 0: sound alert. The value 0 means to enable the feature, and 1 means the opposite.
- Bit 1: locking the screen. The value 0 means to enable the feature, and 1 means the opposite.
- Bit 2: banner. The value 0 means to enable the feature, and 1 means the opposite.
- BIt 3: turning on the screen. The value 0 means to enable the feature, and 1 means the opposite.
- Bit 4: vibration. The value 0 means to enable the feature, and 1 means the opposite.