Sync Event
This event fires upon a complete information synchronization with the server.
Object Oriented Interface
public function fireSync($param);
Procedural Interface
ipworks_xmpp_register_callback($res, 14, array($this, 'fireSync'));
Parameter List
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.