public enum FriendCapability extends java.lang.Enum<FriendCapability>
Enum Constant and Description |
---|
EphemeralMessages
This friend is able to delete ephemeral messages once they have expired.
|
GroupChat
This friend can be invited in a Flexisip backend
ChatRoom . |
LimeX3Dh
This friend can be invited in a Flexisip backend end-to-end encrypted
ChatRoom . |
None
No capabilities populated.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static FriendCapability |
fromInt(int value) |
int |
toInt() |
static FriendCapability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FriendCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FriendCapability None
public static final FriendCapability GroupChat
public static final FriendCapability LimeX3Dh
public static final FriendCapability EphemeralMessages
public static FriendCapability[] values()
for (FriendCapability c : FriendCapability.values()) System.out.println(c);
public static FriendCapability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static FriendCapability fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()