Public 成员函数 | |
| EMRTCTokenInfo (String rtcToken, long expireTimeStamp, int uid) | |
| String | getRtcToken () |
| void | setRtcToken (String rtcToken) |
| long | getExpireTimeStamp () |
| void | setExpireTimeStamp (long expireTimeStamp) |
| int | getUid () |
| void | setUid (int uid) |
| String | toString () |
EMRTCTokenInfo 类用于存储 RTC Token 信息。包括用户Agora uid、Token 字符串和过期时间戳。
| com.hyphenate.chat.EMRTCTokenInfo.EMRTCTokenInfo | ( | String | rtcToken, |
| long | expireTimeStamp, | ||
| int | uid ) |
构造函数
| long com.hyphenate.chat.EMRTCTokenInfo.getExpireTimeStamp | ( | ) |
获取过期时间戳
| String com.hyphenate.chat.EMRTCTokenInfo.getRtcToken | ( | ) |
获取 Token 字符串
| int com.hyphenate.chat.EMRTCTokenInfo.getUid | ( | ) |
获取用户 Agora uid
| void com.hyphenate.chat.EMRTCTokenInfo.setExpireTimeStamp | ( | long | expireTimeStamp | ) |
设置过期时间戳
| void com.hyphenate.chat.EMRTCTokenInfo.setRtcToken | ( | String | rtcToken | ) |
设置 Token 字符串
| void com.hyphenate.chat.EMRTCTokenInfo.setUid | ( | int | uid | ) |
设置用户 Agora uid
| String com.hyphenate.chat.EMRTCTokenInfo.toString | ( | ) |
toString 方法