#import <IAgoraChatUserInfoManager.h>
@header IAgoraChatUserInfoManager.h @abstract The user information operation class.
- Author
- Hyphenate
- Version
- 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.
- Parameters
-
aUserIds | The user ID list. |
aCompletionBlock | The 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.
- Parameters
-
aUserIds | The user ID list. |
aType | The user information type list. |
aCompletionBlock | The completion block, which contains the error message if the method fails. |
◆ updateOwnUserInfo:completion:
Sets all of the user's information.
- Parameters
-
aUserData | The user information data to set. |
aCompletionBlock | The 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
-
aValue | The user information data to set. |
aType | The user information type to set. |
aCompletionBlock | The completion block, which contains the error message if the method fails. |
The documentation for this protocol was generated from the following file: