|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tencent.mm.sdk.modelbase.BaseResp
com.tencent.mm.sdk.modelmsg.SendAuth.Resp
public static class SendAuth.Resp
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tencent.mm.sdk.modelbase.BaseResp |
---|
BaseResp.ErrCode |
Field Summary | |
---|---|
java.lang.String |
code
code for authorization. |
java.lang.String |
state
Used to indentify applications; returned by WeChat after authentication. |
java.lang.String |
url
|
Fields inherited from class com.tencent.mm.sdk.modelbase.BaseResp |
---|
errCode, errStr, openId, transaction |
Constructor Summary | |
---|---|
SendAuth.Resp()
Build an empty response
构造空响应 |
|
SendAuth.Resp(Bundle data)
Generate response object from Bundle data
从Bundle数据生成响应对象 |
Method Summary | |
---|---|
boolean |
checkArgs()
Check parameters of this response
检查该响应各个参数的合法性 |
void |
fromBundle(Bundle data)
Deserialize response data in Bundle
从Bundle中反序列化响应数据 |
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 java.lang.String code
public java.lang.String state
SendAuth.Req
NOTE: 1KB at most SendAuth.Req
注意:限制长度不超过1KB
public java.lang.String url
Constructor Detail |
---|
public SendAuth.Resp()
public SendAuth.Resp(Bundle data)
data
- Method Detail |
---|
public int getType()
BaseResp
getType
in class BaseResp
public void fromBundle(Bundle data)
BaseResp
fromBundle
in class BaseResp
data
- public void toBundle(Bundle data)
BaseResp
toBundle
in class BaseResp
data
- public boolean checkArgs()
BaseResp
checkArgs
in class BaseResp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |