AgoraChatSDK 1.2.0
Instance Methods | List of all members
<IAgoraChatUserInfoManager> Protocol Reference

#import <IAgoraChatUserInfoManager.h>

Inheritance diagram for <IAgoraChatUserInfoManager>:

Instance Methods

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

Detailed Description

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

Author
Hyphenate
Version
3.00

Method Documentation

◆ fetchUserInfoById:completion:

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

Gets the user information by user ID.

Parameters
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 *_Nullable aUserDatas, AgoraChatError *_Nullable aError))  aCompletionBlock 

Gets the specific user information by user ID.

Parameters
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.

Parameters
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.

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

The documentation for this protocol was generated from the following file: