lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

CalendarContract.Colors

public static final class CalendarContract.Colors
extends Object implements CalendarContract.ColorsColumns

java.lang.Object
   ↳ android.provider.CalendarContract.Colors


Fields for accessing colors available for a given account. Colors are referenced by CalendarContract.ColorsColumns.COLOR_KEY which must be unique for a given account name/type. These values can only be updated by the sync adapter. Only CalendarContract.ColorsColumns.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

Inherited constants

Fields

public static final Uri CONTENT_URI

The Uri for querying color information

Inherited methods

Fields

CONTENT_URI

added in API level 15
public static final Uri CONTENT_URI

The Uri for querying color information