1# Notification
2
3
4## 概述
5
6描述Notification向应用提供通知服务的能力。
7
8**系统能力:** SystemCapability.Notification.Notification
9
10**起始版本:** 13
11
12
13## 汇总
14
15
16### 文件
17
18| 名称 | 描述 |
19| -------- | -------- |
20| [notification.h](notification_8h.md) | 声明通知服务相关的API。<br/>**引用文件**:&lt;NotificationKit/notification.h&gt;<br/>**库**:libohnotification.so|
21
22
23### 函数
24
25| 名称 | 描述 |
26| -------- | -------- |
27| [OH_Notification_IsNotificationEnabled](#oh_notification_isnotificationenabled)| 查询当前应用通知使能状态。 |
28
29## 函数说明
30
31### OH_Notification_IsNotificationEnabled
32
33```cpp
34bool OH_Notification_IsNotificationEnabled(void)
35```
36
37**描述**
38
39查询当前应用通知使能状态。
40
41**起始版本:** 13
42
43**返回:**
44
45返回查询结果,true表示当前应用已使能通知,false表示当前应用未使能通知。
46