Android APIs
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.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.SyncStateContract.Columns

Constants

public static final String COLOR

Added in API level 15

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"

public static final String COLOR_KEY

Added in API level 15

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"

public static final String COLOR_TYPE

Added in API level 15

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"

public static final int TYPE_CALENDAR

Added in API level 15

This indicateds a color that can be used for calendars.

Constant Value: 0 (0x00000000)

public static final int TYPE_EVENT

Added in API level 15

This indicates a color that can be used for events.

Constant Value: 1 (0x00000001)