registerFriendObserver static method

Stream<List<NIMFriend>> registerFriendObserver()

注册好友增加或者更新的监听器

Implementation

static Stream<List<NIMFriend>> registerFriendObserver() {
  return NimCore.instance.userService.onFriendAddedOrUpdated;
}