to top
Android APIs
public static final class

CalendarContract.CalendarAlerts

extends Object
implements BaseColumns CalendarContract.CalendarAlertsColumns CalendarContract.CalendarColumns CalendarContract.EventsColumns
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

Added in API level 14

The Uri for querying calendar alert information

public static final Uri CONTENT_URI_BY_INSTANCE

Added in API level 14

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.