- All Implemented Interfaces:
Serializable
,Comparable<ContactJid.Type>
,Constable
- Enclosing class:
- ContactJid
The constants of this enumerated type describe the various types of jids currently supported
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnnouncements Chat Jid: Read only chat, usually used by Whatsapp for log updatesBroadcast listRepresents a device connected using the multi device betaGroup Chat JidGroup Call JidIAS Chat jidLidOfficial business accountOfficial survey accountServer Jid: Used to send nodes to Whatsapp usuallyImage Status Jid of a contactUnknown Jid typeRegular Whatsapp contact Jid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactJid.Type
Returns the enum constant of this class with the specified name.static ContactJid.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPANION
Represents a device connected using the multi device beta -
USER
Regular Whatsapp contact Jid -
OFFICIAL_SURVEY_ACCOUNT
Official survey account -
LID
Lid -
BROADCAST
Broadcast list -
OFFICIAL_BUSINESS_ACCOUNT
Official business account -
GROUP
Group Chat Jid -
GROUP_CALL
Group Call Jid -
SERVER
Server Jid: Used to send nodes to Whatsapp usually -
ANNOUNCEMENT
Announcements Chat Jid: Read only chat, usually used by Whatsapp for log updates -
IAS
IAS Chat jid -
STATUS
Image Status Jid of a contact -
UNKNOWN
Unknown Jid type
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-