• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# notification.h
2
3## Overview
4
5Defines APIs for notification services.
6
7**File to include**: <NotificationKit/notification.h>
8
9**Library**: libohnotification.so
10
11**System capability**: SystemCapability.Notification.Notification
12
13**Since**: 13
14
15**Related module**: [NOTIFICATION](capi-notification.md)
16
17## Summary
18
19### Functions
20
21| Name| Description|
22| -- | -- |
23| [bool OH_Notification_IsNotificationEnabled(void)](#oh_notification_isnotificationenabled) | Checks whether the notification of the specified application is enabled.|
24
25## Function Description
26
27### OH_Notification_IsNotificationEnabled()
28
29```
30bool OH_Notification_IsNotificationEnabled(void)
31```
32
33**Description**
34
35Checks whether the notification of the specified application is enabled.
36
37**Since**: 13
38
39**Returns**
40
41| Type| Description|
42| -- | -- |
43| bool | **true** - Notification is enabled for the specified application.<br>**false** - Notification is not enabled for the specified application. |
44