Public Member Functions | |
| 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 () |
The EMRTCTokenInfo class is used to store RTC Token information, including the user's Agora uid, the Token string, and the expiration timestamp.
| com.hyphenate.chat.EMRTCTokenInfo.EMRTCTokenInfo | ( | String | rtcToken, |
| long | expireTimeStamp, | ||
| int | uid ) |
Constructor
| long com.hyphenate.chat.EMRTCTokenInfo.getExpireTimeStamp | ( | ) |
Get expiration timestamp
| String com.hyphenate.chat.EMRTCTokenInfo.getRtcToken | ( | ) |
Get Token string
| int com.hyphenate.chat.EMRTCTokenInfo.getUid | ( | ) |
Get user Agora uid
| void com.hyphenate.chat.EMRTCTokenInfo.setExpireTimeStamp | ( | long | expireTimeStamp | ) |
Set expiration timestamp
| void com.hyphenate.chat.EMRTCTokenInfo.setRtcToken | ( | String | rtcToken | ) |
Set Token string
| void com.hyphenate.chat.EMRTCTokenInfo.setUid | ( | int | uid | ) |
Set user Agora uid
| String com.hyphenate.chat.EMRTCTokenInfo.toString | ( | ) |
toString method