Enum Class ContactJid.Type

java.lang.Object
java.lang.Enum<ContactJid.Type>
it.auties.whatsapp.model.contact.ContactJid.Type
All Implemented Interfaces:
Serializable, Comparable<ContactJid.Type>, Constable
Enclosing class:
ContactJid

public static enum ContactJid.Type extends Enum<ContactJid.Type>
The constants of this enumerated type describe the various types of jids currently supported
  • Enum Constant Details

    • COMPANION

      public static final ContactJid.Type COMPANION
      Represents a device connected using the multi device beta
    • USER

      public static final ContactJid.Type USER
      Regular Whatsapp contact Jid
    • OFFICIAL_SURVEY_ACCOUNT

      public static final ContactJid.Type OFFICIAL_SURVEY_ACCOUNT
      Official survey account
    • LID

      public static final ContactJid.Type LID
      Lid
    • BROADCAST

      public static final ContactJid.Type BROADCAST
      Broadcast list
    • OFFICIAL_BUSINESS_ACCOUNT

      public static final ContactJid.Type OFFICIAL_BUSINESS_ACCOUNT
      Official business account
    • GROUP

      public static final ContactJid.Type GROUP
      Group Chat Jid
    • GROUP_CALL

      public static final ContactJid.Type GROUP_CALL
      Group Call Jid
    • SERVER

      public static final ContactJid.Type SERVER
      Server Jid: Used to send nodes to Whatsapp usually
    • ANNOUNCEMENT

      public static final ContactJid.Type ANNOUNCEMENT
      Announcements Chat Jid: Read only chat, usually used by Whatsapp for log updates
    • IAS

      public static final ContactJid.Type IAS
      IAS Chat jid
    • STATUS

      public static final ContactJid.Type STATUS
      Image Status Jid of a contact
    • UNKNOWN

      public static final ContactJid.Type UNKNOWN
      Unknown Jid type
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static ContactJid.Type[] 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 ContactJid.Type 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