public override bool ShouldPerformDefaultActionForPerson(ABUnknownPersonViewController personViewController, ABPerson person, int propertyId, int identifier) { ABPersonProperty property = ABPersonPropertyId.ToPersonProperty(propertyId); int?id = identifier == ABRecord.InvalidPropertyId ? null : (int?)identifier; var e = new ABPersonViewPerformDefaultActionEventArgs(person, property, id); personViewController.OnPerformDefaultAction(e); return(e.ShouldPerformDefaultAction); }
public override bool ShouldPerformDefaultActionForPerson(ABUnknownPersonViewController personViewController, ABPerson person, int propertyId, int identifier) {
public override void DidResolveToPerson(ABUnknownPersonViewController personViewController, IntPtr person) { personViewController.OnPersonCreated( new ABUnknownPersonCreatedEventArgs(person == IntPtr.Zero ? null : new ABPerson(person, personViewController.AddressBook))); }
public override void DidResolveToPerson(ABUnknownPersonViewController personViewController, ABPerson person) { personViewController.OnPersonCreated(new ABUnknownPersonCreatedEventArgs(person)); }