Skip to content

Most visited

Recently visited

navigation

CalendarContract.EventsEntity

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

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


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

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

The content:// style URL for this table

Public methods

static EntityIterator newEntityIterator(Cursor cursor, ContentProviderClient provider)

Creates a new iterator for events

static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver)

Creates a new iterator for events

Inherited methods

From class java.lang.Object

Fields

CONTENT_URI

Added in API level 14
Uri CONTENT_URI

The content:// style URL for this table

Public methods

newEntityIterator

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

Creates a new iterator for events

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)

Creates a new iterator for events

Parameters
cursor Cursor: An event query
resolver ContentResolver: For performing additional queries
Returns
EntityIterator an EntityIterator containing one entity per event in the cursor
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.