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
java.lang.Object
   ↳ android.provider.CalendarContract.CalendarAlerts

Class Overview

Fields and helpers for accessing calendar alerts information. These fields are for tracking which alerts have been fired. Scheduled alarms will generate an intent using ACTION_EVENT_REMINDER . Apps that receive this action may update the STATE for the reminder when they have finished handling it. Apps that have their notifications disabled should not modify the table to ensure that they do not conflict with another app that is generating a notification. In general, apps should not need to write to this table directly except to update the state of a reminder.

Summary

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.CalendarAlertsColumns
From interface android.provider.CalendarContract.CalendarColumns
From interface android.provider.CalendarContract.EventsColumns
Fields
public static final Uri CONTENT_URI The Uri for querying calendar alert information
public static final Uri CONTENT_URI_BY_INSTANCE This URI is for grouping the query results by event_id and begin time.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Uri CONTENT_URI

The Uri for querying calendar alert information

public static final Uri CONTENT_URI_BY_INSTANCE

This URI is for grouping the query results by event_id and begin time. This will return one result per instance of an event. So events with multiple alarms will appear just once, but multiple instances of a repeating event will show up multiple times.