countEvents

fun countEvents(where: String?, whereArgs: Array<String>?): Int

Counts the number of events in this calendar that match the given selection criteria.

Return

The number of events matching the selection criteria.

Parameters

where

An optional filter declaring which rows to return.

whereArgs

Optional arguments for where.

Throws

when the content provider returns an error