BuddyUpdate Event

This event is fired whenever a roster entry is updated.

Syntax

ANSI (Cross Platform)
virtual int FireBuddyUpdate(XMPPBuddyUpdateEventParams *e);
typedef struct {
int BuddyIdx; int reserved; } XMPPBuddyUpdateEventParams; Unicode (Windows) virtual INT FireBuddyUpdate(XMPPBuddyUpdateEventParams *e);
typedef struct {
INT BuddyIdx; INT reserved; } XMPPBuddyUpdateEventParams;
- (void)onBuddyUpdate:(int)buddyIdx;
#define EID_XMPP_BUDDYUPDATE 1

virtual INT IPWORKSIOT_CALL FireBuddyUpdate(INT &iBuddyIdx);

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 properties property. The BuddyIdx parameter of this event will be the index of that xmppbuddy in the properties.

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