hyphenate_SDK4.0 5.0.0
hyphenate java IM SDK
 
Loading...
Searching...
No Matches
com.hyphenate.chat.EMRTCTokenInfo Class Reference

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 ()
 

Detailed Description

The EMRTCTokenInfo class is used to store RTC Token information, including the user's Agora uid, the Token string, and the expiration timestamp.

Constructor & Destructor Documentation

◆ EMRTCTokenInfo()

com.hyphenate.chat.EMRTCTokenInfo.EMRTCTokenInfo ( String rtcToken,
long expireTimeStamp,
int uid )

Constructor

Member Function Documentation

◆ getExpireTimeStamp()

long com.hyphenate.chat.EMRTCTokenInfo.getExpireTimeStamp ( )

Get expiration timestamp

◆ getRtcToken()

String com.hyphenate.chat.EMRTCTokenInfo.getRtcToken ( )

Get Token string

◆ getUid()

int com.hyphenate.chat.EMRTCTokenInfo.getUid ( )

Get user Agora uid

◆ setExpireTimeStamp()

void com.hyphenate.chat.EMRTCTokenInfo.setExpireTimeStamp ( long expireTimeStamp)

Set expiration timestamp

◆ setRtcToken()

void com.hyphenate.chat.EMRTCTokenInfo.setRtcToken ( String rtcToken)

Set Token string

◆ setUid()

void com.hyphenate.chat.EMRTCTokenInfo.setUid ( int uid)

Set user Agora uid

◆ toString()

String com.hyphenate.chat.EMRTCTokenInfo.toString ( )

toString method


The documentation for this class was generated from the following file: