Skip to content

Most visited

Recently visited

navigation

CalendarContract.Reminders

public static final class CalendarContract.Reminders
extends Object implements BaseColumns, CalendarContract.RemindersColumns, CalendarContract.EventsColumns

java.lang.Object
   ↳ android.provider.CalendarContract.Reminders


Fields and helpers for accessing reminders for an event. Each row of this table represents a single reminder for an event. Calling query(ContentResolver, long, String[]) will return a list of reminders for the event with the given eventId. Both apps and sync adapters may write to this table. There are three writable fields and all of them must be included when inserting a new reminder. They are:

Summary

Inherited constants

From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.RemindersColumns
From interface android.provider.CalendarContract.EventsColumns

Fields

public static final Uri CONTENT_URI

Public methods

static final Cursor query(ContentResolver cr, long eventId, String[] projection)

Queries all reminders associated with the given event.

Inherited methods

From class java.lang.Object

Fields

CONTENT_URI

added in API level 14
Uri CONTENT_URI

Public methods

query

added in API level 14
Cursor query (ContentResolver cr, 
                long eventId, 
                String[] projection)

Queries all reminders associated with the given event. This is a blocking call and should not be done on the UI thread.

Parameters
cr ContentResolver: The content resolver to use for the query

eventId long: The id of the event to retrieve reminders for

projection String: the columns to return in the cursor

Returns
Cursor A Cursor containing all reminders for the event

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.