setFriendInfo

public abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, IRongCoreCallback.OperationCallback callback)

Set friend information

Parameters

userId

The user ID of the friend

remark

The remark name for the friend. Up to 64 characters, spaces only are not supported. If not provided or empty, the remark name will be cleared.

extProfile

Extended information. By default, up to 10 extended information items can be set. (Must be configured via the developer console or API; otherwise, the setting will fail.)

callback

The result is returned via this callback after the operation is completed.