CalendarList

data class CalendarList(val id: String, val name: String, val contentTypes: List<CalendarListType>, val accountName: String? = null, val color: Int? = null)

Constructors

Link copied to clipboard
constructor(id: String, name: String, contentTypes: List<CalendarListType>, accountName: String? = null, color: Int? = null)

Properties

Link copied to clipboard
val accountName: String? = null

The owner account of this list.

Link copied to clipboard
val color: Int? = null

The color of this list, in 0xFFAARRGGBB format. If null, the launcher will use a default theme color. The color is corrected to match the launcher's theme (i.e. for dark mode).

Link copied to clipboard

The main content type of this list. This has mainly cosmetic purposes (labels, icons). It doesn't need to be 100% accurate since the actual type is determined on a per-item basis. However, the launcher will hide some settings if it doesn't find any lists that would be affected by them.

Link copied to clipboard
val id: String

A unique identifier for this list.

Link copied to clipboard

The display name of this list.