NotificationCommonDef

The NotificationCommonDef module implements APIs for providing BundleOption information.

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

Provides the bundle information of an application.

System capability: SystemCapability.Notification.Notification

Name Type Mandatory Description
bundle string Yes Bundle information of the application.
uid number No User ID. The default value is 0.