Most visited

Recently visited

Added in API level 15

CalendarContract.ColorsColumns

protected static interface CalendarContract.ColorsColumns
implements SyncStateContract.Columns

android.provider.CalendarContract.ColorsColumns
Known Indirect Subclasses


Summary

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

From interface android.provider.SyncStateContract.Columns
From interface android.provider.BaseColumns

Constants

COLOR

Added in API level 15
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"

COLOR_KEY

Added in API level 15
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"

COLOR_TYPE

Added in API level 15
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"

TYPE_CALENDAR

Added in API level 15
int TYPE_CALENDAR

This indicateds a color that can be used for calendars.

Constant Value: 0 (0x00000000)

TYPE_EVENT

Added in API level 15
int TYPE_EVENT

This indicates a color that can be used for events.

Constant Value: 1 (0x00000001)

Hooray!