| Public 成员函数 | |
|---|---|
| RtmChannelAttribute (String key, String value) | |
| void | setKey (String key) |
| String | getKey () |
| void | setValue (String value) |
| String | getValue () |
| String | getLastUpdateUserId () |
| long | getLastUpdateTs () |
| String | toString () |
构造及析构函数说明
RtmChannelAttribute()
org.ar.rtm.RtmChannelAttribute.RtmChannelAttribute (String key,String value )
RtmChannelAttribute 类的构造方法。
| 参数 | 描述 |
|---|---|
| key | 频道属性的属性名。必须为可见字符且长度不得超过 32 字节。 |
| value | 频道属性的属性值。长度不得超过 8 KB。 |
成员函数说明
getKey()
String org.ar.rtm.RtmChannelAttribute.getKey ()
获取频道属性名。
返回
通过 setKey 方法设置的频道属性名。
getLastUpdateTs()
long org.ar.rtm.RtmChannelAttribute.getLastUpdateTs ()
获取频道属性最近一次更新的时间戳。
返回
频道属性最近一次更新的时间戳(毫秒)。
getLastUpdateUserId()
String org.ar.rtm.RtmChannelAttribute.getLastUpdateUserId ()
获取最近一次更新频道属性用户的 ID。
返回
最近一次更新频道属性用户的 ID。
getValue()
String org.ar.rtm.RtmChannelAttribute.getValue()
获取频道属性的属性值。
-
返回
通过 setValue 方法设置的频道属性值。
setKey()
void org.ar.rtm.RtmChannelAttribute.setKey (String key)
设置频道属性名。
| 参数 | 描述 |
|---|---|
| key | 频道属性的属性名。必须为可见字符且长度不得超过 32 字节。 |
setValue()
void org.ar.rtm.RtmChannelAttribute.setValue (String value)
设置频道属性值。
| 参数 | 描述 |
|---|---|
| value | 频道属性的属性值。长度不得超过 8 KB。 |

