NotificationTemplate

The NotificationTemplate module describes the notification template.

NOTE

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

Attributes

System capability: SystemCapability.Notification.Notification

Name Type Mandatory Description
name string Yes Template name.
data {[key:string]: Object} Yes Template data.