BMXRosterServiceListener
class im.floo.floolib.BMXRosterServiceListener
好友变化监听者
Index
字段
方法
字段
swigCMemOwn
- protected transient boolean swigCMemOwn
-
方法
getCPtr
- protected static long getCPtr(BMXRosterServiceListener obj);
-
Returns long
finalize
- protected void finalize();
-
Returns void
delete
- public synchronized void delete();
-
Returns void
swigDirectorDisconnect
- protected void swigDirectorDisconnect();
-
Returns void
swigReleaseOwnership
- public void swigReleaseOwnership();
-
Returns void
swigTakeOwnership
- public void swigTakeOwnership();
-
Returns void
onFriendAdded
- public void onFriendAdded(long sponsorId, long recipientId);
-
添加好友
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
Returns void -
onFriendRemoved
- public void onFriendRemoved(long sponsorId, long recipientId);
-
删除好友
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
Returns void -
onApplied
- public void onApplied(long sponsorId, long recipientId, String message);
-
收到加好友申请
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
-
message: String
好友申请消息
Returns void -
onApplicationAccepted
- public void onApplicationAccepted(long sponsorId, long recipientId);
-
加好友申请被通过了
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
Returns void -
onApplicationDeclined
- public void onApplicationDeclined(long sponsorId, long recipientId, String reason);
-
加好友申请被拒绝了
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
-
reason: String
申请拒绝原因
Returns void -
onBlockListAdded
- public void onBlockListAdded(long sponsorId, long recipientId);
-
添加黑名单
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
Returns void -
onBlockListRemoved
- public void onBlockListRemoved(long sponsorId, long recipientId);
-
删除黑名单
Parameters-
sponsorId: long
操作的发起者
-
recipientId: long
操作的接受者
Returns void -
onRosterInfoUpdate
- public void onRosterInfoUpdate(BMXRosterItem item);
-
用户信息更新
Parameters-
item: BMXRosterItem
更新的好友信息
Returns void -
onRosterListUpdate
- public void onRosterListUpdate();
-
客户端从服务器拉取到新联系人时触发,用于用户联系人列表更新,从SDK调用本地获取联系人即可取得全部成员信息
Returns void
registerRosterService
- public void registerRosterService(BMXRosterService service);
-
Returns void
文档反馈
(如有产品使用问题,请 提交工单)