Package apple.contactsui.protocol
Interface CNContactPickerDelegate
-
public interface CNContactPickerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcontactPickerDidCancel(CNContactPickerViewController picker)Invoked when the picker is closed.default voidcontactPickerDidSelectContact(CNContactPickerViewController picker, CNContact contact)Singular delegate methods.default voidcontactPickerDidSelectContactProperties(CNContactPickerViewController picker, NSArray<? extends CNContactProperty> contactProperties)default voidcontactPickerDidSelectContactProperty(CNContactPickerViewController picker, CNContactProperty contactProperty)default voidcontactPickerDidSelectContacts(CNContactPickerViewController picker, NSArray<? extends CNContact> contacts)Plural delegate methods.
-
-
-
Method Detail
-
contactPickerDidSelectContact
default void contactPickerDidSelectContact(CNContactPickerViewController picker, CNContact contact)
Singular delegate methods. These delegate methods will be invoked when the user selects a single contact or property.
-
contactPickerDidSelectContactProperties
default void contactPickerDidSelectContactProperties(CNContactPickerViewController picker, NSArray<? extends CNContactProperty> contactProperties)
-
contactPickerDidSelectContactProperty
default void contactPickerDidSelectContactProperty(CNContactPickerViewController picker, CNContactProperty contactProperty)
-
contactPickerDidSelectContacts
default void contactPickerDidSelectContacts(CNContactPickerViewController picker, NSArray<? extends CNContact> contacts)
Plural delegate methods. 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.
-
contactPickerDidCancel
default void contactPickerDidCancel(CNContactPickerViewController picker)
Invoked when the picker is closed. The picker will be dismissed automatically after a contact or property is picked.
-
-