|
Signaling (previously RTM) SDK v1.5.0 API Reference for Linux (Java)
|
Public Member Functions |
|
| RtmChannelAttribute (String key, String value) | |
| RtmChannelAttribute (String key, String value, String userId, long updateTs) | |
| void | setKey (String key) |
| String | getKey () |
| void | setValue (String value) |
| String | getValue () |
| String | getLastUpdateUserId () |
| long | getLastUpdateTs () |
| String | toString () |
| io.agora.rtm.RtmChannelAttribute.RtmChannelAttribute | ( | String | key, |
| String | value | ||
| ) |
Construction method of the RtmChannelAttribute class.
| key | Key of channel attribute. Must be visible characters and not exceed 32 Bytes. |
| value | Value of the channel attribute. Must not exceed 8 KB. |
| io.agora.rtm.RtmChannelAttribute.RtmChannelAttribute | ( | String | key, |
| String | value, | ||
| String | userId, | ||
| long | updateTs | ||
| ) |
Construction method of the RtmChannelAttribute class.
| 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. |
| userId | User ID of the user who makes the latest update to the channel attribute. |
| updateTs | The timestamp (ms) of when the channel attribute was last updated. |
| void io.agora.rtm.RtmChannelAttribute.setKey | ( | String | key | ) |
Sets the key of the channel attribute.
| key | Key of channel attribute. Must be visible characters and not exceed 32 Bytes. |
| String io.agora.rtm.RtmChannelAttribute.getKey | ( | ) |
Gets the key of the channel attribute.
setKey
method.
| void io.agora.rtm.RtmChannelAttribute.setValue | ( | String | value | ) |
Sets the value of the channel attribute.
| value | Value of the channel attribute. Must not exceed 8 KB in length. |
| String io.agora.rtm.RtmChannelAttribute.getValue | ( | ) |
Gets the value of the channel attribute.
setValue
method.
| String io.agora.rtm.RtmChannelAttribute.getLastUpdateUserId | ( | ) |
Gets the User ID of the user who makes the latest update to the channel attribute.
| long io.agora.rtm.RtmChannelAttribute.getLastUpdateTs | ( | ) |
Gets the timestamp of when the channel attribute was last updated.