HyphenateChatSDK 4.10.0
IEMUserInfoManager.h
1//
2// IEMUserInfoManager.h
3// HyphenateSDK
4//
5// Created by lixiaoming on 2021/3/17.
6// Copyright © 2021 easemob.com. All rights reserved.
7//
8
23#import <Foundation/Foundation.h>
24#import "EMUserInfo.h"
25#import "EMError.h"
26
27@protocol IEMUserInfoManager <NSObject>
28
42- (void)updateOwnUserInfo:(EMUserInfo*_Nonnull)aUserData
43 completion:(void (^_Nullable)(EMUserInfo*_Nullable aUserInfo,EMError *_Nullable aError))aCompletionBlock;
44
60- (void)updateOwnUserInfo:(NSString*_Nullable )aValue
61 withType:(EMUserInfoType)aType
62 completion:(void (^_Nullable )(EMUserInfo*_Nullable aUserInfo,EMError * _Nullable aError))aCompletionBlock;
63
77- (void)fetchUserInfoById:(NSArray<NSString*>*_Nonnull)aUserIds
78 completion:(void (^_Nullable)(NSDictionary<NSString*,EMUserInfo*> *_Nullable aUserDatas,EMError *_Nullable aError))aCompletionBlock;
94- (void)fetchUserInfoById:(NSArray<NSString*>* _Nonnull)aUserIds
95 type:(NSArray<NSNumber*>*_Nonnull)aType
96 completion:(void (^_Nullable)(NSDictionary<NSString*,EMUserInfo*> *_Nullable aUserDatas,EMError *_Nullable aError))aCompletionBlock;
97@end
98
Definition: EMError.h:27
Definition: EMUserInfo.h:36
Definition: IEMUserInfoManager.h:27