Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#constants)

# CalendarContract.CalendarAlertsColumns

*** ** * ** ***


`
protected
static


interface
CalendarContract.CalendarAlertsColumns
`


`


`

|---|
| android.provider.CalendarContract.CalendarAlertsColumns |

|---|
| Known indirect subclasses [CalendarContract.CalendarAlerts](https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlerts) |---|---| | [CalendarContract.CalendarAlerts](https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlerts) | Fields and helpers for accessing calendar alerts information. | |

<br />

*** ** * ** ***

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#ALARM_TIME` The alarm time of the event, in UTC. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#BEGIN` The start time of the event, in UTC. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#CREATION_TIME` The creation time of this database entry, in UTC. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#DEFAULT_SORT_ORDER` The default sort order for this alerts queries |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#END` The end time of the event, in UTC. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#EVENT_ID` The event that the alert belongs to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#MINUTES` The number of minutes that this alarm precedes the start time. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#NOTIFY_TIME` The time that the notification was created by the Calendar app, in UTC. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#RECEIVED_TIME` The time that the alarm broadcast was received by the Calendar app, in UTC. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE` The state of this alert. |
| `int` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE_DISMISSED` Once the user has dismissed the notification the alert's state should be set to dismissed so it is not fired again. |
| `int` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE_FIRED` After a notification for an alert has been created it should be updated to fired. |
| `int` | `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE_SCHEDULED` An alert begins in this state when it is first created. |

## Constants

### ALARM_TIME

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ALARM_TIME
```

The alarm time of the event, in UTC. Column name.

Type: INTEGER (long; millis since epoch)

<br />

<br />

Constant Value:

"alarmTime"


### BEGIN

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String BEGIN
```

The start time of the event, in UTC. Column name.

Type: INTEGER (long; millis since epoch)

<br />

<br />

Constant Value:

"begin"


### CREATION_TIME

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CREATION_TIME
```

The creation time of this database entry, in UTC.
Useful for debugging missed reminders. Column name.

Type: INTEGER (long; millis since epoch)

<br />

<br />

Constant Value:

"creationTime"


### DEFAULT_SORT_ORDER

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DEFAULT_SORT_ORDER
```

The default sort order for this alerts queries

<br />

Constant Value:

"begin ASC,title ASC"


### END

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String END
```

The end time of the event, in UTC. Column name.

Type: INTEGER (long; millis since epoch)

<br />

<br />

Constant Value:

"end"


### EVENT_ID

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String EVENT_ID
```

The event that the alert belongs to. Column name.

Type: INTEGER (foreign key to the Events table)

<br />

<br />

Constant Value:

"event_id"


### MINUTES

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String MINUTES
```

The number of minutes that this alarm precedes the start time. Column
name.

Type: INTEGER

<br />

<br />

Constant Value:

"minutes"


### NOTIFY_TIME

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String NOTIFY_TIME
```

The time that the notification was created by the Calendar app,
in UTC. Useful for debugging missed reminders. Column name.

Type: INTEGER (long; millis since epoch)

<br />

<br />

Constant Value:

"notifyTime"


### RECEIVED_TIME

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String RECEIVED_TIME
```

The time that the alarm broadcast was received by the Calendar app,
in UTC. Useful for debugging missed reminders. Column name.

Type: INTEGER (long; millis since epoch)

<br />

<br />

Constant Value:

"receivedTime"


### STATE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String STATE
```

The state of this alert. It starts out as `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE_SCHEDULED`, then
when the alarm goes off, it changes to `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE_FIRED`, and then when
the user dismisses the alarm it changes to `https://developer.android.com/reference/android/provider/CalendarContract.CalendarAlertsColumns#STATE_DISMISSED`. Column
name.

Type: INTEGER

<br />

<br />

Constant Value:

"state"


### STATE_DISMISSED

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int STATE_DISMISSED
```

Once the user has dismissed the notification the alert's state should
be set to dismissed so it is not fired again.

<br />

Constant Value:

2
(0x00000002)


### STATE_FIRED

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int STATE_FIRED
```

After a notification for an alert has been created it should be
updated to fired.

<br />

Constant Value:

1
(0x00000001)


### STATE_SCHEDULED

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int STATE_SCHEDULED
```

An alert begins in this state when it is first created.

<br />

Constant Value:

0
(0x00000000)