本文整理汇总了Java中com.tencent.mm.sdk.openapi.BaseReq类的典型用法代码示例。如果您正苦于以下问题:Java BaseReq类的具体用法?Java BaseReq怎么用?Java BaseReq使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BaseReq类属于com.tencent.mm.sdk.openapi包,在下文中一共展示了BaseReq类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq req) {
Log.i(TAG, "onReq:"+req+",req.getType()="+req.getType());
switch (req.getType()) {
case ConstantsAPI.COMMAND_GETMESSAGE_FROM_WX:
break;
case ConstantsAPI.COMMAND_SHOWMESSAGE_FROM_WX:
break;
default:
break;
}
}
示例2: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq baseReq) {
switch (baseReq.getType()) {
case ConstantsAPI.COMMAND_GETMESSAGE_FROM_WX:
break;
case ConstantsAPI.COMMAND_SHOWMESSAGE_FROM_WX:
break;
default:
break;
}
}
示例3: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq req) {
switch (req.getType()) {
case ConstantsAPI.COMMAND_GETMESSAGE_FROM_WX:
goToGetMsg();
break;
case ConstantsAPI.COMMAND_SHOWMESSAGE_FROM_WX:
goToShowMsg((ShowMessageFromWX.Req) req);
break;
default:
break;
}
}
示例4: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq req) {
switch (req.getType()) {
case ConstantsAPI.COMMAND_GETMESSAGE_FROM_WX:
goToGetMsg();
break;
case ConstantsAPI.COMMAND_SHOWMESSAGE_FROM_WX:
goToShowMsg((ShowMessageFromWX.Req) req);
break;
default:
break;
}
}
示例5: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq req) {
switch (req.getType()) {
case ConstantsAPI.COMMAND_GETMESSAGE_FROM_WX:
// TODO;
break;
case ConstantsAPI.COMMAND_SHOWMESSAGE_FROM_WX:
// TODO:
break;
default:
break;
}
}
示例6: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq baseReq) {
finish();
}
示例7: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq req) {
LogUtils.e("%s: onReq: type=%s, transaction=%s.", TAG, req.getType(), req.transaction);
}
示例8: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq baseReq) {
//nothing
}
示例9: onReq
import com.tencent.mm.sdk.openapi.BaseReq; //导入依赖的package包/类
@Override
public void onReq(BaseReq resp) {
finish();
}