Interface ABUnknownPersonViewControllerDelegate


  • public interface ABUnknownPersonViewControllerDelegate
    • Method Detail

      • unknownPersonViewControllerDidResolveToPerson

        void unknownPersonViewControllerDidResolveToPerson​(ABUnknownPersonViewController unknownCardViewController,
                                                           org.moe.natj.general.ptr.ConstVoidPtr person)
        Called when picking has completed. If picking was canceled, 'person' will be NULL. Otherwise, person will be either a non-NULL resolved contact, or newly created and saved contact, in both cases, person will be a valid contact in the Address Book. It is up to the delegate to dismiss the view controller.
      • unknownPersonViewControllerShouldPerformDefaultActionForPersonPropertyIdentifier

        default boolean unknownPersonViewControllerShouldPerformDefaultActionForPersonPropertyIdentifier​(ABUnknownPersonViewController personViewController,
                                                                                                         org.moe.natj.general.ptr.ConstVoidPtr person,
                                                                                                         int property,
                                                                                                         int identifier)
        Called when the user selects an individual value in the unknown person view, identifier will be kABMultiValueInvalidIdentifier if a single value property was selected. Return NO if you do not want anything to be done or if you are handling the actions yourself. Return YES if you want the ABUnknownPersonViewController to perform its default action.