Added in API level 14

Attendees


class Attendees : BaseColumns, CalendarContract.AttendeesColumns, CalendarContract.EventsColumns
kotlin.Any
   ↳ android.provider.CalendarContract.Attendees

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

Summary

Inherited constants
Public methods
static Cursor!
query(cr: ContentResolver!, eventId: Long, projection: Array<String!>!)

Queries all attendees associated with the given event.

Properties
static Uri!

The content:// style URL for accessing Attendees data

Public methods

query

Added in API level 14
static fun query(
    cr: ContentResolver!,
    eventId: Long,
    projection: Array<String!>!
): Cursor!

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 Array<String!>!: the columns to return in the cursor
Return
Cursor! A Cursor containing all attendees for the event

Properties

CONTENT_URI

Added in API level 14
static val CONTENT_URI: Uri!

The content:// style URL for accessing Attendees data