java.lang.Object | |
↳ | cyanogenmod.alarmclock.ClockContract |
The contract between the clock provider and desk clock. Contains definitions for the supported URIs and data columns.
ClockContract defines the data model of clock related information. This data is stored in a number of tables:
ClockContract.AlarmsColumns
table holds the user created alarmsClockContract.InstancesColumns
table holds the current state of each
alarm in the AlarmsColumn table.
ClockContract.CitiesColumns
table holds all user selectable cities
Requires READ_ALARMS_PERMISSION
to read from the provider.
Requires ERROR(/cyanogenmod.alarmclock.CyanogenModAlarmClock#WRITE_ALARMS_PERMISSION)
to write
to the provider.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ClockContract.AlarmSettingColumns | Constants for tables with AlarmSettings. | ||||||||||
ClockContract.AlarmsColumns | Constants for the Alarms table, which contains the user created alarms. | ||||||||||
ClockContract.CitiesColumns | Constants for the Cities table, which contains all selectable cities. | ||||||||||
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
|
This authority is used for writing to or querying from the clock provider.