• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NotificationTemplate
2
3The **NotificationTemplate** module describes the notification template.
4
5> **NOTE**
6>
7> 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.
8
9## Attributes
10
11**System capability**: SystemCapability.Notification.Notification
12
13| Name| Type                  | Read Only| Optional| Description      |
14| ---- | ---------------------- | ---- | ----|----------- |
15| name | string                 | No| No  | Template name. Currently, only **downloadTemplate** is supported.|
16| data | Record<string, Object> | No| No  | Template data.<br> - **title**: title of the file. This parameter is mandatory, and the value is of the string type.<br> - **fileName**: name of the file to be downloaded. This parameter is mandatory, and the value is of the string type.<br> - **progressValue**: download progress. The value is a number.|
17