public static final class CalendarContract.Reminders extends Object implements BaseColumns, CalendarContract.RemindersColumns, CalendarContract.EventsColumns
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:
Modifier and Type | Field and Description |
---|---|
static Uri |
CONTENT_URI |
_COUNT, _ID
EVENT_ID, METHOD, METHOD_ALARM, METHOD_ALERT, METHOD_DEFAULT, METHOD_EMAIL, METHOD_SMS, MINUTES, MINUTES_DEFAULT
ACCESS_CONFIDENTIAL, ACCESS_DEFAULT, ACCESS_LEVEL, ACCESS_PRIVATE, ACCESS_PUBLIC, ALL_DAY, AVAILABILITY, AVAILABILITY_BUSY, AVAILABILITY_FREE, AVAILABILITY_TENTATIVE, CALENDAR_ID, CAN_INVITE_OTHERS, CUSTOM_APP_PACKAGE, CUSTOM_APP_URI, DESCRIPTION, DISPLAY_COLOR, DTEND, DTSTART, DURATION, EVENT_COLOR, EVENT_COLOR_KEY, EVENT_END_TIMEZONE, EVENT_LOCATION, EVENT_TIMEZONE, EXDATE, EXRULE, GUESTS_CAN_INVITE_OTHERS, GUESTS_CAN_MODIFY, GUESTS_CAN_SEE_GUESTS, HAS_ALARM, HAS_ATTENDEE_DATA, HAS_EXTENDED_PROPERTIES, IS_ORGANIZER, LAST_DATE, LAST_SYNCED, ORGANIZER, ORIGINAL_ALL_DAY, ORIGINAL_ID, ORIGINAL_INSTANCE_TIME, ORIGINAL_SYNC_ID, RDATE, RRULE, SELF_ATTENDEE_STATUS, STATUS, STATUS_CANCELED, STATUS_CONFIRMED, STATUS_TENTATIVE, SYNC_DATA1, SYNC_DATA10, SYNC_DATA2, SYNC_DATA3, SYNC_DATA4, SYNC_DATA5, SYNC_DATA6, SYNC_DATA7, SYNC_DATA8, SYNC_DATA9, TITLE, UID_2445
Modifier and Type | Method and Description |
---|---|
static Cursor |
query(ContentResolver cr,
long eventId,
String[] projection)
Queries all reminders associated with the given event.
|
public static final Uri CONTENT_URI
public static final Cursor query(ContentResolver cr, long eventId, String[] projection)
cr
- The content resolver to use for the queryeventId
- The id of the event to retrieve reminders forprojection
- the columns to return in the cursor