onFriendAdd

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

Friend Request Callback

Parameters

userId

Indicates the user ID

name

Represents the name of the user

portraitUri

Specifies the URI of the user's portrait

operationTime

Indicates the time of the operation

directionType

Specifies the direction type of the friend request. Refer to