CalendarContract.CalendarEntity

public static final class CalendarContract.CalendarEntity
extends Object implements BaseColumns, CalendarContract.SyncColumns, CalendarContract.CalendarColumns

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


Class that represents a Calendar Entity. There is one entry per calendar. This is a helper class to make batch operations easier.

Summary

Inherited constants

Fields

public static final Uri CONTENT_URI

The default Uri used when creating a new calendar EntityIterator.

Public methods

static EntityIterator newEntityIterator(Cursor cursor)

Creates an entity iterator for the given cursor.

Inherited methods

Fields

CONTENT_URI

Added in API level 14
public static final Uri CONTENT_URI

The default Uri used when creating a new calendar EntityIterator.

Public methods

newEntityIterator

Added in API level 14
public static EntityIterator newEntityIterator (Cursor cursor)

Creates an entity iterator for the given cursor. It assumes the cursor contains a calendars query.

Parameters
cursor Cursor: query on CONTENT_URI

Returns
EntityIterator an EntityIterator of calendars