工作空间 v3.7.4.6版本的 MD5 值为:94c1c0052e9f2e949ae1349e6caf437b
以下内容为反编译后的 SdpExtendInfoPlugin.java 源代码,内容仅作参考
package com.uusafe.mbs.sdk.plugin.sdp.extend.module;
import com.uusafe.login.plugin.api.IExtendInfoPlugin;
import com.uusafe.login.plugin.api.bean.BaseParams;
import com.uusafe.login.plugin.api.bean.ExtendInfoParams;
import com.uusafe.login.plugin.api.bean.ExtendInfoPluginEvent;
import com.uusafe.login.plugin.api.event.ExtendCommandEvent;
import com.uusafe.login.plugin.api.listener.IExtendInfoCommandCallBack;
import com.uusafe.utils.common.ZZLog;
import com.zhizhangyi.platform.mbsframe.MbsPlugin;
public class SdpExtendInfoPlugin extends MbsPlugin implements IExtendInfoPlugin {
public static final String TAG = "SdpExtendInfoPlugin";
@Override
public boolean onCommand(ExtendInfoParams extendInfoParams, IExtendInfoCommandCallBack iExtendInfoCommandCallBack) {
if (extendInfoParams.getEvent() == ExtendCommandEvent.GetSdpInfo) {
ZZLog.e(TAG, "onCommand event=" + extendInfoParams.getEvent(), new Object[0]);
ExtendInfoPluginEvent extendInfoPluginEvent = new ExtendInfoPluginEvent();
BaseParams baseParams = new BaseParams();
baseParams.setObject("1.3.2.13");
extendInfoPluginEvent.setObject(baseParams);
iExtendInfoCommandCallBack.onCallback(extendInfoPluginEvent);
return true;
}
return false;
}
}