notification.h
Overview
Defines APIs for notification services.
File to include: <NotificationKit/notification.h>
Library: libohnotification.so
System capability: SystemCapability.Notification.Notification
Since: 13
Related module: NOTIFICATION
Summary
Functions
| Name | Description |
|---|---|
| bool OH_Notification_IsNotificationEnabled(void) | Checks whether the notification of the specified application is enabled. |
Function Description
OH_Notification_IsNotificationEnabled()
bool OH_Notification_IsNotificationEnabled(void)
Description
Checks whether the notification of the specified application is enabled.
Since: 13
Returns
| Type | Description |
|---|---|
| bool | true - Notification is enabled for the specified application. false - Notification is not enabled for the specified application. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apis-inner-notification-notificationFlags
openharmony 鸿蒙 js-apis-notificationSubscribe-sys
openharmony 鸿蒙 js-apis-notificationSubscriberExtensionAbility
openharmony 鸿蒙 errorcode-notification
openharmony 鸿蒙 js-apis-inner-notification-notificationExtensionContent
openharmony 鸿蒙 js-apis-notification-sys
openharmony 鸿蒙 js-apis-inner-notification-notificationContent-sys
openharmony 鸿蒙 js-apis-inner-notification-notificationCommonDef
openharmony 鸿蒙 js-apis-inner-notification-notificationTemplate