public enum FriendCapability extends java.lang.Enum<FriendCapability>
Enum Constant | 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 | Description |
---|---|---|
protected int |
mValue |
Modifier and Type | Method | Description |
---|---|---|
static FriendCapability |
fromInt(int value) |
|
protected static FriendCapability[] |
fromIntArray(int[] values) |
|
int |
toInt() |
|
protected static int[] |
toIntArray(FriendCapability[] values) |
|
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
protected static FriendCapability[] fromIntArray(int[] values) throws java.lang.RuntimeException
java.lang.RuntimeException
protected static int[] toIntArray(FriendCapability[] values) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()