iterateEvents

fun iterateEvents(projection: Array<String>, where: String?, whereArgs: Array<String>?, body: (ContentValues) -> Unit)

Iterates events from this calendar.

Adds a WHERE clause that restricts the query to CalendarContract.EventsColumns.CALENDAR_ID = id.

Return

event IDs from this calendar which match the selection

Parameters

projection

requested fields

where

selection

whereArgs

arguments for selection

Throws

when the content provider returns an error