Added in API level 14

CalendarEntity

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

Creates an entity iterator for the given cursor.

Properties
static Uri!

The default Uri used when creating a new calendar EntityIterator.

Public methods

newEntityIterator

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

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

Parameters
cursor Cursor!: query on CONTENT_URI
Return
EntityIterator! an EntityIterator of calendars

Properties

CONTENT_URI

Added in API level 14
static val CONTENT_URI: Uri!

The default Uri used when creating a new calendar EntityIterator.