diff --git a/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md b/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md index 45eba39ce6b4baa365ef8f684a37522e7157a459..c7c039ce8a141b630356284bb32031b376b7a394 100644 --- a/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md +++ b/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md @@ -2,3 +2,4 @@ - [Agent-Powered Scheduled Reminder Overview](background-agent-scheduled-reminder-overview.md) - [Agent-Powered Scheduled Reminder Development](background-agent-scheduled-reminder-guide.md) + diff --git a/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md b/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md index d61ce4bab7d7cd3baf75bcfa3948f61fb39af994..99122b53abc4c5d561302c36dc5c9f489924fced 100644 --- a/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md +++ b/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md @@ -8,7 +8,7 @@ You can set your application to call the **ReminderRequest** class to create s **reminderAgent** encapsulates the methods for publishing and canceling reminders. -**Table 1** Major APIs in reminderAgent +**Table 1** Major APIs in reminderAgent

API

@@ -59,7 +59,7 @@ You can set your application to call the **ReminderRequest** class to create s **ActionButtonType** enumerates types of buttons displayed in a reminder notification. -**Table 2** ActionButtonType enumeration +**Table 2** ActionButtonType enumeration

Name

@@ -78,7 +78,7 @@ You can set your application to call the **ReminderRequest** class to create s **ReminderType** enumerates the reminder types. -**Table 3** ReminderType enumeration +**Table 3** ReminderType enumeration

Name

@@ -107,7 +107,7 @@ You can set your application to call the **ReminderRequest** class to create s **ActionButton** defines a button displayed in the reminder notification. -**Table 4** ActionButton instance +**Table 4** ActionButton instance

Name

@@ -143,7 +143,7 @@ You can set your application to call the **ReminderRequest** class to create s **WantAgent** sets the package and ability that are redirected to when the reminder notification is clicked. -**Table 5** WantAgent instance +**Table 5** WantAgent instance

Name

@@ -179,7 +179,7 @@ You can set your application to call the **ReminderRequest** class to create s **MaxScreenWantAgent** sets the name of the target package and ability to start automatically when the reminder arrives and the device is not in use. If the device is in use, a notification will be displayed. -**Table 6** MaxScreenWantAgent instance +**Table 6** MaxScreenWantAgent instance

Name

@@ -215,7 +215,7 @@ You can set your application to call the **ReminderRequest** class to create s **ReminderRequest** defines the reminder to publish. -**Table 7** ReminderRequest instance +**Table 7** ReminderRequest instance - @@ -352,7 +352,7 @@ You can set your application to call the **ReminderRequest** class to create s For the application to run properly, if both **repeatMonths** and **repeatDays** are not specified, the earliest reminder time must be later than the current time. -**Table 8** ReminderRequestCalendar instance +**Table 8** ReminderRequestCalendar instance @@ -398,7 +398,7 @@ For the application to run properly, if both **repeatMonths** and **repeatDays** **ReminderRequestAlarm** extends **ReminderRequest** and defines a reminder for the alarm clock. -**Table 9** ReminderRequestAlarm instance +**Table 9** ReminderRequestAlarm instance

Name

@@ -342,7 +342,7 @@ You can set your application to call the **ReminderRequest** class to create s

No

Type of the slot used by the reminder

+

Type of the slot used by the reminder.

Name

@@ -443,7 +443,7 @@ For the application to run properly, if both **repeatMonths** and **repeatDays** **ReminderRequestTimer** extends **ReminderRequest** and defines a reminder for a scheduled timer. -**Table 10** ReminderRequestTimer instance +**Table 10** ReminderRequestTimer instance

Name

@@ -470,7 +470,7 @@ For the application to run properly, if both **repeatMonths** and **repeatDays** **LocalDateTime** defines a **LocalDateTime** instance. -**Table 11** LocalDateTime instance +**Table 11** LocalDateTime instance

Name

@@ -542,7 +542,7 @@ For the application to run properly, if both **repeatMonths** and **repeatDays** ## How to Develop ->![](../public_sys-resources/icon-note.gif) **NOTE:** +>**NOTE**
>To publish a reminder, your application needs to apply for the **ohos.permission.PUBLISH\_AGENT\_REMINDER** permission. Publish a 10-second countdown reminder. @@ -593,7 +593,7 @@ Publish a 10-second countdown reminder. } ``` - HTML page code: + HML page code: ```