public interface ChatRoomParams
ChatRoom. Core.createDefaultChatRoomParams(). You can useisValid() to check if your configuration is valid or not.ChatRoom backend is ChatRoomBackend.Basic, then no otherChatMessage sent and received won't benefitChatRoomBackend.FlexisipChat can offer like| Modifier and Type | Method and Description |
|---|---|
void |
enableEncryption(boolean encrypted)
Enables or disables encryption for the chat room associated with the given
parameters. |
void |
enableGroup(boolean group)
Enables or disables group chat for the chat room associated with the given
parameters. |
void |
enableRtt(boolean rtt)
Enables or disables real time text for the chat room associated with the given
parameters. |
boolean |
encryptionEnabled()
Get the encryption status of the chat room associated with the given
parameters. |
ChatRoomBackend |
getBackend()
Get the backend implementation of the chat room associated with the given
parameters. |
ChatRoomEncryptionBackend |
getEncryptionBackend()
Get the encryption implementation of the chat room associated with the given
parameters. |
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
java.lang.String |
getSubject()
Get the subject of the chat room.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
boolean |
groupEnabled()
Get the group chat status of the chat room associated with the given
parameters. |
boolean |
isValid()
Returns whether the given parameters are valid or not.
|
boolean |
rttEnabled()
Get the real time text status of the chat room associated with the given
parameters. |
void |
setBackend(ChatRoomBackend backend)
Set the backend implementation of these chat room parameters.
|
void |
setEncryptionBackend(ChatRoomEncryptionBackend backend)
Set the encryption backend implementation of these chat room parameters.
|
void |
setSubject(java.lang.String subject)
Set the subject of the chat room.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String |
toString() |
ChatRoomBackend getBackend()
ChatRoomBackend void setBackend(ChatRoomBackend backend)
backend - The ChatRoomBackend enum value ChatRoomEncryptionBackend getEncryptionBackend()
ChatRoomEncryptionBackend void setEncryptionBackend(ChatRoomEncryptionBackend backend)
backend - The ChatRoomEncryptionBackend enum value boolean encryptionEnabled()
void enableEncryption(boolean encrypted)
boolean groupEnabled()
void enableGroup(boolean group)
boolean isValid()
boolean rttEnabled()
void enableRtt(boolean rtt)
@Nullable java.lang.String getSubject()
void setSubject(@Nullable
java.lang.String subject)
subject - The subject to set. void setUserData(java.lang.Object data)
data - the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString in class java.lang.Object