public static enum AddFriendNotify.Event extends java.lang.Enum<AddFriendNotify.Event>
Enum Constant and Description |
---|
RECV_ADD_FRIEND_DIRECT
The current user is added without verification
|
RECV_ADD_FRIEND_VERIFY_REQUEST
The current user is added with verification
|
RECV_AGREE_ADD_FRIEND
The friend request is accepted by the peer
|
RECV_REJECT_ADD_FRIEND
The friend request is rejected by the peer
|
Modifier and Type | Method and Description |
---|---|
static AddFriendNotify.Event |
eventOfValue(byte type) |
byte |
getValue() |
static AddFriendNotify.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddFriendNotify.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddFriendNotify.Event RECV_ADD_FRIEND_DIRECT
public static final AddFriendNotify.Event RECV_ADD_FRIEND_VERIFY_REQUEST
public static final AddFriendNotify.Event RECV_AGREE_ADD_FRIEND
public static final AddFriendNotify.Event RECV_REJECT_ADD_FRIEND
public static AddFriendNotify.Event[] values()
for (AddFriendNotify.Event c : AddFriendNotify.Event.values()) System.out.println(c);
public static AddFriendNotify.Event valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AddFriendNotify.Event eventOfValue(byte type)
public byte getValue()