Enum Class GroupSetting

java.lang.Object
java.lang.Enum<GroupSetting>
it.auties.whatsapp.model.chat.GroupSetting
All Implemented Interfaces:
Serializable, Comparable<GroupSetting>, Constable

public enum GroupSetting extends Enum<GroupSetting>
The constants of this enumerated type describe the various settings that can be toggled for a group. Said settings can be changed using various methods in Whatsapp.
  • Enum Constant Details

    • EDIT_GROUP_INFO

      public static final GroupSetting EDIT_GROUP_INFO
      Who can edit the metadata of a group
    • SEND_MESSAGES

      public static final GroupSetting SEND_MESSAGES
      Who can send messages in a group
    • ADD_PARTICIPANTS

      public static final GroupSetting ADD_PARTICIPANTS
      Who can add new members
    • APPROVE_PARTICIPANTS

      public static final GroupSetting APPROVE_PARTICIPANTS
      Who can accept new members
  • Constructor Details

    • GroupSetting

      private GroupSetting()
  • Method Details

    • values

      public static GroupSetting[] 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 GroupSetting 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