public class ChatMetadata extends Object
ChatMetadata
provides the meta data that you can get from a chatroom.Modifier and Type | Method and Description |
---|---|
String |
getKey()
Gets the key.
|
Object |
getValue()
Gets the value.
|
<T> T |
getValue(Class<T> type)
Gets the value.
|
public String getKey()
public Object getValue()
public <T> T getValue(Class<T> type) throws JSONException
type
- Expecting type. Because the model variable name will be treated as JSON key, you
should keep them during release proguard.JSONException
- If the data doesn't match the expected format.