ContactList Event
This event fires once for each contact returned when calling QueryContacts.
Syntax
gcontacts.on('ContactList', [callback])
Callback
The 'callback' is called when the 'ContactList' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.id e.ETag e.fullName e.gender e.workAddress e.workEmailAddress e.workPhoneNumber
Remarks
When calling QueryContacts this event will fire once for each contact returned.
Id is the Id of the contact.
ETag is the ETag of the contact.
FullName is the full name of the contact (if any).
Gender may be "male", "female" or empty string.
WorkAddress is the contact's work address.
WorkEmailAddress is the contact's work email address.
WorkPhoneNumber is the work phone number of the contact.