Platforms to show: All Mac Windows Linux Cross-Platform
Back to CNContactFetchRequestMBS class.
CNContactFetchRequestMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Contacts | MBS Mac64bit Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Same as calling other Constructor and passing result of CNContactStoreMBS.AllFetchKeys function.
See also:
CNContactFetchRequestMBS.Constructor(keysToFetch() as CNKeyDescriptorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
keysToFetch: An array of contact property keys and/or key descriptors from contacts objects to be fetched in the returned contacts.
See also:
CNContactFetchRequestMBS.keysToFetch as CNKeyDescriptorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
An array of contact property keys or key descriptors from contact objects to be fetched in the returned contacts. For example, CNContactEmailAddressesKey, CNContactPhoneNumbersKey, CNContactFormatterStyleFullName fetches the contact’s email addresses, phone numbers, and contact’s full name with the contact formatter.
Some examples using this method:
CNContactFetchRequestMBS.setKeysToFetch(keysToFetch() as CNKeyDescriptorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The items on this page are in the following plugins: MBS Mac64bit Plugin.