Most visited

Recently visited

Added in API level 14

CalendarContract.Attendees

public static final class CalendarContract.Attendees
extends Object implements BaseColumns, CalendarContract.AttendeesColumns, CalendarContract.EventsColumns

java.lang.Object
   ↳ android.provider.CalendarContract.Attendees


与参加者互动的字段和帮助者。 此表的每一行代表一位参加者或某个活动的嘉宾。 调用query(ContentResolver, long, String[])将返回具有给定eventId的事件的与会者列表。 应用程序和同步适配器都可以写入此表。 有六个可写字段,除了插入新的与会者时,必须包含除ATTENDEE_NAME之外的所有字段。 他们是:

Summary

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

用于访问参加者数据的内容://样式URL

Public methods

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

查询与给定事件相关的所有与会者。

Inherited methods

From class java.lang.Object

Fields

CONTENT_URI

Added in API level 14
Uri CONTENT_URI

用于访问参加者数据的内容://样式URL

Public methods

query

Added in API level 14
Cursor query (ContentResolver cr, 
                long eventId, 
                String[] projection)

查询与给定事件相关的所有与会者。 这是一个阻塞调用,不应该在UI线程上完成。

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

Hooray!