fetchVCards
fetchVCards
get all/specified vcards of the passed in addressBook
const vcards = await fetchVCards({
addressBook: addressBooks[0],
headers: {
authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj',
},
});
Arguments
addressBookrequired, DAVAddressBook to fetch vcards fromobjectUrlsvcard urls to fetchheadersrequest headersvCardUrlFilterpredicate function to filter urls from the address book before fetching
Return Value
array of DAVVCard
Behavior
a mix of addressBookMultiGet and addressBookQuery, you can specify objectUrls here.