public interface CNContactPickerDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
contactPickerDidCancel(CNContactPickerViewController picker)
Invoked when the picker is closed.
|
default void |
contactPickerDidSelectContact(CNContactPickerViewController picker,
CNContact contact)
Singular delegate methods.
|
default void |
contactPickerDidSelectContactProperties(CNContactPickerViewController picker,
NSArray<? extends CNContactProperty> contactProperties) |
default void |
contactPickerDidSelectContactProperty(CNContactPickerViewController picker,
CNContactProperty contactProperty) |
default void |
contactPickerDidSelectContacts(CNContactPickerViewController picker,
NSArray<? extends CNContact> contacts)
Plural delegate methods.
|
default void contactPickerDidSelectContact(CNContactPickerViewController picker, CNContact contact)
These delegate methods will be invoked when the user selects a single contact or property.
default void contactPickerDidSelectContactProperties(CNContactPickerViewController picker, NSArray<? extends CNContactProperty> contactProperties)
default void contactPickerDidSelectContactProperty(CNContactPickerViewController picker, CNContactProperty contactProperty)
default void contactPickerDidSelectContacts(CNContactPickerViewController picker, NSArray<? extends CNContact> contacts)
These delegate methods will be invoked when the user is done selecting multiple contacts or properties. Implementing one of these methods will configure the picker for multi-selection.
default void contactPickerDidCancel(CNContactPickerViewController picker)
The picker will be dismissed automatically after a contact or property is picked.