AgoraChatSDK 1.3.1
IAgoraChatUserInfoManager.h
1//
2// IAgoraChatUserInfoManager.h
3// HyphenateSDK
4//
5// Created by lixiaoming on 2021/3/17.
6// Copyright © 2021 easemob.com. All rights reserved.
7//
8
17#import <Foundation/Foundation.h>
18#import "AgoraChatUserInfo.h"
19#import "AgoraChatError.h"
20
21@protocol IAgoraChatUserInfoManager <NSObject>
22
30- (void)updateOwnUserInfo:(AgoraChatUserInfo*_Nonnull)aUserData
31 completion:(void (^_Nullable)(AgoraChatUserInfo*_Nullable aUserInfo,AgoraChatError *_Nullable aError))aCompletionBlock;
32
41- (void)updateOwnUserInfo:(NSString*_Nullable )aValue
42 withType:(AgoraChatUserInfoType)aType
43 completion:(void (^_Nullable )(AgoraChatUserInfo*_Nullable aUserInfo,AgoraChatError * _Nullable aError))aCompletionBlock;
44
52- (void)fetchUserInfoById:(NSArray<NSString*>*_Nonnull)aUserIds
53 completion:(void (^_Nullable)(NSDictionary<NSString*,AgoraChatUserInfo*> *_Nullable aUserDatas,AgoraChatError *_Nullable aError))aCompletionBlock;
62- (void)fetchUserInfoById:(NSArray<NSString*>* _Nonnull)aUserIds
63 type:(NSArray<NSNumber*>*_Nonnull)aType
64 completion:(void (^_Nullable)(NSDictionary<NSString*,AgoraChatUserInfo*> *_Nullable aUserDatas,AgoraChatError *_Nullable aError))aCompletionBlock;
65@end
66
Definition: AgoraChatError.h:18
Definition: AgoraChatUserInfo.h:29
Definition: IAgoraChatUserInfoManager.h:21