public final class

ClockContract

extends Object
java.lang.Object
   ↳ cyanogenmod.alarmclock.ClockContract

Class Overview

The contract between the clock provider and desk clock. Contains definitions for the supported URIs and data columns.

Overview

ClockContract defines the data model of clock related information. This data is stored in a number of tables:

Requires READ_ALARMS_PERMISSION to read from the provider. Requires ERROR(/cyanogenmod.alarmclock.CyanogenModAlarmClock#WRITE_ALARMS_PERMISSION) to write to the provider.

Summary

Nested Classes
interface ClockContract.AlarmSettingColumns Constants for tables with AlarmSettings. 
interface ClockContract.AlarmsColumns Constants for the Alarms table, which contains the user created alarms. 
interface ClockContract.CitiesColumns Constants for the Cities table, which contains all selectable cities. 
interface ClockContract.InstancesColumns Constants for the Instance table, which contains the state of each alarm. 
Constants
String AUTHORITY This authority is used for writing to or querying from the clock provider.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AUTHORITY

Added in API level 2

This authority is used for writing to or querying from the clock provider.

Constant Value: "com.android.deskclock"