public IIPSMobileVersionCallBack(IIPSMobileVersionCallBackInterface imp) { this.pManagedObject = GCHandle.ToIntPtr(GCHandle.Alloc(imp, 2)); this.versionFunc = new IIPSMobileVersionCallBack.OnGetNewVersionInfoFunc(IIPSMobileVersionCallBack.OnGetNewVersionInfo); this.progressFunc = new IIPSMobileVersionCallBack.OnProgressFunc(IIPSMobileVersionCallBack.OnProgress); this.errFunc = new IIPSMobileVersionCallBack.OnErrorFunc(IIPSMobileVersionCallBack.OnError); this.succFUnc = new IIPSMobileVersionCallBack.OnSuccessFunc(IIPSMobileVersionCallBack.OnSuccess); this.saveFUnc = new IIPSMobileVersionCallBack.SaveConfigFunc(IIPSMobileVersionCallBack.SaveConfig); this.installApk = new IIPSMobileVersionCallBack.OnNoticeInstallApkFunc(IIPSMobileVersionCallBack.OnNoticeInstallApk); this.actionMsg = new IIPSMobileVersionCallBack.OnActionMsgFunc(IIPSMobileVersionCallBack.OnActionMsg); }
private static extern IntPtr CreateVersionInfoCallBack(IIPSMobileVersionCallBack.OnGetNewVersionInfoFunc onGetNewVersionInfoFunc, IIPSMobileVersionCallBack.OnProgressFunc onProgressFunc, IIPSMobileVersionCallBack.OnErrorFunc onErrorFunc, IIPSMobileVersionCallBack.OnSuccessFunc onSuccessFunc, IIPSMobileVersionCallBack.SaveConfigFunc saveConfigFunc, IIPSMobileVersionCallBack.OnNoticeInstallApkFunc noticeInstallApk, IIPSMobileVersionCallBack.OnActionMsgFunc msg, IntPtr callback);