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);
        }
Example #2
0
 public override bool ShouldPerformDefaultActionForPerson(ABUnknownPersonViewController personViewController, ABPerson person, int propertyId, int identifier)
 {
Example #3
0
 public override void DidResolveToPerson(ABUnknownPersonViewController personViewController, IntPtr person)
 {
     personViewController.OnPersonCreated(
         new ABUnknownPersonCreatedEventArgs(person == IntPtr.Zero ? null : new ABPerson(person, personViewController.AddressBook)));
 }
Example #4
0
 public override void DidResolveToPerson(ABUnknownPersonViewController personViewController, ABPerson person)
 {
     personViewController.OnPersonCreated(new ABUnknownPersonCreatedEventArgs(person));
 }