Added in API level 14

EventsEntity


class EventsEntity : BaseColumns, CalendarContract.EventsColumns, CalendarContract.SyncColumns
kotlin.Any
   ↳ 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
Public methods
static EntityIterator!

Creates a new iterator for events

static EntityIterator!
newEntityIterator(cursor: Cursor!, resolver: ContentResolver!)

Creates a new iterator for events

Properties
static Uri!

The content:// style URL for this table

Public methods

newEntityIterator

Added in API level 14
static fun newEntityIterator(
    cursor: Cursor!,
    provider: ContentProviderClient!
): EntityIterator!

Creates a new iterator for events

Parameters
cursor Cursor!: An event query
provider ContentProviderClient!: For performing additional queries
Return
EntityIterator! an EntityIterator containing one entity per event in the cursor

newEntityIterator

Added in API level 14
static fun newEntityIterator(
    cursor: Cursor!,
    resolver: ContentResolver!
): EntityIterator!

Creates a new iterator for events

Parameters
cursor Cursor!: An event query
resolver ContentResolver!: For performing additional queries
Return
EntityIterator! an EntityIterator containing one entity per event in the cursor

Properties

CONTENT_URI

Added in API level 14
static val CONTENT_URI: Uri!

The content:// style URL for this table