1e41f4b71Sopenharmony_ci# Resource Scheduler Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.resourceschedule.reminderAgent.1  
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciThe reminder agent allows you to customize buttons for system applications. Clicking a custom button will redirect you to the specified application page.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci**Change Impact**
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ciFor system applications developed based on OpenHarmony 4.0.7.1 and later SDK versions, you can set custom buttons for reminders.
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci**Key API/Component Changes**
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci| Module| Class| Method/Attribute/Enum/Constant| Change Type|
14e41f4b71Sopenharmony_ci|  -- | -- | -- | -- |
15e41f4b71Sopenharmony_ci| reminderAgentManager | ActionButtonType  | ACTION_BUTTON_TYPE_CUSTOM = 2 | Added|
16e41f4b71Sopenharmony_ci| reminderAgentManager | ActionButton  | wantAgent?: WantAgent | Added|
17e41f4b71Sopenharmony_ci| reminderAgentManager | WantAgent  | uri?: string | Added|
18e41f4b71Sopenharmony_ci| reminderAgentManager | ReminderRequest   | actionButton?: [ActionButton?, ActionButton?, ActionButton?] | Changed|
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci**Adaptation Guide**
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci```ts
23e41f4b71Sopenharmony_ciimport reminderAgentManager from '@ohos.reminderAgentManager';
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_cilet targetReminderAgent: reminderAgentManager.ReminderRequestAlarm = {
26e41f4b71Sopenharmony_ci    reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM, // The reminder type is alarm clock.
27e41f4b71Sopenharmony_ci    ...
28e41f4b71Sopenharmony_ci    actionButton: [
29e41f4b71Sopenharmony_ci        {
30e41f4b71Sopenharmony_ci            title: 'Remind later',
31e41f4b71Sopenharmony_ci            type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_SNOOZE
32e41f4b71Sopenharmony_ci        },
33e41f4b71Sopenharmony_ci        {
34e41f4b71Sopenharmony_ci            title: 'Close',
35e41f4b71Sopenharmony_ci            type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CLOSE
36e41f4b71Sopenharmony_ci        },
37e41f4b71Sopenharmony_ci        {
38e41f4b71Sopenharmony_ci            title: 'Custom',
39e41f4b71Sopenharmony_ci            type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CUSTOM,
40e41f4b71Sopenharmony_ci            wantAgent: {
41e41f4b71Sopenharmony_ci                pkgName: "com.example.myapplication",
42e41f4b71Sopenharmony_ci                abilityName: "EntryAbility",
43e41f4b71Sopenharmony_ci            }
44e41f4b71Sopenharmony_ci        },
45e41f4b71Sopenharmony_ci    ]
46e41f4b71Sopenharmony_ci}
47e41f4b71Sopenharmony_ci```
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci## cl.resourceschedule.reminderAgent.2  
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ciThe reminder agent allows you to set reminders to automatically disappear at the given time.
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ci**Change Impact**
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ciFor system applications developed based on OpenHarmony 4.0.7.1 and later SDK versions, you can set the reminders to disappear automatically.
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ci**Key API/Component Changes**
58e41f4b71Sopenharmony_ci
59e41f4b71Sopenharmony_ci| Module| Class| Method/Attribute/Enum/Constant| Change Type|
60e41f4b71Sopenharmony_ci|  -- | -- | -- | -- |
61e41f4b71Sopenharmony_ci| reminderAgentManager | ReminderRequest | tapDismissed?: boolean | Added|
62e41f4b71Sopenharmony_ci| reminderAgentManager | ReminderRequest | autoDeletedTime?: number | Added|
63e41f4b71Sopenharmony_ci
64e41f4b71Sopenharmony_ci**Adaptation Guide**
65e41f4b71Sopenharmony_ci
66e41f4b71Sopenharmony_ci```ts
67e41f4b71Sopenharmony_ciimport reminderAgentManager from '@ohos.reminderAgentManager';
68e41f4b71Sopenharmony_ci
69e41f4b71Sopenharmony_cilet targetReminderAgent: reminderAgentManager.ReminderRequestAlarm = {
70e41f4b71Sopenharmony_ci    reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM, // The reminder type is alarm clock.
71e41f4b71Sopenharmony_ci    ...
72e41f4b71Sopenharmony_ci    tapDismissed: true,
73e41f4b71Sopenharmony_ci    autoDeletedTime: 300,
74e41f4b71Sopenharmony_ci}
75e41f4b71Sopenharmony_ci```
76