CalendarContract.ColorsColumns

protected static interface CalendarContract.ColorsColumns
implements SyncStateContract.Columns

android.provider.CalendarContract.ColorsColumns


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

Constants

COLOR

Added in API level 15
public static final 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
public static final String COLOR_KEY

The key used to reference this color. This can be any non-empty string, but must be unique for a given SyncStateContract.Columns.ACCOUNT_TYPE and SyncStateContract.Columns.ACCOUNT_NAME. Column name.

Type: TEXT

Constant Value: "color_index"

COLOR_TYPE

Added in API level 15
public static final 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
public static final int TYPE_CALENDAR

This indicateds a color that can be used for calendars.

Constant Value: 0 (0x00000000)

TYPE_EVENT

Added in API level 15
public static final int TYPE_EVENT

This indicates a color that can be used for events.

Constant Value: 1 (0x00000001)