private static void interstitialDismissCallback(IntPtr interstitialHandlePtr) { GCHandle interstitialHandle = (GCHandle)interstitialHandlePtr; AMRInterstitialViewDelegate delegateObject = interstitialHandle.Target as AMRInterstitialViewDelegate; delegateObject.didDismissInterstitial(); }
void onAdClosed(string message) { delegateObj.didDismissInterstitial(); }