Package org.linphone.core
Enum Class ChatRoom.Capabilities
- All Implemented Interfaces:
Serializable
,Comparable<ChatRoom.Capabilities>
,Constable
- Enclosing interface:
- ChatRoom
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNo server.Use server (supports group chat)
Chat room is encrypted.Chat room can enable ephemeral messages.Chat room migratable from Basic to Conference.No capabilities.A communication between two participants (can be Basic or Conference)
Special proxy chat room flag.Supports RTT. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChatRoom.Capabilities
fromInt
(int value) int
toInt()
static ChatRoom.Capabilities
Returns the enum constant of this class with the specified name.static ChatRoom.Capabilities[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
No capabilities.
-
Basic
No server.
It's a direct communication -
RealTimeText
Supports RTT.
-
Conference
Use server (supports group chat)
-
Proxy
Special proxy chat room flag.
-
Migratable
Chat room migratable from Basic to Conference.
-
OneToOne
A communication between two participants (can be Basic or Conference)
-
Encrypted
Chat room is encrypted.
-
Ephemeral
Chat room can enable ephemeral messages.
-
-
Field Details
-
mValue
protected final int mValue
-
-
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
-
fromInt
- Throws:
RuntimeException
-
toInt
public int toInt()
-