protected static interface CalendarContract.ColorsColumns
implements SyncStateContract.Columns
android.provider.CalendarContract.ColorsColumns |
![]() |
Constants |
|
---|---|
String |
COLOR The color as an 8-bit ARGB integer value. |
String |
COLOR_KEY The key used to reference this color. |
String |
COLOR_TYPE The type of color, which describes how it should be used. |
int |
TYPE_CALENDAR This indicateds a color that can be used for calendars. |
int |
TYPE_EVENT This indicates a color that can be used for events. |
Inherited constants |
---|
![]() android.provider.SyncStateContract.Columns
|
![]() android.provider.BaseColumns
|
String COLOR
The color as an 8-bit ARGB integer value. Colors should specify alpha as fully opaque (eg 0xFF993322) as the alpha may be ignored or modified for display. It is reccomended that colors be usable with light (near white) text. Apps should not depend on that assumption, however. Column name.
Type: INTEGER (NOT NULL)
Constant Value: "color"
String COLOR_KEY
The key used to reference this color. This can be any non-empty string, but must be unique for a given ACCOUNT_TYPE
and ACCOUNT_NAME
. Column name.
Type: TEXT
Constant Value: "color_index"
String COLOR_TYPE
The type of color, which describes how it should be used. Valid types are TYPE_CALENDAR
and TYPE_EVENT
. Column name.
Type: INTEGER (NOT NULL)
Constant Value: "color_type"
int TYPE_CALENDAR
This indicateds a color that can be used for calendars.
Constant Value: 0 (0x00000000)
int TYPE_EVENT
This indicates a color that can be used for events.
Constant Value: 1 (0x00000001)