Package com.smartfoxserver.v2.buddylist
Enum SFSBuddyEventParam
- java.lang.Object
-
- java.lang.Enum<SFSBuddyEventParam>
-
- com.smartfoxserver.v2.buddylist.SFSBuddyEventParam
-
- All Implemented Interfaces:
ISFSEventParam
,java.io.Serializable
,java.lang.Comparable<SFSBuddyEventParam>
public enum SFSBuddyEventParam extends java.lang.Enum<SFSBuddyEventParam> implements ISFSEventParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUDDY
A Buddy item in a Buddy ListBUDDY_BLOCK_STAUTS
The "blocked" status of a Buddy in a BuddyListBUDDY_IS_ONLINE
The Online state of a Buddy in a BuddyListBUDDY_LIST
A User's Buddy ListBUDDY_STATE
The custom state of a Buddy in a BuddyList
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SFSBuddyEventParam
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SFSBuddyEventParam[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUDDY
public static final SFSBuddyEventParam BUDDY
A Buddy item in a Buddy List
-
BUDDY_LIST
public static final SFSBuddyEventParam BUDDY_LIST
A User's Buddy List
-
BUDDY_BLOCK_STAUTS
public static final SFSBuddyEventParam BUDDY_BLOCK_STAUTS
The "blocked" status of a Buddy in a BuddyList
-
BUDDY_STATE
public static final SFSBuddyEventParam BUDDY_STATE
The custom state of a Buddy in a BuddyList
-
BUDDY_IS_ONLINE
public static final SFSBuddyEventParam BUDDY_IS_ONLINE
The Online state of a Buddy in a BuddyList
-
-
Method Detail
-
values
public static SFSBuddyEventParam[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SFSBuddyEventParam c : SFSBuddyEventParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SFSBuddyEventParam valueOf(java.lang.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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-