CalendarColumns
protected interface CalendarColumns
| android.provider.CalendarContract.CalendarColumns |
Columns specific to the Calendars Uri that other Uris can query.
Summary
| Constants | |
|---|---|
| static String |
A comma separated list of attendee types supported for this calendar in the format "#,#,#". |
| static String |
A comma separated list of availability types supported for this calendar in the format "#,#,#". |
| static String |
A comma separated list of reminder methods supported for this calendar in the format "#,#,#". |
| static String |
The level of access that the user has for the calendar |
| static String |
The color of the calendar. |
| static String |
A key for looking up a color from the |
| static String |
The display name of the calendar. |
| static String |
The time zone the calendar is associated with. |
| static Int |
Full access to modify the calendar, but not the access control settings |
| static Int |
Full access to modify the calendar, but not the access control settings |
| static Int |
Can only see free/busy information about the calendar |
| static Int |
Cannot access the calendar |
| static Int |
not used |
| static Int |
Full access to the calendar |
| static Int |
Can read all event details |
| static Int |
Can reply yes/no/maybe to an event |
| static Int |
Domain admin |
| static String |
Can the organizer modify the time zone of the event? Column name. |
| static String |
Can the organizer respond to the event? If no, the status of the organizer should not be shown by the UI. |
| static String |
Is this the primary calendar for this account. |
| static String |
The maximum number of reminders allowed for an event. |
| static String |
The owner account for this calendar, based on the calendar feed. |
| static String |
Is this calendar synced and are its events stored on the device? 0 - Do not sync this calendar or store events for this calendar. |
| static String |
Is the calendar selected to be displayed? 0 - do not show events associated with this calendar. |
Constants
ALLOWED_ATTENDEE_TYPES
static val ALLOWED_ATTENDEE_TYPES: String
A comma separated list of attendee types supported for this calendar in the format "#,#,#". Valid types are Attendees.TYPE_NONE, Attendees.TYPE_OPTIONAL, Attendees.TYPE_REQUIRED, Attendees.TYPE_RESOURCE. Setting this field to only Attendees.TYPE_NONE should be used to indicate that changing the attendee type is not supported.
Value: "allowedAttendeeTypes"ALLOWED_AVAILABILITY
static val ALLOWED_AVAILABILITY: String
A comma separated list of availability types supported for this calendar in the format "#,#,#". Valid types are Events.AVAILABILITY_BUSY, Events.AVAILABILITY_FREE, Events.AVAILABILITY_TENTATIVE. Setting this field to only Events.AVAILABILITY_BUSY should be used to indicate that changing the availability is not supported.
Value: "allowedAvailability"ALLOWED_REMINDERS
static val ALLOWED_REMINDERS: String
A comma separated list of reminder methods supported for this calendar in the format "#,#,#". Valid types are Reminders.METHOD_DEFAULT, Reminders.METHOD_ALERT, Reminders.METHOD_EMAIL, Reminders.METHOD_SMS, Reminders.METHOD_ALARM. Column name.
Type: TEXT
Value: "allowedReminders"CALENDAR_ACCESS_LEVEL
static val CALENDAR_ACCESS_LEVEL: String
The level of access that the user has for the calendar
Type: INTEGER (one of the values below)
Value: "calendar_access_level"CALENDAR_COLOR
static val CALENDAR_COLOR: String
The color of the calendar. This should only be updated by the sync adapter, not other apps, as changing a calendar's color can adversely affect its display.
Type: INTEGER (color value)
Value: "calendar_color"CALENDAR_COLOR_KEY
static val CALENDAR_COLOR_KEY: String
A key for looking up a color from the Colors table. NULL or an empty string are reserved for indicating that the calendar does not use a key for looking up the color. The provider will update CALENDAR_COLOR automatically when a valid key is written to this column. The key must reference an existing row of the Colors table. @see Colors
Type: TEXT
Value: "calendar_color_index"CALENDAR_DISPLAY_NAME
static val CALENDAR_DISPLAY_NAME: String
The display name of the calendar. Column name.
Type: TEXT
Value: "calendar_displayName"CALENDAR_TIME_ZONE
static val CALENDAR_TIME_ZONE: String
The time zone the calendar is associated with.
Type: TEXT
Value: "calendar_timezone"CAL_ACCESS_CONTRIBUTOR
static val CAL_ACCESS_CONTRIBUTOR: Int
Full access to modify the calendar, but not the access control settings
Value: 500CAL_ACCESS_EDITOR
static val CAL_ACCESS_EDITOR: Int
Full access to modify the calendar, but not the access control settings
Value: 600CAL_ACCESS_FREEBUSY
static val CAL_ACCESS_FREEBUSY: Int
Can only see free/busy information about the calendar
Value: 100CAL_ACCESS_NONE
static val CAL_ACCESS_NONE: Int
Cannot access the calendar
Value: 0CAL_ACCESS_OWNER
static val CAL_ACCESS_OWNER: Int
Full access to the calendar
Value: 700CAL_ACCESS_READ
static val CAL_ACCESS_READ: Int
Can read all event details
Value: 200CAL_ACCESS_RESPOND
static val CAL_ACCESS_RESPOND: Int
Can reply yes/no/maybe to an event
Value: 300CAN_MODIFY_TIME_ZONE
static val CAN_MODIFY_TIME_ZONE: String
Can the organizer modify the time zone of the event? Column name.
Type: INTEGER (boolean)
Value: "canModifyTimeZone"CAN_ORGANIZER_RESPOND
static val CAN_ORGANIZER_RESPOND: String
Can the organizer respond to the event? If no, the status of the organizer should not be shown by the UI. Defaults to 1. Column name.
Type: INTEGER (boolean)
Value: "canOrganizerRespond"IS_PRIMARY
static val IS_PRIMARY: String
Is this the primary calendar for this account. If this column is not explicitly set, the provider will return 1 if Calendars.ACCOUNT_NAME is equal to Calendars.OWNER_ACCOUNT.
Value: "isPrimary"MAX_REMINDERS
static val MAX_REMINDERS: String
The maximum number of reminders allowed for an event. Column name.
Type: INTEGER
Value: "maxReminders"OWNER_ACCOUNT
static val OWNER_ACCOUNT: String
The owner account for this calendar, based on the calendar feed. This will be different from the _SYNC_ACCOUNT for delegated calendars. Column name.
Type: String
Value: "ownerAccount"SYNC_EVENTS
static val SYNC_EVENTS: String
Is this calendar synced and are its events stored on the device? 0 - Do not sync this calendar or store events for this calendar. 1 - Sync down events for this calendar.
Type: INTEGER (boolean)
Value: "sync_events"VISIBLE
static val VISIBLE: String
Is the calendar selected to be displayed? 0 - do not show events associated with this calendar. 1 - show events associated with this calendar
Type: INTEGER (boolean)
Value: "visible"