private static void InterstitialDidFailToReceiveAdWithErrorCallback( IntPtr interstitialClient, string error) { InterstitialClient client = IntPtrToInterstitialClient(interstitialClient); AdFailedToLoadEventArgs args = new AdFailedToLoadEventArgs() { Message = error }; client.OnAdFailedToLoad(client, args); }
private static void InterstitialFailedToLoadCallback( IntPtr interstitialClient, IntPtr error) { InterstitialClient client = IntPtrToInterstitialClient(interstitialClient); if (client.OnAdFailedToLoad != null) { LoadAdErrorClientEventArgs args = new LoadAdErrorClientEventArgs() { LoadAdErrorClient = new LoadAdErrorClient(error) }; client.OnAdFailedToLoad(client, args); } }
private static void InterstitialDidFailToReceiveAdWithErrorCallback( IntPtr interstitialClient, IntPtr error) { InterstitialClient client = IntPtrToInterstitialClient(interstitialClient); if (client.OnAdFailedToLoad != null) { LoadAdErrorClientEventArgs args = new LoadAdErrorClientEventArgs() { LoadAdErrorClient = new LoadAdErrorClient(error), Message = Externs.GADUGetAdErrorMessage(error) }; client.OnAdFailedToLoad(client, args); } }