Interface CNContactPickerDelegate


  • public interface CNContactPickerDelegate
    • 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.
      • 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.