BuddyUpdate Event

This event is fired whenever a roster entry is updated.

Syntax

public class DefaultXmppEventListener implements XmppEventListener {
  ...
  public void buddyUpdate(XmppBuddyUpdateEvent e) {}
  ...
}

public class XmppBuddyUpdateEvent {
  public int buddyIdx;
}

Remarks

The BuddyUpdate event will fire whenever a new buddy list entry is added or an old entry is updated. The updated information can be retrieved through the Buddies collection property. The BuddyIdx parameter of this event will be the index of that XMPPBuddy in the collection.

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