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