iterateEventRows

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

Iterates event rows from this calendar.

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

Parameters

projection

requested fields

where

selection

whereArgs

arguments for selection

body

callback that is called for each main row

Throws

when the content provider returns an error