bool ShouldContinue(ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson, int propertyId, int identifier) { RaiseEmailPicked(PersonFormatter.GetPickedEmail(selectedPerson, identifier)); peoplePicker.DismissViewController(true, null); return(false); }
bool ShouldContinue(ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson) { bool shouldcontinue = false; using (ABMultiValue <string> emails = selectedPerson.GetEmails()) shouldcontinue = emails.Count == 1; if (!shouldcontinue) { peoplePicker.DismissViewController(true, null); RaiseEmailPicked(PersonFormatter.GetPickedEmail(selectedPerson)); } return(shouldcontinue); }
void DidSelectPersonProperty(ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson, int propertyId, int identifier) { Console.WriteLine(identifier); RaiseEmailPicked(PersonFormatter.GetPickedEmail(selectedPerson, identifier)); }
void DidSelectPerson(ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson) { RaiseEmailPicked(PersonFormatter.GetPickedEmail(selectedPerson)); }