public abstract class RequestCallback<T> extends BasicCallback
限定符和类型 | 方法和说明 |
---|---|
void |
gotResult(int responseCode,
java.lang.String responseMessage)
异步调用返回结果。
|
void |
gotResult(int responseCode,
java.lang.String responseMessage,
java.lang.Object... results) |
abstract void |
gotResult(int responseCode,
java.lang.String responseMessage,
T result) |
isRunInUIThread
public abstract void gotResult(int responseCode, java.lang.String responseMessage, T result)
public void gotResult(int responseCode, java.lang.String responseMessage)
BasicCallback
gotResult
在类中 BasicCallback
responseCode
- 0 表示正常。大于 0 表示异常,responseMessage 会有进一步的异常信息。responseMessage
- 一般异常时会有进一步的信息提示。public void gotResult(int responseCode, java.lang.String responseMessage, java.lang.Object... results)
gotResult
在类中 BasicCallback