floo2
Public Member Functions | List of all members
floo::BMXRosterServiceListener Class Reference

好友变化监听者 More...

#include <bmx_roster_service_listener.h>

Public Member Functions

virtual ~BMXRosterServiceListener ()
 析构函数
 
virtual void onFriendAdded (int64_t sponsorId, int64_t recipientId)
 添加好友 More...
 
virtual void onFriendRemoved (int64_t sponsorId, int64_t recipientId)
 删除好友 More...
 
virtual void onApplied (int64_t sponsorId, int64_t recipientId, const std::string &message)
 收到加好友申请 More...
 
virtual void onApplicationAccepted (int64_t sponsorId, int64_t recipientId)
 加好友申请被通过了 More...
 
virtual void onApplicationDeclined (int64_t sponsorId, int64_t recipientId, const std::string &reason)
 加好友申请被拒绝了 More...
 
virtual void onBlockListAdded (int64_t sponsorId, int64_t recipientId)
 添加黑名单 More...
 
virtual void onBlockListRemoved (int64_t sponsorId, int64_t recipientId)
 删除黑名单 More...
 
virtual void onRosterInfoUpdate (BMXRosterItemPtr item)
 用户信息更新 More...
 
virtual void onRosterListUpdate ()
 客户端从服务器拉取到新联系人时触发,用于用户联系人列表更新,从SDK调用本地获取联系人即可取得全部成员信息
 

Detailed Description

好友变化监听者

Member Function Documentation

◆ onApplicationAccepted()

virtual void floo::BMXRosterServiceListener::onApplicationAccepted ( int64_t  sponsorId,
int64_t  recipientId 
)
inlinevirtual

加好友申请被通过了

Parameters
sponsorId操作的发起者
recipientId操作的接受者

◆ onApplicationDeclined()

virtual void floo::BMXRosterServiceListener::onApplicationDeclined ( int64_t  sponsorId,
int64_t  recipientId,
const std::string &  reason 
)
inlinevirtual

加好友申请被拒绝了

Parameters
sponsorId操作的发起者
recipientId操作的接受者
reason申请拒绝原因

◆ onApplied()

virtual void floo::BMXRosterServiceListener::onApplied ( int64_t  sponsorId,
int64_t  recipientId,
const std::string &  message 
)
inlinevirtual

收到加好友申请

Parameters
sponsorId操作的发起者
recipientId操作的接受者
message好友申请消息

◆ onBlockListAdded()

virtual void floo::BMXRosterServiceListener::onBlockListAdded ( int64_t  sponsorId,
int64_t  recipientId 
)
inlinevirtual

添加黑名单

Parameters
sponsorId操作的发起者
recipientId操作的接受者

◆ onBlockListRemoved()

virtual void floo::BMXRosterServiceListener::onBlockListRemoved ( int64_t  sponsorId,
int64_t  recipientId 
)
inlinevirtual

删除黑名单

Parameters
sponsorId操作的发起者
recipientId操作的接受者

◆ onFriendAdded()

virtual void floo::BMXRosterServiceListener::onFriendAdded ( int64_t  sponsorId,
int64_t  recipientId 
)
inlinevirtual

添加好友

Parameters
sponsorId操作的发起者
recipientId操作的接受者

◆ onFriendRemoved()

virtual void floo::BMXRosterServiceListener::onFriendRemoved ( int64_t  sponsorId,
int64_t  recipientId 
)
inlinevirtual

删除好友

Parameters
sponsorId操作的发起者
recipientId操作的接受者

◆ onRosterInfoUpdate()

virtual void floo::BMXRosterServiceListener::onRosterInfoUpdate ( BMXRosterItemPtr  item)
inlinevirtual

用户信息更新

Parameters
item更新的好友信息

The documentation for this class was generated from the following file: