ShengwangChatSDK 1.3.2
构造函数 | 所有成员列表
<IAgoraChatUserInfoManager>协议 参考

#import <IAgoraChatUserInfoManager.h>

类 <IAgoraChatUserInfoManager> 继承关系图:

构造函数

(void) - updateOwnUserInfo:completion:
 
(void) - updateOwnUserInfo:withType:completion:
 
(void) - fetchUserInfoById:completion:
 
(void) - fetchUserInfoById:type:completion:
 

详细描述

@header IAgoraChatUserInfoManager.h @abstract The user information operation class.

作者
Hyphenate
版本
3.00

函数文档

◆ fetchUserInfoById:completion:

- (void) fetchUserInfoById: (NSArray< NSString * > *_Nonnull)  aUserIds
completion: (void(^)(NSDictionary< NSString *, AgoraChatUserInfo * > *_Nullable aUserDatas, AgoraChatError *_Nullable aError))  aCompletionBlock 

Gets the user information by user ID.

参数
aUserIdsThe user ID list.
aCompletionBlockThe completion block, which contains the error message if the method fails.

◆ fetchUserInfoById:type:completion:

- (void) fetchUserInfoById: (NSArray< NSString * > *_Nonnull)  aUserIds
type: (NSArray< NSNumber * > *_Nonnull)  aType
completion: (void(^)(NSDictionary< NSString *, AgoraChatUserInfo * > *_Nullable aUserDatas, AgoraChatError *_Nullable aError))  aCompletionBlock 

Gets the specific user information by user ID.

参数
aUserIdsThe user ID list.
aTypeThe user information type list.
aCompletionBlockThe completion block, which contains the error message if the method fails.

◆ updateOwnUserInfo:completion:

- (void) updateOwnUserInfo: (AgoraChatUserInfo *_Nonnull)  aUserData
completion: (void(^)(AgoraChatUserInfo *_Nullable aUserInfo, AgoraChatError *_Nullable aError))  aCompletionBlock 

Sets all of the user's information.

参数
aUserDataThe user information data to set.
aCompletionBlockThe completion block, which contains the error message if the method fails.

◆ updateOwnUserInfo:withType:completion:

- (void) updateOwnUserInfo: (NSString *_Nullable)  aValue
withType: (AgoraChatUserInfoType)  aType
completion: (void(^)(AgoraChatUserInfo *_Nullable aUserInfo, AgoraChatError *_Nullable aError))  aCompletionBlock 

Sets a specific user information of the user.

参数
aValueThe user information data to set.
aTypeThe user information type to set.
aCompletionBlockThe completion block, which contains the error message if the method fails.

该协议的文档由以下文件生成: