- All Implemented Interfaces:
Serializable,Comparable<PrivacySettingValue>,Constable
The constants of this enumerated type describe the various types of preferences that can be
toggled for a corresponding setting
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll the contacts saved on your Whatsapp's userAll the contacts saved on your Whatsapp's user except someEveryoneMatch last seenNobody -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()static Optional<PrivacySettingValue> static PrivacySettingValueReturns the enum constant of this class with the specified name.static PrivacySettingValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EVERYONE
Everyone -
CONTACTS
All the contacts saved on your Whatsapp's user -
CONTACTS_EXCEPT
All the contacts saved on your Whatsapp's user except some -
NOBODY
Nobody -
MATCH_LAST_SEEN
Match last seen
-
-
Field Details
-
data
-
-
Constructor Details
-
PrivacySettingValue
-
-
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
-
of
-
data
-