CalendarContract.Attendees.Query(ContentResolver, Int64, String[]) Method

Definition

Queries all attendees associated with the given event.

[Android.Runtime.Register("query", "(Landroid/content/ContentResolver;J[Ljava/lang/String;)Landroid/database/Cursor;", "")]
public static Android.Database.ICursor? Query (Android.Content.ContentResolver? cr, long eventId, string[]? projection);
[<Android.Runtime.Register("query", "(Landroid/content/ContentResolver;J[Ljava/lang/String;)Landroid/database/Cursor;", "")>]
static member Query : Android.Content.ContentResolver * int64 * string[] -> Android.Database.ICursor

Parameters

cr
ContentResolver

The content resolver to use for the query

eventId
Int64

The id of the event to retrieve attendees for

projection
String[]

the columns to return in the cursor

Returns

A Cursor containing all attendees for the event

Attributes

Remarks

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

Java documentation for android.provider.CalendarContract.Attendees.query(android.content.ContentResolver, long, java.lang.String[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to