findFirstCalendar

fun findFirstCalendar(where: String?, whereArgs: Array<String>?, sortOrder: String? = null): AndroidCalendar?

Queries existing calendars and returns the first calendar that matches the search criteria.

Return

first calendar that matches the search criteria (or null)

Parameters

where

selection

whereArgs

arguments for selection

sortOrder

sort order

Throws

when the content provider returns an error