NIMSDK-iOS
|
类型定义 | |
typedef void(^ | NIMTeamHandler) (NSError *__nullable error) |
typedef void(^ | NIMTeamCreateHandler) (NSError *__nullable error, NSString *__nullable teamId, NSArray< NSString * > *__nullable failedUserIds) |
typedef void(^ | NIMTeamSearchHandler) (NSError *__nullable error, NSArray< NIMTeam * > *__nullable teams) |
typedef void(^ | NIMTeamMemberHandler) (NSError *__nullable error, NSArray< NIMTeamMember * > *__nullable members) |
typedef void(^ | NIMTeamMemberSearchResultHandler) (NSError *__nullable error, NIMTeamMemberSearchResult *__nullable result) |
typedef void(^ | NIMTeamFetchInfoHandler) (NSError *__nullable error, NIMTeam *__nullable team) |
typedef void(^ | NIMTeamApplyHandler) (NSError *__nullable error, NIMTeamApplyStatus applyStatus) |
typedef void(^ | NIMTeamFetchInviterAccidsHandler) (NSError *__nullable error, NSDictionary< NSString *, NSString * > *__nullable inviters) |
typedef void(^ | NIMTeamFetchTeamsHandler) (NSError *__nullable error, NSArray< NIMTeam * > *__nullable teams) |
typedef void(^ | NIMTeamFetchTeamInfoListHandler) (NSError *__nullable error, NSArray< NIMTeam * > *__nullable teams, NSArray< NSString * > *__nullable failedTeamIds) |
typedef void(^ NIMTeamApplyHandler) (NSError *__nullable error, NIMTeamApplyStatus applyStatus) |
群申请block
error | 错误,如果成功则error为nil |
applyStatus | 群申请状态 |
typedef void(^ NIMTeamCreateHandler) (NSError *__nullable error, NSString *__nullable teamId, NSArray< NSString * > *__nullable failedUserIds) |
创建群组block
error | 错误,如果成功则error为nil |
teamId | 群组ID |
failedUserIds | 邀请失败的群成员ID |
typedef void(^ NIMTeamFetchInfoHandler) (NSError *__nullable error, NIMTeam *__nullable team) |
拉取群信息Block
error | 错误,如果成功则error为nil |
team | 群信息 |
typedef void(^ NIMTeamFetchInviterAccidsHandler) (NSError *__nullable error, NSDictionary< NSString *, NSString * > *__nullable inviters) |
邀请人Accids
error | 错误,如果成功则error为nil |
inviters | 群成员与邀请人关系 |
typedef void(^ NIMTeamFetchTeamInfoListHandler) (NSError *__nullable error, NSArray< NIMTeam * > *__nullable teams, NSArray< NSString * > *__nullable failedTeamIds) |
根据群ID列表批量获取群信息block
error | 错误,如果成功则error为nil |
teams | 获取成功的群组信息列表 |
failedUserIds | 获取失败的群ID列表 |
typedef void(^ NIMTeamFetchTeamsHandler) (NSError *__nullable error, NSArray< NIMTeam * > *__nullable teams) |
拉取所有群信息Block
error | 错误,如果成功则error为nil |
teams | 群信息 |
typedef void(^ NIMTeamHandler) (NSError *__nullable error) |
通用的群组操作block
error | 错误,如果成功则error为nil |
typedef void(^ NIMTeamMemberHandler) (NSError *__nullable error, NSArray< NIMTeamMember * > *__nullable members) |
群成员获取 block
error | 错误,如果成功则error为nil |
members | 成功的群成员列表,内部为NIMTeamMember |
typedef void(^ NIMTeamMemberSearchResultHandler) (NSError *__nullable error, NIMTeamMemberSearchResult *__nullable result) |
搜索结果 block
error | 错误,如果成功则error为nil |
result | 搜索成功结果 |
typedef void(^ NIMTeamSearchHandler) (NSError *__nullable error, NSArray< NIMTeam * > *__nullable teams) |
群查询 block
error | 错误,如果成功则error为nil |
teams | 查询的群信息 |
enum NIMTeamAllMuteMode |
enum NIMTeamApplyStatus |
enum NIMTeamBeInviteMode |
enum NIMTeamInviteMode |
enum NIMTeamJoinMode |
enum NIMTeamMemberType |
enum NIMTeamNotifyState |
enum NIMTeamType |