to top
Android APIs
public static final class

CalendarContract.CalendarEntity

extends Object
implements BaseColumns CalendarContract.CalendarColumns CalendarContract.SyncColumns
java.lang.Object
   ↳ android.provider.CalendarContract.CalendarEntity

Class Overview

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

Summary

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.CalendarContract.CalendarColumns
From interface android.provider.CalendarContract.CalendarSyncColumns
From interface android.provider.CalendarContract.SyncColumns
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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Uri CONTENT_URI

Added in API level 14

The default Uri used when creating a new calendar EntityIterator.

Public Methods

public static EntityIterator newEntityIterator (Cursor cursor)

Added in API level 14

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

Parameters
cursor query on CONTENT_URI
Returns
  • an EntityIterator of calendars