BMXRosterServiceListener
类 BMXRosterServiceListener
-
java.lang.Object
-
- im.floo.floolib.BMXRosterServiceListener
-
public class BMXRosterServiceListener extends java.lang.Object
好友变化监听者
-
-
字段概要
字段
限定符和类型 字段和说明 protected boolean
swigCMemOwn
-
构造器概要
构造器
限定符 构造器和说明 BMXRosterServiceListener()
protected
BMXRosterServiceListener(long cPtr, boolean cMemoryOwn)
-
方法概要
所有方法 静态方法 实例方法 具体方法
限定符和类型 方法和说明 void
delete()
protected void
finalize()
protected static long
getCPtr(BMXRosterServiceListener obj)
void
onApplicationAccepted(long sponsorId, long recipientId)
加好友申请被通过了void
onApplicationDeclined(long sponsorId, long recipientId, java.lang.String reason)
加好友申请被拒绝了void
onApplied(long sponsorId, long recipientId, java.lang.String message)
收到加好友申请void
onBlockListAdded(long sponsorId, long recipientId)
添加黑名单void
onBlockListRemoved(long sponsorId, long recipientId)
删除黑名单void
onFriendAdded(long sponsorId, long recipientId)
添加好友void
onFriendRemoved(long sponsorId, long recipientId)
删除好友void
onRosterInfoUpdate(BMXRosterItem item)
用户信息更新void
onRosterListUpdate()
客户端从服务器拉取到新联系人时触发,用于用户联系人列表更新,从SDK调用本地获取联系人即可取得全部成员信息protected void
swigDirectorDisconnect()
void
swigReleaseOwnership()
void
swigTakeOwnership()
-
从类继承的方法 java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
字段详细资料
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
构造器详细资料
-
BMXRosterServiceListener
protected BMXRosterServiceListener(long cPtr, boolean cMemoryOwn)
-
BMXRosterServiceListener
public BMXRosterServiceListener()
-
-
方法详细资料
-
getCPtr
protected static long getCPtr(BMXRosterServiceListener obj)
-
finalize
protected void finalize()
覆盖:
finalize
在类中java.lang.Object
-
delete
public void delete()
-
swigDirectorDisconnect
protected void swigDirectorDisconnect()
-
swigReleaseOwnership
public void swigReleaseOwnership()
-
swigTakeOwnership
public void swigTakeOwnership()
-
onFriendAdded
public void onFriendAdded(long sponsorId, long recipientId)
添加好友
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者 -
onFriendRemoved
public void onFriendRemoved(long sponsorId, long recipientId)
删除好友
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者 -
onApplied
public void onApplied(long sponsorId, long recipientId, java.lang.String message)
收到加好友申请
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者message
- 好友申请消息 -
onApplicationAccepted
public void onApplicationAccepted(long sponsorId, long recipientId)
加好友申请被通过了
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者 -
onApplicationDeclined
public void onApplicationDeclined(long sponsorId, long recipientId, java.lang.String reason)
加好友申请被拒绝了
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者reason
- 申请拒绝原因 -
onBlockListAdded
public void onBlockListAdded(long sponsorId, long recipientId)
添加黑名单
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者 -
onBlockListRemoved
public void onBlockListRemoved(long sponsorId, long recipientId)
删除黑名单
参数:
sponsorId
- 操作的发起者recipientId
- 操作的接受者 -
onRosterInfoUpdate
public void onRosterInfoUpdate(BMXRosterItem item)
用户信息更新
参数:
item
- 更新的好友信息 -
onRosterListUpdate
public void onRosterListUpdate()
客户端从服务器拉取到新联系人时触发,用于用户联系人列表更新,从SDK调用本地获取联系人即可取得全部成员信息
-
-
文档反馈
(如有产品使用问题,请提交工单)