com.tencent.mm.sdk.modelmsg
Class ShowMessageFromWX.Resp

java.lang.Object
  extended by com.tencent.mm.sdk.modelbase.BaseResp
      extended by com.tencent.mm.sdk.modelmsg.ShowMessageFromWX.Resp
Enclosing class:
ShowMessageFromWX

public static class ShowMessageFromWX.Resp
extends BaseResp

Response class of ShowMessageFromWX, inherited from BaseResp
ShowMessageFromWX响应类,继承自BaseResp


Nested Class Summary
 
Nested classes/interfaces inherited from class com.tencent.mm.sdk.modelbase.BaseResp
BaseResp.ErrCode
 
Field Summary
 
Fields inherited from class com.tencent.mm.sdk.modelbase.BaseResp
errCode, errStr, openId, transaction
 
Constructor Summary
ShowMessageFromWX.Resp()
          
Build an empty response
构造空响应
ShowMessageFromWX.Resp(Bundle data)
          
Generate response object from Bundle data
从Bundle数据生成响应对象
 
Method Summary
 boolean checkArgs()
          
Check parameters of this response
检查该响应各个参数的合法性
 int getType()
          
Return type ID of the current response.
 
Methods inherited from class com.tencent.mm.sdk.modelbase.BaseResp
fromBundle, toBundle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowMessageFromWX.Resp

public ShowMessageFromWX.Resp()
Build an empty response
构造空响应


ShowMessageFromWX.Resp

public ShowMessageFromWX.Resp(Bundle data)
Generate response object from Bundle data
从Bundle数据生成响应对象

Parameters:
data -
Source Bundle that contains response data
包含响应数据的源Bundle
Method Detail

getType

public int getType()
Description copied from class: BaseResp
Return type ID of the current response. See ConstantsAPI
返回当前响应的类型ID,参考 ConstantsAPI

Specified by:
getType in class BaseResp
Returns:
type of current request instance

checkArgs

public boolean checkArgs()
Description copied from class: BaseResp
Check parameters of this response
检查该响应各个参数的合法性

Specified by:
checkArgs in class BaseResp
Returns:
Returns True if all parameters are valid.
如果参数均合法,返回true