Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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

The content:// style URL for this table

Public Methods

public static EntityIterator newEntityIterator ( Cursor cursor, ContentResolver resolver)

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)

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