Sync Event
This event fires upon a complete information synchronization with the server.
Syntax
[VB.NET] Public Event OnSync As OnSyncHandler
[C#] public event OnSyncHandler OnSync; public delegate void OnSyncHandler(object sender, XmppSyncEventArgs e); class XmppSyncEventArgs : EventArgs { }
Remarks
The Sync event will fire after each successful call to the RetrieveRoster method. When the event fires, the buddy list, or roster, will be completely retrieved and the Buddies collection will be filled out accordingly:
Id | the jabber ids associated with the buddies |
Group | the group associated with each entry (if a buddy is in more than one group, they will have multiple entries in the buddy list) |
Subscription | the subscription type for each buddy |
Please refer to Buddies collection property for more information.