toggle menu
Android-IMLibCore-SDK
5.14.0
io.rong.imlib
switch theme
search in API
Android-IMLibCore-SDK
/
io.rong.imlib.model
/
ConnectOption
Connect
Option
io.rong.imlib
public
class
ConnectOption
Created by yanke on 2021/7/15
Author
yanke
Members
Constructors
Connect
Option
Link copied to clipboard
io.rong.imlib
public
void
ConnectOption
(
Parcel in
)
Properties
connect
Ext
Link copied to clipboard
io.rong.imlib
public
final
Map
<
String
,
String
>
connectExt
Additional connection data obtained from the App server, which will be passed through the SDK -> IM Server -> App server for connection authentication.
CREATOR
Link copied to clipboard
io.rong.imlib
public
final
static
Creator<ConnectOption>
CREATOR
time
Limit
Link copied to clipboard
io.rong.imlib
public
final
int
timeLimit
Connection timeout duration in seconds.
token
Link copied to clipboard
io.rong.imlib
public
final
String
token
The token (user identity token) obtained from the server side
Functions
describe
Contents
Link copied to clipboard
io.rong.imlib
public
int
describeContents
(
)
get
Connect
Ext
Link copied to clipboard
io.rong.imlib
public
Map
<
String
,
String
>
getConnectExt
(
)
get
Time
Limit
Link copied to clipboard
io.rong.imlib
public
int
getTimeLimit
(
)
get
Token
Link copied to clipboard
io.rong.imlib
public
String
getToken
(
)
obtain
Link copied to clipboard
io.rong.imlib
public
static
ConnectOption
obtain
(
String
token
,
int timeLimit
)
public
static
ConnectOption
obtain
(
String
token
,
int timeLimit
,
HashMap
<
String
,
String
>
connectExt
)
write
To
Parcel
Link copied to clipboard
io.rong.imlib
public
void
writeToParcel
(
Parcel dest
,
int flags
)