onFriendAdd

public Unit onFriendAdd(FriendDirection directionType, String userId, String name, String portraitUri, Long operationTime)

Friend added callback.

Parameters

directionType

Friend direction type

userId

userID

name

Name

portraitUri

Avatar

operationTime

Operation timestamp