openharmony 鸿蒙 capi-notification-h

2026-08-25 浏览 (1)

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

NameDescription
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

TypeDescription
booltrue - 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 鸿蒙 Readme-EN

openharmony 鸿蒙 js-apis-inner-notification-notificationTemplate

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/taitHomP