Android APIs
public static final class

CalendarContract.Attendees

extends Object
implements BaseColumns CalendarContract.AttendeesColumns CalendarContract.EventsColumns
java.lang.Object
   ↳ android.provider.CalendarContract.Attendees

Class Overview

Fields and helpers for interacting with Attendees. Each row of this table represents a single attendee or guest of an event. Calling query(ContentResolver, long, 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 ATTENDEE_NAME must be included when inserting a new attendee. They are:

Summary

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.AttendeesColumns
From interface android.provider.CalendarContract.EventsColumns
Fields
public static final Uri CONTENT_URI The content:// style URL for accessing Attendees data
Public Methods
final static Cursor query(ContentResolver cr, long eventId, String[] projection)
Queries all attendees associated with the given event.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Uri CONTENT_URI

Added in API level 14

The content:// style URL for accessing Attendees data

Public Methods

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

Added in API level 14

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

Parameters
cr ContentResolver: The content resolver to use for the query
eventId long: The id of the event to retrieve attendees for
projection String: the columns to return in the cursor
Returns
Cursor A Cursor containing all attendees for the event