BuddyUpdate Event

This event is fired whenever a roster entry is updated.

Syntax

public event OnBuddyUpdateHandler OnBuddyUpdate;

public delegate void OnBuddyUpdateHandler(object sender, XmppBuddyUpdateEventArgs e);

public class XmppBuddyUpdateEventArgs : EventArgs {
  public int BuddyIdx { get; }
}
Public Event OnBuddyUpdate As OnBuddyUpdateHandler

Public Delegate Sub OnBuddyUpdateHandler(sender As Object, e As XmppBuddyUpdateEventArgs)

Public Class XmppBuddyUpdateEventArgs Inherits EventArgs
  Public ReadOnly Property BuddyIdx As Integer
End Class

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 IoT 2020 .NET Edition - Version 20.0 [Build 8265]