iterateEvents

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

Iterates event entities from this calendar.

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

Parameters

where

selection

whereArgs

arguments for selection

body

callback that is called for each entity

Throws

when the content provider returns an error