Stay organized with collections
Save and categorize content based on your preferences.
CalendarContract.RemindersColumns
protected
static
interface
CalendarContract.RemindersColumns
android.provider.CalendarContract.RemindersColumns
|
Known indirect subclasses
|
Summary
Constants
EVENT_ID
public static final String EVENT_ID
The event the reminder belongs to. Column name.
Type: INTEGER (foreign key to the Events table)
Constant Value:
"event_id"
METHOD_ALARM
public static final int METHOD_ALARM
Constant Value:
4
(0x00000004)
METHOD_ALERT
public static final int METHOD_ALERT
Constant Value:
1
(0x00000001)
METHOD_DEFAULT
public static final int METHOD_DEFAULT
Constant Value:
0
(0x00000000)
METHOD_EMAIL
public static final int METHOD_EMAIL
Constant Value:
2
(0x00000002)
METHOD_SMS
public static final int METHOD_SMS
Constant Value:
3
(0x00000003)
MINUTES
public static final String MINUTES
The minutes prior to the event that the alarm should ring. -1
specifies that we should use the default value for the system.
Column name.
Type: INTEGER
Constant Value:
"minutes"
MINUTES_DEFAULT
public static final int MINUTES_DEFAULT
Passing this as a minutes value will use the default reminder
minutes.
Constant Value:
-1
(0xffffffff)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# CalendarContract.RemindersColumns\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \n\nCalendarContract.RemindersColumns\n=================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/CalendarContract.RemindersColumns \"View this page in Kotlin\") \\|Java\n\n\n`\nprotected\nstatic\n\n\ninterface\nCalendarContract.RemindersColumns\n`\n\n\n`\n\n\n`\n\n|----------------------------------------------------|\n| android.provider.CalendarContract.RemindersColumns |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [CalendarContract.Reminders](/reference/android/provider/CalendarContract.Reminders) |--------------------------------------------------------------------------------------|----------------------------------------------------------| | [CalendarContract.Reminders](/reference/android/provider/CalendarContract.Reminders) | Fields and helpers for accessing reminders for an event. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [EVENT_ID](/reference/android/provider/CalendarContract.RemindersColumns#EVENT_ID) The event the reminder belongs to. |\n| [String](/reference/java/lang/String) | [METHOD](/reference/android/provider/CalendarContract.RemindersColumns#METHOD) The alarm method, as set on the server. |\n| `int` | [METHOD_ALARM](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_ALARM) |\n| `int` | [METHOD_ALERT](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_ALERT) |\n| `int` | [METHOD_DEFAULT](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_DEFAULT) |\n| `int` | [METHOD_EMAIL](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_EMAIL) |\n| `int` | [METHOD_SMS](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_SMS) |\n| [String](/reference/java/lang/String) | [MINUTES](/reference/android/provider/CalendarContract.RemindersColumns#MINUTES) The minutes prior to the event that the alarm should ring. |\n| `int` | [MINUTES_DEFAULT](/reference/android/provider/CalendarContract.RemindersColumns#MINUTES_DEFAULT) Passing this as a minutes value will use the default reminder minutes. |\n\nConstants\n---------\n\n### EVENT_ID\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String EVENT_ID\n```\n\nThe event the reminder belongs to. Column name.\n\nType: INTEGER (foreign key to the Events table)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"event_id\"\n\n\n### METHOD\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String METHOD\n```\n\nThe alarm method, as set on the server. [METHOD_DEFAULT](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_DEFAULT),\n[METHOD_ALERT](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_ALERT), [METHOD_EMAIL](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_EMAIL), [METHOD_SMS](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_SMS) and\n[METHOD_ALARM](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_ALARM) are possible values; the device will only\nprocess [METHOD_DEFAULT](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_DEFAULT) and [METHOD_ALERT](/reference/android/provider/CalendarContract.RemindersColumns#METHOD_ALERT) reminders\n(the other types are simply stored so we can send the same reminder\ninfo back to the server when we make changes).\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"method\"\n\n\n### METHOD_ALARM\n\nAdded in [API level 16](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int METHOD_ALARM\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4\n(0x00000004)\n\n\n### METHOD_ALERT\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int METHOD_ALERT\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### METHOD_DEFAULT\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int METHOD_DEFAULT\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### METHOD_EMAIL\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int METHOD_EMAIL\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### METHOD_SMS\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int METHOD_SMS\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### MINUTES\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String MINUTES\n```\n\nThe minutes prior to the event that the alarm should ring. -1\nspecifies that we should use the default value for the system.\nColumn name.\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"minutes\"\n\n\n### MINUTES_DEFAULT\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int MINUTES_DEFAULT\n```\n\nPassing this as a minutes value will use the default reminder\nminutes.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-1\n(0xffffffff)"]]