|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tencent.mm.sdk.modelbase.BaseResp
public abstract class BaseResp
Nested Class Summary | |
---|---|
static interface |
BaseResp.ErrCode
Error code for OpenAPI responses
OpenAPI响应错误代码 |
Field Summary | |
---|---|
int |
errCode
Error code. |
java.lang.String |
errStr
Invalid texts
错误文本 |
java.lang.String |
openId
|
java.lang.String |
transaction
Transaction ID corresponding to this request. |
Constructor Summary | |
---|---|
BaseResp()
|
Method Summary | |
---|---|
abstract boolean |
checkArgs()
Check parameters of this response
检查该响应各个参数的合法性 |
void |
fromBundle(Bundle data)
Deserialize response data in Bundle
从Bundle中反序列化响应数据 |
abstract int |
getType()
Return type ID of the current response. |
void |
toBundle(Bundle data)
Serialize responses in Bundle
将响应序列化到Bundle中 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int errCode
public java.lang.String errStr
public java.lang.String transaction
public java.lang.String openId
Constructor Detail |
---|
public BaseResp()
Method Detail |
---|
public abstract int getType()
public void toBundle(Bundle data)
data
- public void fromBundle(Bundle data)
data
- public abstract boolean checkArgs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |