Android APIs
public static final class

CalendarContract.EventsEntity

extends Object
implements BaseColumns CalendarContract.EventsColumns CalendarContract.SyncColumns
java.lang.Object
   ↳ android.provider.CalendarContract.EventsEntity

Class Overview

Class that represents an Event Entity. There is one entry per event. Recurring events show up as a single entry. This is a helper class to make batch operations easier. A ContentResolver or ContentProviderClient is required as the helper does additional queries to add reminders and attendees to each entry.

Summary

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.CalendarSyncColumns
From interface android.provider.CalendarContract.EventsColumns
From interface android.provider.CalendarContract.SyncColumns
Fields
public static final Uri CONTENT_URI The content:// style URL for this table
Public Methods
static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver)
Creates a new iterator for events
static EntityIterator newEntityIterator(Cursor cursor, ContentProviderClient provider)
Creates a new iterator for events
[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 this table

Public Methods

public static EntityIterator newEntityIterator (Cursor cursor, ContentResolver resolver)

Added in API level 14

Creates a new iterator for events

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

public static EntityIterator newEntityIterator (Cursor cursor, ContentProviderClient provider)

Added in API level 14

Creates a new iterator for events

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