Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

CalendarContract.Reminders

extends Object
implements BaseColumns CalendarContract.EventsColumns CalendarContract.RemindersColumns
java.lang.Object
   ↳ android.provider.CalendarContract.Reminders

Class Overview

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

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.EventsColumns
From interface android.provider.CalendarContract.RemindersColumns
Fields
public static final Uri CONTENT_URI
Public Methods
final static Cursor query ( ContentResolver cr, long eventId, String[] projection)
Queries all reminders associated with the given event.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Uri CONTENT_URI

Public Methods

public static final 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 The content resolver to use for the query
eventId The id of the event to retrieve reminders for
projection the columns to return in the cursor
Returns
  • A Cursor containing all reminders for the event