HyphenateChatSDK  3.8.3.1
Instance Methods | List of all members
<IEMUserInfoManager> Protocol Reference
Inheritance diagram for <IEMUserInfoManager>:

Instance Methods

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

Method Documentation

◆ fetchUserInfoById:completion:

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

Get user info by id

Parameters
aUserIdsThe users's id to get user info
aCompletionBlockThe completion callback

◆ fetchUserInfoById:type:completion:

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

Get user special info by id

Parameters
aUserIdsThe users's id to get user info
aTypeThe user info type to get
aCompletionBlockThe completion callback

◆ updateOwnUserInfo:completion:

- (void) updateOwnUserInfo: (EMUserInfo *)  aUserData
completion: (void(^)(EMUserInfo *aUserInfo, EMError *aError))  aCompletionBlock 

Set all own user info

Parameters
aUserDataThe user info data to set
aCompletionBlockThe completion callback

◆ updateOwnUserInfo:withType:completion:

- (void) updateOwnUserInfo: (NSString *)  aValue
withType: (EMUserInfoType)  aType
completion: (void(^)(EMUserInfo *aUserInfo, EMError *aError))  aCompletionBlock 

Set special own user info

Parameters
aValueThe user info data to set
aTypeThe user info type to set
aCompletionBlockThe completion callback

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