AgoraChatSDK 1.0.7
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
23#import <Foundation/Foundation.h>
24#import "AgoraChatUserInfo.h"
25#import "AgoraChatError.h"
26
27@protocol IAgoraChatUserInfoManager <NSObject>
28
42- (void)updateOwnUserInfo:(AgoraChatUserInfo*_Nonnull)aUserData
43 completion:(void (^_Nullable)(AgoraChatUserInfo*_Nullable aUserInfo,AgoraChatError *_Nullable aError))aCompletionBlock;
44
60- (void)updateOwnUserInfo:(NSString*_Nullable )aValue
61 withType:(AgoraChatUserInfoType)aType
62 completion:(void (^_Nullable )(AgoraChatUserInfo*_Nullable aUserInfo,AgoraChatError * _Nullable aError))aCompletionBlock;
63
77- (void)fetchUserInfoById:(NSArray<NSString*>*_Nonnull)aUserIds
78 completion:(void (^_Nullable)(NSDictionary*_Nullable aUserDatas,AgoraChatError *_Nullable aError))aCompletionBlock;
94- (void)fetchUserInfoById:(NSArray<NSString*>* _Nonnull)aUserIds
95 type:(NSArray<NSNumber*>*_Nonnull)aType
96 completion:(void (^_Nullable)(NSDictionary*_Nullable aUserDatas,AgoraChatError *_Nullable aError))aCompletionBlock;
97@end
98
Definition: AgoraChatError.h:27
Definition: AgoraChatUserInfo.h:36
Definition: IAgoraChatUserInfoManager.h:27