Added in API level 15

ColorsColumns


protected interface ColorsColumns : SyncStateContract.Columns
android.provider.CalendarContract.ColorsColumns

Summary

Constants
static String

The color as an 8-bit ARGB integer value.

static String

The key used to reference this color.

static String

The type of color, which describes how it should be used.

static Int

This indicateds a color that can be used for calendars.

static Int

This indicates a color that can be used for events.

Inherited constants

Constants

COLOR

Added in API level 15
static val COLOR: String

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)

Value: "color"

COLOR_KEY

Added in API level 15
static val COLOR_KEY: String

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

Value: "color_index"

COLOR_TYPE

Added in API level 15
static val COLOR_TYPE: String

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)

Value: "color_type"

TYPE_CALENDAR

Added in API level 15
static val TYPE_CALENDAR: Int

This indicateds a color that can be used for calendars.

Value: 0

TYPE_EVENT

Added in API level 15
static val TYPE_EVENT: Int

This indicates a color that can be used for events.

Value: 1