# getContacts

fun getContacts(query: SourceQuery, onCompletion: (Either<List<Contact>, SippoResourceError>) -> Unit)

Fetches all the contacts from the specified query.

#### Parameters

query

Sources from which the contacts will be fetched.

onCompletion

Callback that will be invoked when the request is completed. It will receive the contact list in case of success or a SippoResourceError otherwise.