NIMSDK-AOS  9.16.0
FriendServiceObserve.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.friend;
2 
3 import com.netease.nimlib.apt.annotation.NIMService;
4 import com.netease.nimlib.invocation.ObserverInterface;
9 
13 @NIMService("好友关系服务观察者")
14 @ObserverInterface
15 public interface FriendServiceObserve {
22  void observeFriendChangedNotify(Observer<FriendChangedNotify> observer, boolean register);
23 
30  void observeBlackListChangedNotify(Observer<BlackListChangedNotify> observer, boolean register);
31 
32 
39  void observeMuteListChangedNotify(Observer<MuteListChangedNotify> observer, boolean register);
40 }
void observeFriendChangedNotify(Observer< FriendChangedNotify > observer, boolean register)
监听好友关系变化通知
void observeBlackListChangedNotify(Observer< BlackListChangedNotify > observer, boolean register)
监听黑名单变更通知
void observeMuteListChangedNotify(Observer< MuteListChangedNotify > observer, boolean register)
监听静音列表变更通知