openharmony 鸿蒙 capi-notification

2025-06-12 浏览 (1)

Notification

Overview

The Notification module provides the notification capabilities for applications.

System capability: SystemCapability.Notification.Notification

Since: 13

Summary

Files

NameDescription
notification.hDefines the APIs for notification service.
File to include: <NotificationKit/notification.h>
Library: libohnotification.so

Functions

NameDescription
OH_Notification_IsNotificationEnabledQueries 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 鸿蒙NotificationContent

harmony 鸿蒙NotificationFlags (System API)

harmony 鸿蒙NotificationFlags

harmony 鸿蒙NotificationRequest (System API)

harmony 鸿蒙NotificationRequest

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