Sync Event

This event fires upon a complete information synchronization with the server.

Syntax

public event OnSyncHandler OnSync;

public delegate void OnSyncHandler(object sender, XmppSyncEventArgs e);

public class XmppSyncEventArgs : EventArgs {
}
Public Event OnSync As OnSyncHandler

Public Delegate Sub OnSyncHandler(sender As Object, e As XmppSyncEventArgs)

Public Class XmppSyncEventArgs Inherits EventArgs
End Class

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 .NET Edition - Version 20.0 [Build 8265]