# FriendRelationType

public enum FriendRelationType

## Entries

None
Link copied to clipboard
None

不是好友，不在双方的好友列表中

InMyFriendList
Link copied to clipboard
InMyFriendList

仅对方在我的好友列表中

InOtherFriendList
Link copied to clipboard
InOtherFriendList

仅我在对方的好友列表中。

BothWay
Link copied to clipboard
BothWay

互为好友，在双方的好友列表中

## Functions

ordinalOf
Link copied to clipboard
public static FriendRelationType ordinalOf(int ordinal)
valueOf
Link copied to clipboard
public static FriendRelationType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
public static Array<FriendRelationType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.