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.

System capability: SystemCapability.Notification.Notification

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