Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Inherited Constants](https://developer.android.com/reference/android/provider/CalendarContract.Attendees#inhconstants) \| [Fields](https://developer.android.com/reference/android/provider/CalendarContract.Attendees#lfields) \| [Methods](https://developer.android.com/reference/android/provider/CalendarContract.Attendees#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/provider/CalendarContract.Attendees#inhmethods)

# CalendarContract.Attendees

*** ** * ** ***

` public static final class CalendarContract.Attendees `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/provider/BaseColumns, https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns, https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.CalendarContract.Attendees |

<br />

*** ** * ** ***

Fields and helpers for interacting with Attendees. Each row of this table represents a single attendee or guest of an event. Calling `https://developer.android.com/reference/android/provider/CalendarContract.Attendees#query(android.content.ContentResolver,%20long,%20java.lang.String[])` will return a list of attendees for the event with the given eventId. Both apps and sync adapters may write to this table. There are six writable fields and all of them except `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_NAME` must be included when inserting a new attendee. They are:

- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#EVENT_ID`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_NAME`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_EMAIL`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_RELATIONSHIP`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_TYPE`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_IDENTITY`
- `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_ID_NAMESPACE`

<br />

## Summary

### Inherited constants

From interface `https://developer.android.com/reference/android/provider/BaseColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_COUNT`

The count of rows in a directory.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_ID`

The unique ID for a row.
From interface `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_EMAIL`

The email address of the attendee.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_IDENTITY`

The identity of the attendee as referenced in `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Identity#IDENTITY`.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_ID_NAMESPACE`

The identity name space of the attendee as referenced in `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Identity#NAMESPACE`.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_NAME`

The name of the attendee.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_RELATIONSHIP`

The relationship of the attendee to the user.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS`

The attendance status of the attendee.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS_ACCEPTED`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS_DECLINED`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS_INVITED`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS_NONE`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_STATUS_TENTATIVE`

<br />

`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#ATTENDEE_TYPE`

The type of attendee.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#EVENT_ID`

The id of the event.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#RELATIONSHIP_ATTENDEE`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#RELATIONSHIP_NONE`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#RELATIONSHIP_ORGANIZER`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#RELATIONSHIP_PERFORMER`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#RELATIONSHIP_SPEAKER`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#TYPE_NONE`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#TYPE_OPTIONAL`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#TYPE_REQUIRED`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.AttendeesColumns#TYPE_RESOURCE`

This specifies that an attendee is a resource, like a room, a cabbage, or something and not an actual person.
From interface `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns` `int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ACCESS_CONFIDENTIAL`

Confidential is not used by the app.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ACCESS_DEFAULT`

Default access is controlled by the server and will be treated as public on the device.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ACCESS_LEVEL`

Defines how the event shows up for others when the calendar is shared.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ACCESS_PRIVATE`

Private shares the event as a free/busy slot with no details.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ACCESS_PUBLIC`

Public makes the contents visible to anyone with access to the calendar.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ALL_DAY`

Is the event all day (time zone independent).
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#AVAILABILITY`

If this event counts as busy time or is still free time that can be scheduled over.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#AVAILABILITY_BUSY`

Indicates that this event takes up time and will conflict with other events.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#AVAILABILITY_FREE`

Indicates that this event is free time and will not conflict with other events.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#AVAILABILITY_TENTATIVE`

Indicates that the owner's availability may change, but should be considered busy time that will conflict.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#CALENDAR_ID`

The `https://developer.android.com/reference/android/provider/BaseColumns#_ID` of the calendar the event belongs to.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#CAN_INVITE_OTHERS`

Whether the user can invite others to the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#CUSTOM_APP_PACKAGE`

The package name of the custom app that can provide a richer experience for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#CUSTOM_APP_URI`

The URI used by the custom app for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#DESCRIPTION`

The description of the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#DISPLAY_COLOR`

This will be `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EVENT_COLOR` if it is not null; otherwise, this will be `https://developer.android.com/reference/android/provider/CalendarContract.CalendarColumns#CALENDAR_COLOR`.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#DTEND`

The time the event ends in UTC millis since epoch.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#DTSTART`

The time the event starts in UTC millis since epoch.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#DURATION`

The duration of the event in RFC2445 format.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EVENT_COLOR`

A secondary color for the individual event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EVENT_COLOR_KEY`

A secondary color key for the individual event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EVENT_END_TIMEZONE`

The timezone for the end time of the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EVENT_LOCATION`

Where the event takes place.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EVENT_TIMEZONE`

The timezone for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EXDATE`

The recurrence exception dates for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#EXRULE`

The recurrence exception rule for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#GUESTS_CAN_INVITE_OTHERS`

Whether guests can invite other guests.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#GUESTS_CAN_MODIFY`

Whether guests can modify the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#GUESTS_CAN_SEE_GUESTS`

Whether guests can see the list of attendees.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#HAS_ALARM`

Whether the event has an alarm or not.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#HAS_ATTENDEE_DATA`

Whether the event has attendee information.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#HAS_EXTENDED_PROPERTIES`

Whether the event has extended properties or not.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#IS_ORGANIZER`

Are we the organizer of this event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#LAST_DATE`

The last date this event repeats on, or NULL if it never ends.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#LAST_SYNCED`

Used to indicate that a row is not a real event but an original copy of a locally modified event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ORGANIZER`

Email of the organizer (owner) of the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ORIGINAL_ALL_DAY`

The allDay status (true or false) of the original recurring event for which this event is an exception.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ORIGINAL_ID`

The `https://developer.android.com/reference/android/provider/BaseColumns#_ID` of the original recurring event for which this event is an exception.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ORIGINAL_INSTANCE_TIME`

The original instance time of the recurring event for which this event is an exception.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#ORIGINAL_SYNC_ID`

The _sync_id of the original recurring event for which this event is an exception.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#RDATE`

The recurrence dates for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#RRULE`

The recurrence rule for the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SELF_ATTENDEE_STATUS`

This is a copy of the attendee status for the owner of this event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#STATUS`

The event status.
`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#STATUS_CANCELED`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#STATUS_CONFIRMED`

<br />

`int` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#STATUS_TENTATIVE`

<br />

`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA1`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA10`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA2`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA3`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA4`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA5`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA6`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA7`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA8`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#SYNC_DATA9`

This column is available for use by sync adapters.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#TITLE`

The title of the event.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#UID_2445`

The UID for events added from the RFC 2445 iCalendar format.

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/CalendarContract.Attendees#CONTENT_URI` The content:// style URL for accessing Attendees data |

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/android/database/Cursor` | ` https://developer.android.com/reference/android/provider/CalendarContract.Attendees#query(android.content.ContentResolver,%20long,%20java.lang.String[])(https://developer.android.com/reference/android/content/ContentResolver cr, long eventId, https://developer.android.com/reference/java/lang/String projection) ` Queries all attendees associated with the given event. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Fields

### CONTENT_URI

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Uri CONTENT_URI
```

The content:// style URL for accessing Attendees data

<br />

## Public methods

### query

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Cursor query (ContentResolver cr, 
                long eventId, 
                String[] projection)
```

Queries all attendees associated with the given event. This is a blocking call and should not be done on the UI thread.

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver`: The content resolver to use for the query <br /> |
| `eventId` | `long`: The id of the event to retrieve attendees for <br /> |
| `projection` | `String`: the columns to return in the cursor <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/database/Cursor` | A Cursor containing all attendees for the event <br /> |