to top
Android APIs
Added in API level 14
protected static interface

CalendarContract.RemindersColumns

android.provider.CalendarContract.RemindersColumns
Known Indirect Subclasses

Summary

Constants
String EVENT_ID The event the reminder belongs to.
String METHOD The alarm method, as set on the server.
int METHOD_ALARM
int METHOD_ALERT
int METHOD_DEFAULT
int METHOD_EMAIL
int METHOD_SMS
String MINUTES The minutes prior to the event that the alarm should ring.
int MINUTES_DEFAULT Passing this as a minutes value will use the default reminder minutes.

Constants

public static final String EVENT_ID

Added in API level 14

The event the reminder belongs to. Column name.

Type: INTEGER (foreign key to the Events table)

Constant Value: "event_id"

public static final String METHOD

Added in API level 14

The alarm method, as set on the server. METHOD_DEFAULT, METHOD_ALERT, METHOD_EMAIL, METHOD_SMS and METHOD_ALARM are possible values; the device will only process METHOD_DEFAULT and METHOD_ALERT reminders (the other types are simply stored so we can send the same reminder info back to the server when we make changes).

Constant Value: "method"

public static final int METHOD_ALARM

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int METHOD_ALERT

Added in API level 14

Constant Value: 1 (0x00000001)

public static final int METHOD_DEFAULT

Added in API level 14

Constant Value: 0 (0x00000000)

public static final int METHOD_EMAIL

Added in API level 14

Constant Value: 2 (0x00000002)

public static final int METHOD_SMS

Added in API level 14

Constant Value: 3 (0x00000003)

public static final String MINUTES

Added in API level 14

The minutes prior to the event that the alarm should ring. -1 specifies that we should use the default value for the system. Column name.

Type: INTEGER

Constant Value: "minutes"

public static final int MINUTES_DEFAULT

Added in API level 14

Passing this as a minutes value will use the default reminder minutes.

Constant Value: -1 (0xffffffff)
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.