public static void OnError(System.IntPtr callback, VERSIONSTAGE curVersionStage, System.UInt32 errorCode) { { GCHandle handle = GCHandle.FromIntPtr(callback); mImpCB = (IIPSMobileVersionCallBackInterface)handle.Target; mImpCB.OnError(curVersionStage, errorCode); } }
public static void OnProgress(System.IntPtr callback, VERSIONSTAGE curVersionStage, System.UInt64 totalSize, System.UInt64 nowSize) { { GCHandle handle = GCHandle.FromIntPtr(callback); mImpCB = (IIPSMobileVersionCallBackInterface)handle.Target; mImpCB.OnProgress(curVersionStage, totalSize, nowSize); } }
public static void OnProgress(IntPtr callback, VERSIONSTAGE curVersionStage, ulong totalSize, ulong nowSize) { mImpCB = (IIPSMobileVersionCallBackInterface)GCHandle.FromIntPtr(callback).Target; mImpCB.OnProgress(curVersionStage, totalSize, nowSize); }
public static void OnError(IntPtr callback, VERSIONSTAGE curVersionStage, uint errorCode) { mImpCB = (IIPSMobileVersionCallBackInterface)GCHandle.FromIntPtr(callback).Target; mImpCB.OnError(curVersionStage, errorCode); }