|
Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Member Functions |
|
| RtmAttribute (String key, String value) | |
| void | setKey (String key) |
| String | getKey () |
| void | setValue (String value) |
| String | getValue () |
| String | toString () |
A class for setting and getting the RtmAttribute.
| io.agora.rtm.RtmAttribute.RtmAttribute | ( | String | key, |
| String | value | ||
| ) |
The construction method of RtmAttribute.
| key | The attribute name. Must be visible characters and not exceed 32 Bytes in length. |
| value | The attribute value. Must not exceed 8 KB in length. |
| void io.agora.rtm.RtmAttribute.setKey | ( | String | key | ) |
Sets the attribute name.
| key | The attribute name. Must be visible characters and not exceed 32 Bytes in length. |
| String io.agora.rtm.RtmAttribute.getKey | ( | ) |
Gets the attribute name.
setKey
method.
| void io.agora.rtm.RtmAttribute.setValue | ( | String | value | ) |
Sets the attribute value.
| value | The attribute value. Must not exceed 8 KB in length. |
| String io.agora.rtm.RtmAttribute.getValue | ( | ) |
Gets the attribute value.
setValue
method.