public void Search(string searchString, int count, bool systemIsSkypeEnabled, AddressBookResultsHandler callback) { _items = new List <AddressBookItem>(); if (systemIsSkypeEnabled) { _callback = callback; Codec.Send(string.Format("globaldir \"{0}\" {1}", searchString, count)); } else { Search(searchString, count, callback); } }
public void Search(string searchString, int count, AddressBookResultsHandler callback) { _callback = callback; Codec.Send(string.Format("gaddrbook batch search \"{0}\" {1}", searchString, count)); }
public void Get(AddressBookResultsHandler callback) { _callback = callback; Codec.Send("addrbook all"); }