Stay organized with collections
Save and categorize content based on your preferences.
RemindersColumns
protected interface RemindersColumns
Summary
Constants |
static String |
The event the reminder belongs to.
|
static String |
The alarm method, as set on the server.
|
static Int |
|
static Int |
|
static Int |
|
static Int |
|
static Int |
|
static String |
The minutes prior to the event that the alarm should ring.
|
static Int |
Passing this as a minutes value will use the default reminder minutes.
|
Constants
EVENT_ID
static val EVENT_ID: String
The event the reminder belongs to. Column name.
Type: INTEGER (foreign key to the Events table)
Value: "event_id"
METHOD_ALARM
static val METHOD_ALARM: Int
Value: 4
METHOD_ALERT
static val METHOD_ALERT: Int
Value: 1
METHOD_DEFAULT
static val METHOD_DEFAULT: Int
Value: 0
METHOD_EMAIL
static val METHOD_EMAIL: Int
Value: 2
METHOD_SMS
static val METHOD_SMS: Int
Value: 3
MINUTES
static val MINUTES: String
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
Value: "minutes"
MINUTES_DEFAULT
static val MINUTES_DEFAULT: Int
Passing this as a minutes value will use the default reminder minutes.
Value: -1
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# CalendarContract.RemindersColumns\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRemindersColumns\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/CalendarContract.RemindersColumns \"View this page in Java\") \n\n```\nprotected interface RemindersColumns\n```\n\n|---------------------------------------------------------|\n| [android.provider.CalendarContract.RemindersColumns](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [CalendarContract.Reminders](/reference/kotlin/android/provider/CalendarContract.Reminders) |---------------------------------------------------------------------------------------------|----------------------------------------------------------| | [CalendarContract.Reminders](/reference/kotlin/android/provider/CalendarContract.Reminders) | Fields and helpers for accessing reminders for an event. | |\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [EVENT_ID](#EVENT_ID:kotlin.String) The event the reminder belongs to. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [METHOD](#METHOD:kotlin.String) The alarm method, as set on the server. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [METHOD_ALARM](#METHOD_ALARM:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [METHOD_ALERT](#METHOD_ALERT:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [METHOD_DEFAULT](#METHOD_DEFAULT:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [METHOD_EMAIL](#METHOD_EMAIL:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [METHOD_SMS](#METHOD_SMS:kotlin.Int) \u003cbr /\u003e |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MINUTES](#MINUTES:kotlin.String) The minutes prior to the event that the alarm should ring. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [MINUTES_DEFAULT](#MINUTES_DEFAULT:kotlin.Int) 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](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EVENT_ID: String\n```\n\nThe event the reminder belongs to. Column name.\n\nType: INTEGER (foreign key to the Events table) \n\n Value: \"event_id\"\n\n### METHOD\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val METHOD: String\n```\n\nThe alarm method, as set on the server. [METHOD_DEFAULT](#METHOD_DEFAULT:kotlin.Int), [METHOD_ALERT](#METHOD_ALERT:kotlin.Int), [METHOD_EMAIL](#METHOD_EMAIL:kotlin.Int), [METHOD_SMS](#METHOD_SMS:kotlin.Int) and [METHOD_ALARM](#METHOD_ALARM:kotlin.Int) are possible values; the device will only process [METHOD_DEFAULT](#METHOD_DEFAULT:kotlin.Int) and [METHOD_ALERT](#METHOD_ALERT:kotlin.Int) reminders (the other types are simply stored so we can send the same reminder info back to the server when we make changes). \n\n Value: \"method\"\n\n### METHOD_ALARM\n\nAdded in [API level 16](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val METHOD_ALARM: Int\n``` \n\n Value: 4\n\n### METHOD_ALERT\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val METHOD_ALERT: Int\n``` \n\n Value: 1\n\n### METHOD_DEFAULT\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val METHOD_DEFAULT: Int\n``` \n\n Value: 0\n\n### METHOD_EMAIL\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val METHOD_EMAIL: Int\n``` \n\n Value: 2\n\n### METHOD_SMS\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val METHOD_SMS: Int\n``` \n\n Value: 3\n\n### MINUTES\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MINUTES: String\n```\n\nThe minutes prior to the event that the alarm should ring. -1 specifies that we should use the default value for the system. Column name.\n\nType: INTEGER \n\n Value: \"minutes\"\n\n### MINUTES_DEFAULT\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MINUTES_DEFAULT: Int\n```\n\nPassing this as a minutes value will use the default reminder minutes. \n\n Value: -1"]]