harmony 鸿蒙Notification
Notification
Overview
The Notification module provides the notification capabilities for applications.
System capability: SystemCapability.Notification.Notification
Since: 13
Summary
Files
Name | Description |
---|---|
notification.h | Defines the APIs for notification service. File to include: Library: libohnotification.so |
Functions
Name | Description |
---|---|
OH_Notification_IsNotificationEnabled | Queries the notification enabling state of the application. |
Function Description
OH_Notification_IsNotificationEnabled
bool OH_Notification_IsNotificationEnabled(void)
Description
Queries the notification enabling state of the application.
Since: 13
Returns
Returns true if the notification is enabled; returns false otherwise.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Notification Kit (User Notification Service)
harmony 鸿蒙Notification Error Codes
harmony 鸿蒙NotificationActionButton
harmony 鸿蒙NotificationCommonDef
harmony 鸿蒙NotificationContent (System API)
harmony 鸿蒙NotificationFlags (System API)
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦