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.
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
|
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 |
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 |