IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

Sync Event

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

Syntax

xmpp.on('Sync', listener: (e: {}) => void )

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 properties 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 properties property for more information.

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