harmony 鸿蒙NotificationCommonDef

  • 2025-06-12
  • 浏览 (4)

NotificationCommonDef

The NotificationCommonDef module provides APIs for describing the BundleOption information, that is, the bundle information of a specified application.

NOTE

The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.

BundleOption

System capability: SystemCapability.Notification.Notification

|Name|Type|Read Only|Optional|Description| |——|——|—-|–| ——| |bundle|string|No|No|Application name.| |uid |number|No|Yes|UID of an application, which is obtained from ApplicationInfo. The default value is 0.|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Notification Kit (User Notification Service)

harmony 鸿蒙Notification

harmony 鸿蒙Notification Error Codes

harmony 鸿蒙NotificationActionButton

harmony 鸿蒙NotificationContent (System API)

harmony 鸿蒙NotificationContent

harmony 鸿蒙NotificationFlags (System API)

harmony 鸿蒙NotificationFlags

harmony 鸿蒙NotificationRequest (System API)

harmony 鸿蒙NotificationRequest

0  赞