im::floo::floolib::BMXRosterServiceListener

好友变化监听者

Public Functions

Name
synchronized void delete()
void swigReleaseOwnership()
void swigTakeOwnership()
void onFriendAdded(long sponsorId, long recipientId)
添加好友
void onFriendRemoved(long sponsorId, long recipientId)
删除好友
void onApplied(long sponsorId, long recipientId, String message)
收到加好友申请
void onApplicationAccepted(long sponsorId, long recipientId)
加好友申请被通过了
void onApplicationDeclined(long sponsorId, long recipientId, String reason)
加好友申请被拒绝了
void onBlockListAdded(long sponsorId, long recipientId)
添加黑名单
void onBlockListRemoved(long sponsorId, long recipientId)
删除黑名单
void onRosterInfoUpdate(BMXRosterItem item)
用户信息更新
void onRosterListUpdate()
客户端从服务器拉取到新联系人时触发,用于用户联系人列表更新,从SDK调用本地获取联系人即可取得全部成员信息
BMXRosterServiceListener()
void registerRosterService(BMXRosterService service)

Protected Functions

Name
BMXRosterServiceListener(long cPtr, boolean cMemoryOwn)
void finalize()
void swigDirectorDisconnect()
long getCPtr(BMXRosterServiceListener obj)

Protected Attributes

Name
transient boolean swigCMemOwn

Public Functions Documentation

function delete

inline synchronized void delete()

function swigReleaseOwnership

inline void swigReleaseOwnership()

function swigTakeOwnership

inline void swigTakeOwnership()

function onFriendAdded

inline void onFriendAdded(
    long sponsorId,
    long recipientId
)

添加好友

Parameters:

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

function onFriendRemoved

inline void onFriendRemoved(
    long sponsorId,
    long recipientId
)

删除好友

Parameters:

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

function onApplied

inline void onApplied(
    long sponsorId,
    long recipientId,
    String message
)

收到加好友申请

Parameters:

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

function onApplicationAccepted

inline void onApplicationAccepted(
    long sponsorId,
    long recipientId
)

加好友申请被通过了

Parameters:

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

function onApplicationDeclined

inline void onApplicationDeclined(
    long sponsorId,
    long recipientId,
    String reason
)

加好友申请被拒绝了

Parameters:

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

function onBlockListAdded

inline void onBlockListAdded(
    long sponsorId,
    long recipientId
)

添加黑名单

Parameters:

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

function onBlockListRemoved

inline void onBlockListRemoved(
    long sponsorId,
    long recipientId
)

删除黑名单

Parameters:

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

function onRosterInfoUpdate

inline void onRosterInfoUpdate(
    BMXRosterItem item
)

用户信息更新

Parameters:

  • item 更新的好友信息

function onRosterListUpdate

inline void onRosterListUpdate()

客户端从服务器拉取到新联系人时触发,用于用户联系人列表更新,从SDK调用本地获取联系人即可取得全部成员信息

function BMXRosterServiceListener

inline BMXRosterServiceListener()

function registerRosterService

inline void registerRosterService(
    BMXRosterService service
)

Protected Functions Documentation

function BMXRosterServiceListener

inline BMXRosterServiceListener(
    long cPtr,
    boolean cMemoryOwn
)

function finalize

inline void finalize()

function swigDirectorDisconnect

inline void swigDirectorDisconnect()

function getCPtr

static inline long getCPtr(
    BMXRosterServiceListener obj
)

Protected Attributes Documentation

variable swigCMemOwn

transient boolean swigCMemOwn;

Updated on 2022-01-26 at 17:18:31 +0800

© 2019-2022 美信拓扑 | 官网 该文件修订时间: 2022-03-07 03:07:24

results matching ""

    No results matching ""