to top
Android APIs
public static final class

CalendarContract.Colors

extends Object
implements CalendarContract.ColorsColumns
java.lang.Object
   ↳ android.provider.CalendarContract.Colors

Class Overview

Fields for accessing colors available for a given account. Colors are referenced by COLOR_KEY which must be unique for a given account name/type. These values can only be updated by the sync adapter. Only COLOR may be updated after the initial insert. In addition, a row can only be deleted once all references to that color have been removed from the CalendarContract.Calendars or CalendarContract.Events tables.

Summary

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.ColorsColumns
From interface android.provider.SyncStateContract.Columns
Fields
public static final Uri CONTENT_URI The Uri for querying color information
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Uri CONTENT_URI

Added in API level 15

The Uri for querying color information

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.