Enum Class BuddyOnlineState

java.lang.Object
java.lang.Enum<BuddyOnlineState>
com.smartfoxserver.buddylist.BuddyOnlineState
All Implemented Interfaces:
Serializable, Comparable<BuddyOnlineState>, Constable

public enum BuddyOnlineState extends Enum<BuddyOnlineState>
  • Enum Constant Details

    • ONLINE

      public static final BuddyOnlineState ONLINE
      The Buddy is online in the system
    • OFFLINE

      public static final BuddyOnlineState OFFLINE
      The Buddy is off-line in the system
    • LEFT_THE_SERVER

      public static final BuddyOnlineState LEFT_THE_SERVER
      The Buddy left the server
  • Method Details

    • values

      public static BuddyOnlineState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BuddyOnlineState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null