NIMSDK-iOS
载入中...
搜索中...
未找到
NIMTeamManagerDelegate.h
浏览该文件的文档.
1//
2// NIMTeamManagerDelegate.h
3// NIMSDK
4//
5// Created by Netease on 2019/7/19.
6// Copyright © 2019 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@class NIMTeam;
12
13NS_ASSUME_NONNULL_BEGIN
14
15@protocol NIMTeamManagerDelegate <NSObject>
16
17@optional
18/**
19 * 群组增加回调
20 *
21 * @param team 添加的群组
22 */
23- (void)onTeamAdded:(NIMTeam *)team;
24
25/**
26 * 群组更新回调
27 *
28 * @param team 更新的群组
29 */
30- (void)onTeamUpdated:(NIMTeam *)team;
31
32/**
33 * 群组移除回调
34 *
35 * @param team 被移除的群组
36 */
37- (void)onTeamRemoved:(NIMTeam *)team;
38
39/**
40 * 群组成员变动回调,包括数量增减以及成员属性变动
41 *
42 * @param team 变动的群组
43 */
44- (void)onTeamMemberChanged:(NIMTeam *)team;
45
46/**
47 * 群组成员变动回调,包含有更新的群成员ID
48 *
49 * @param team 变动的群组
50 * @param memberIDs 变动的成员ID
51 */
52- (void)onTeamMemberUpdated:(NIMTeam *)team
53 withMembers:(nullable NSArray<NSString *> *)memberIDs;
54
55/**
56 * 群组成员变动回调,包含被移除的群成员ID
57 *
58 * @param team 变动的群组
59 * @param memberIDs 变动的成员ID
60 */
61- (void)onTeamMemberRemoved:(NIMTeam *)team
62 withMembers:(nullable NSArray<NSString *> *)memberIDs;
63
64@end
65
66NS_ASSUME_NONNULL_END
Definition: NIMTeam.h:19