1e41f4b71Sopenharmony_ci# @ohos.reminderAgentManager (Agent-Powered Reminders) (System API) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThe reminderAgentManager module provides APIs related to agent-powered reminders. When your application is frozen or exits, the timing and notification functions of your application will be taken over by a system service running in the background. You can use the APIs to create scheduled reminders for countdown timers, calendar events, and alarm clocks. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8e41f4b71Sopenharmony_ci> 9e41f4b71Sopenharmony_ci> This topic describes only system APIs provided by the module. For details about its public APIs, see [@ohos.reminderAgentManager (Agent-Powered Reminders)](js-apis-reminderAgentManager.md). 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci## Modules to Import 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci```ts 15e41f4b71Sopenharmony_ciimport reminderAgentManager from '@ohos.reminderAgentManager'; 16e41f4b71Sopenharmony_ci``` 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ci## ActionButtonType 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ciEnumerates the button types. 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.ReminderAgent 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ci| Name| Value| Description| 25e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 26e41f4b71Sopenharmony_ci| ACTION_BUTTON_TYPE_CUSTOM<sup>10+</sup> | 2 | Custom button.| 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci## ActionButton 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ciDefines the button on the reminder displayed. 31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.ReminderAgent 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci| Name| Type| Mandatory| Description| 35e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | 36e41f4b71Sopenharmony_ci| wantAgent<sup>10+</sup> | [WantAgent](./js-apis-reminderAgentManager.md#wantagent) | No| Information about the ability that is displayed after the button is clicked.| 37e41f4b71Sopenharmony_ci| dataShareUpdate<sup>11+</sup> | [DataShareUpdate](#datashareupdate11) | No| The application database will be updated after a click on the button.| 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci## DataShareUpdate<sup>11+</sup> 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ciDefines the parameter information used to update the database. 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ciThe data provider needs to set the ID, read/write permissions, and basic information of the table to be shared under **proxyDatas** in the **module.json5** file. For details about the configuration method, see [Data Proxy](../../database/share-data-by-silent-access.md). 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.ReminderAgent 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci 48e41f4b71Sopenharmony_ci| Name| Type| Mandatory| Description| 49e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | 50e41f4b71Sopenharmony_ci| uri | string | Yes| URI of the data, which is the unique identifier for cross-application data access.| 51e41f4b71Sopenharmony_ci| equalTo | Record<string, number \| string \| boolean> | Yes| Filter criteria. Currently, only equal to is supported.| 52e41f4b71Sopenharmony_ci| value | [ValueBucket](../apis-arkdata/js-apis-data-valuesBucket.md#valuesbucket) | Yes| New data.| 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ci## ReminderRequestCalendar 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ciDefines a reminder for a calendar event. 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.ReminderAgent 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci| Name | Type | Mandatory| Description | 61e41f4b71Sopenharmony_ci| ---------------------------- | -------------------------------------------------------- | ---- | -------------------------------------------------- | 62e41f4b71Sopenharmony_ci| rruleWantAgent<sup>12+</sup> | [WantAgent](./js-apis-reminderAgentManager.md#wantagent) | No | Custom reminder, which specifies the ServiceExtensionAbility to start.| 63