onFriendAdd

public abstract void onFriendAdd(DirectionType directionType, String userId, String name, String portraitUri, long operationTime)

好友添加回调

Parameters

userId

用户ID

name

名称

portraitUri

头像

operationTime

操作时间

directionType

好友方向类型。参照io.rong.imlib.model.DirectionType