1# @ohos.reminderAgentManager (Agent-Powered Reminders) (System API) 2 3The 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. 4 5> **NOTE** 6> 7> 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. 8> 9> 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). 10 11 12## Modules to Import 13 14```ts 15import reminderAgentManager from '@ohos.reminderAgentManager'; 16``` 17 18## ActionButtonType 19 20Enumerates the button types. 21 22**System capability**: SystemCapability.Notification.ReminderAgent 23 24| Name| Value| Description| 25| -------- | -------- | -------- | 26| ACTION_BUTTON_TYPE_CUSTOM<sup>10+</sup> | 2 | Custom button.| 27 28## ActionButton 29 30Defines the button on the reminder displayed. 31 32**System capability**: SystemCapability.Notification.ReminderAgent 33 34| Name| Type| Mandatory| Description| 35| -------- | -------- | -------- | -------- | 36| wantAgent<sup>10+</sup> | [WantAgent](./js-apis-reminderAgentManager.md#wantagent) | No| Information about the ability that is displayed after the button is clicked.| 37| dataShareUpdate<sup>11+</sup> | [DataShareUpdate](#datashareupdate11) | No| The application database will be updated after a click on the button.| 38 39## DataShareUpdate<sup>11+</sup> 40 41Defines the parameter information used to update the database. 42 43The 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). 44 45**System capability**: SystemCapability.Notification.ReminderAgent 46 47 48| Name| Type| Mandatory| Description| 49| -------- | -------- | -------- | -------- | 50| uri | string | Yes| URI of the data, which is the unique identifier for cross-application data access.| 51| equalTo | Record<string, number \| string \| boolean> | Yes| Filter criteria. Currently, only equal to is supported.| 52| value | [ValueBucket](../apis-arkdata/js-apis-data-valuesBucket.md#valuesbucket) | Yes| New data.| 53 54## ReminderRequestCalendar 55 56Defines a reminder for a calendar event. 57 58**System capability**: SystemCapability.Notification.ReminderAgent 59 60| Name | Type | Mandatory| Description | 61| ---------------------------- | -------------------------------------------------------- | ---- | -------------------------------------------------- | 62| rruleWantAgent<sup>12+</sup> | [WantAgent](./js-apis-reminderAgentManager.md#wantagent) | No | Custom reminder, which specifies the ServiceExtensionAbility to start.| 63