countContacts

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

Counts the number of contacts in the address book that match the given selection criteria.

Return

The number of contacts matching the selection criteria.

Parameters

where

An optional filter declaring which rows to return.

whereArgs

Optional arguments for where.