CalendarEvent

data class CalendarEvent(val id: String, val title: String, val calendarName: String?, val description: String? = null, val location: String? = null, val color: Int? = null, val startTime: Long?, val endTime: Long, val includeTime: Boolean = true, val attendees: List<String> = emptyList(), val uri: Uri, val isCompleted: Boolean? = null)

Constructors

Link copied to clipboard
constructor(id: String, title: String, calendarName: String?, description: String? = null, location: String? = null, color: Int? = null, startTime: Long?, endTime: Long, includeTime: Boolean = true, attendees: List<String> = emptyList(), uri: Uri, isCompleted: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard

The name of the calendar the event belongs to.

Link copied to clipboard
val color: Int? = null

The color of the event, as 0xAARRGGBB int.

Link copied to clipboard
val description: String? = null
Link copied to clipboard

End time of the event in milliseconds since epoch. For tasks: Due date of the task.

Link copied to clipboard
val id: String
Link copied to clipboard
val includeTime: Boolean = true

If false, only the date will be shown for the event.

Link copied to clipboard
val isCompleted: Boolean? = null

If this is not null, the event is treated as a task, indicated by a checkmark in the UI.

Link copied to clipboard
val location: String? = null

The location of the event.

Link copied to clipboard

Start time of the event in milliseconds since epoch. For tasks, this can be null.

Link copied to clipboard
Link copied to clipboard
val uri: Uri