CalendarContract.EventsEntity
public
static
final
class
CalendarContract.EventsEntity
extends Object
implements
BaseColumns,
CalendarContract.EventsColumns,
CalendarContract.SyncColumns
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 |
---|
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 | |
---|---|
Fields
CONTENT_URI
public static final Uri CONTENT_URI
The content:// style URL for this table
Public methods
newEntityIterator
public static 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
public static 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 |