toggle menu
Android-RTCLib-SDK
5.6.9
cn.rongcloud.rtc
switch theme
search in API
Android-RTCLib-SDK
/
cn.rongcloud.rtc.base
/
AsyncResult
Async
Result
public
class
AsyncResult
<
T
>
异步执行完成后的最终结果,只读不可更改
Members
Types
Temporary
Result
Link copied to clipboard
public
class
TemporaryResult
<
T
>
Properties
data
Link copied to clipboard
public
final
T
data
error
Code
Link copied to clipboard
public
final
RTCErrorCode
errorCode
Functions
convert
Link copied to clipboard
public
static
AsyncResult
convert
(
AsyncResult
res
)
create
Link copied to clipboard
public
static
AsyncResult.TemporaryResult
<
V
>
create
<
V
>
(
)
public
static
AsyncResult.TemporaryResult
create
(
RTCErrorCode defaultErrorCode
)
public
static
AsyncResult.TemporaryResult
<
V
>
create
<
V
>
(
V
data
)
public
static
AsyncResult.TemporaryResult
<
V
>
create
<
V
>
(
Thread
workThread
)
public
static
AsyncResult.TemporaryResult
<
V
>
create
<
V
>
(
RTCErrorCode defaultErrorCode
,
V
data
)
public
static
AsyncResult.TemporaryResult
create
(
Thread
workThread
,
RTCErrorCode defaultErrorCode
)
public
static
AsyncResult.TemporaryResult
<
V
>
create
<
V
>
(
Thread
workThread
,
V
data
)
create
By
Current
Thread
Link copied to clipboard
public
static
AsyncResult.TemporaryResult
<
V
>
createByCurrentThread
<
V
>
(
)
get
Data
Link copied to clipboard
public
T
getData
(
)
get
Error
Code
Link copied to clipboard
public
RTCErrorCode
getErrorCode
(
)
is
Failed
Link copied to clipboard
public
boolean
isFailed
(
)