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