public static interface

ClockContract.InstancesColumns

implements ClockContract.AlarmSettingColumns BaseColumns
cyanogenmod.alarmclock.ClockContract.InstancesColumns

Class Overview

Constants for the Instance table, which contains the state of each alarm.

Summary

Constants
String ALARM_ID Foreign key to Alarms table

Type: INTEGER (long)

String ALARM_STATE Alarm state

Type: INTEGER

String DAY Alarm day in month.
int DISMISSED_STATE Alarm state when alarm is done.
int FIRED_STATE Alarm state when alarm is being fired.
int HIDE_NOTIFICATION_STATE Alarm state to hide low priority alarm notification.
int HIGH_NOTIFICATION_STATE Alarm state to show high priority alarm notification.
String HOUR Alarm hour in 24-hour localtime 0 - 23.
int LOW_NOTIFICATION_STATE Alarm state to show low priority alarm notification.
String MINUTES Alarm minutes in localtime 0 - 59

Type: INTEGER

int MISSED_STATE Alarm state when alarm has been missed.
String MONTH Alarm month in year.
int POWER_OFF_ALARM_STATE Alarm state for rtc power off alarm
int PREDISMISSED_STATE Alarm state when alarm has been dismissed before its intended firing time.
int SILENT_STATE Alarm state when to show no notification.
int SNOOZE_STATE Alarm state when alarm is in snooze.
String YEAR Alarm year.
[Expand]
Inherited Constants
From interface cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns
From interface android.provider.BaseColumns
Fields
public static final Uri CONTENT_URI The content:// style URL for this table.
[Expand]
Inherited Fields
From interface cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns

Constants

public static final String ALARM_ID

Added in API level 2

Foreign key to Alarms table

Type: INTEGER (long)

Constant Value: "alarm_id"

public static final String ALARM_STATE

Added in API level 2

Alarm state

Type: INTEGER

Constant Value: "alarm_state"

public static final String DAY

Added in API level 2

Alarm day in month.

Type: INTEGER

Constant Value: "day"

public static final int DISMISSED_STATE

Added in API level 2

Alarm state when alarm is done.

Constant Value: 7 (0x00000007)

public static final int FIRED_STATE

Added in API level 2

Alarm state when alarm is being fired. Can transitions to: DISMISSED_STATE SNOOZED_STATE MISSED_STATE

Constant Value: 5 (0x00000005)

public static final int HIDE_NOTIFICATION_STATE

Added in API level 2

Alarm state to hide low priority alarm notification. Can transitions to: HIGH_NOTIFICATION_STATE

Constant Value: 2 (0x00000002)

public static final int HIGH_NOTIFICATION_STATE

Added in API level 2

Alarm state to show high priority alarm notification. Can transitions to: DISMISSED_STATE FIRED_STATE

Constant Value: 3 (0x00000003)

public static final String HOUR

Added in API level 2

Alarm hour in 24-hour localtime 0 - 23.

Type: INTEGER

Constant Value: "hour"

public static final int LOW_NOTIFICATION_STATE

Added in API level 2

Alarm state to show low priority alarm notification. Can transitions to: HIDE_NOTIFICATION_STATE HIGH_NOTIFICATION_STATE DISMISSED_STATE

Constant Value: 1 (0x00000001)

public static final String MINUTES

Added in API level 2

Alarm minutes in localtime 0 - 59

Type: INTEGER

Constant Value: "minutes"

public static final int MISSED_STATE

Added in API level 2

Alarm state when alarm has been missed. Can transitions to: DISMISSED_STATE

Constant Value: 6 (0x00000006)

public static final String MONTH

Added in API level 2

Alarm month in year.

Type: INTEGER

Constant Value: "month"

public static final int POWER_OFF_ALARM_STATE

Added in API level 2

Alarm state for rtc power off alarm

Constant Value: -1 (0xffffffff)

public static final int PREDISMISSED_STATE

Added in API level 4

Alarm state when alarm has been dismissed before its intended firing time.

Constant Value: 8 (0x00000008)

public static final int SILENT_STATE

Added in API level 2

Alarm state when to show no notification. Can transitions to: LOW_NOTIFICATION_STATE

Constant Value: 0 (0x00000000)

public static final int SNOOZE_STATE

Added in API level 2

Alarm state when alarm is in snooze. Can transitions to: DISMISSED_STATE FIRED_STATE

Constant Value: 4 (0x00000004)

public static final String YEAR

Added in API level 2

Alarm year.

Type: INTEGER

Constant Value: "year"

Fields

public static final Uri CONTENT_URI

Added in API level 2

The content:// style URL for this table.