AsyncResult

public class AsyncResult<T>

异步执行完成后的最终结果,只读不可更改

Types

Link copied to clipboard
public class TemporaryResult<T>

Properties

Link copied to clipboard
public final T data
Link copied to clipboard
public final RTCErrorCode errorCode

Functions

Link copied to clipboard
public static AsyncResult convert(AsyncResult res)
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)
Link copied to clipboard
Link copied to clipboard
public T getData()
Link copied to clipboard
public RTCErrorCode getErrorCode()
Link copied to clipboard
public boolean isFailed()