Package io.rong.imlib.model
Enum FriendRelationType
-
- All Implemented Interfaces:
public enum FriendRelationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description None
不是好友,不在双方的好友列表中
InMyFriendList
仅对方在我的好友列表中
InOtherFriendList
仅我在对方的好友列表中。
BothWay
互为好友,在双方的好友列表中
-
Method Summary
Modifier and Type Method Description static FriendRelationType
ordinalOf(int ordinal)
static Array<FriendRelationType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static FriendRelationType
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
ordinalOf
static FriendRelationType ordinalOf(int ordinal)
-
values
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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
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.)
- Returns:
the enum constant with the specified name
-
-
-
-