Most visited

Recently visited

Added in API level 14

CalendarContract.EventsEntity

public static final class CalendarContract.EventsEntity
extends Object implements BaseColumns, CalendarContract.SyncColumns, CalendarContract.EventsColumns

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


代表事件实体的类。 每个事件有一个条目。 周期性事件显示为单个条目。 这是一个帮助类,使批量操作更容易。 ContentResolverContentProviderClient是必需的,因为助手会执行附加查询来为每个条目添加提醒和与会者。

Summary

Inherited constants

From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.SyncColumns
From interface android.provider.CalendarContract.EventsColumns
From interface android.provider.CalendarContract.CalendarSyncColumns

Fields

public static final Uri CONTENT_URI

此表格的内容://样式网址

Public methods

static EntityIterator newEntityIterator(Cursor cursor, ContentProviderClient provider)

为事件创建一个新的迭代器

static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver)

为事件创建一个新的迭代器

Inherited methods

From class java.lang.Object

Fields

CONTENT_URI

Added in API level 14
Uri CONTENT_URI

此表格的内容://样式网址

Public methods

newEntityIterator

Added in API level 14
EntityIterator newEntityIterator (Cursor cursor, 
                ContentProviderClient provider)

为事件创建一个新的迭代器

Parameters
cursor Cursor: An event query
provider ContentProviderClient: For performing additional queries
Returns
EntityIterator an EntityIterator containing one entity per event in the cursor

newEntityIterator

Added in API level 14
EntityIterator newEntityIterator (Cursor cursor, 
                ContentResolver resolver)

为事件创建一个新的迭代器

Parameters
cursor Cursor: An event query
resolver ContentResolver: For performing additional queries
Returns
EntityIterator an EntityIterator containing one entity per event in the cursor

Hooray!