public abstract class BasicCallback
extends java.lang.Object
但如果callback 回去后 App 侧有比较重的任务,可选让 JPush IM SDK Callback 回去时在子线程。
构造器和说明 |
---|
BasicCallback()
Default is running in UI thread.
|
BasicCallback(boolean isRunInUIThread) |
public BasicCallback()
public BasicCallback(boolean isRunInUIThread)
public boolean isRunInUIThread()
public void gotResult(int responseCode, java.lang.String responseMessage, java.lang.Object... result)
public abstract void gotResult(int responseCode, java.lang.String responseMessage)
responseCode
- 0 表示正常。大于 0 表示异常,responseMessage 会有进一步的异常信息。responseMessage
- 一般异常时会有进一步的信息提示。