Ejemplo n.º 1
0
 void onAdFailedToShowFullScreenContent(AndroidJavaObject error)
 {
     if (this.OnAdFailedToPresentFullScreenContent != null)
     {
         AdErrorClientEventArgs args = new AdErrorClientEventArgs()
         {
             AdErrorClient = new AdErrorClient(error),
         };
         this.OnAdFailedToPresentFullScreenContent(this, args);
     }
 }
Ejemplo n.º 2
0
        void onRewardedAdFailedToShow(AndroidJavaObject error)
        {
            if (this.OnAdFailedToShow != null)
            {
                AdErrorClientEventArgs args = new AdErrorClientEventArgs()
                {
                    AdErrorClient = new AdErrorClient(error)
                };

                this.OnAdFailedToShow(this, args);
            }
        }
 void onAdFailedToShowFullScreenContent(AndroidJavaObject error)
 {
     if (this.OnAdFailedToPresentFullScreenContent != null)
     {
         AdErrorClientEventArgs args = new AdErrorClientEventArgs()
         {
             AdErrorClient = new AdErrorClient(error),
             Message       = error.Call <string>("getMessage")
         };
         this.OnAdFailedToPresentFullScreenContent(this, args);
     }
 }
Ejemplo n.º 4
0
        private static void AdFailedToPresentFullScreenContentCallback(IntPtr rewardedInterstitialAdClient, IntPtr error)
        {
            RewardedInterstitialAdClient client = IntPtrToRewardedInterstitialAdClient(rewardedInterstitialAdClient);

            if (client.OnAdFailedToPresentFullScreenContent != null)
            {
                AdErrorClientEventArgs args = new AdErrorClientEventArgs()
                {
                    AdErrorClient = new AdErrorClient(error)
                };
                client.OnAdFailedToPresentFullScreenContent(client, args);
            }
        }
Ejemplo n.º 5
0
        void onRewardedAdFailedToShow(AndroidJavaObject error)
        {
            if (this.OnAdFailedToShow != null)
            {
                AdErrorClientEventArgs args = new AdErrorClientEventArgs()
                {
                    AdErrorClient = new AdErrorClient(error),
                    Message       = error.Call <string>("getMessage")
                };

                this.OnAdFailedToShow(this, args);
            }
        }
        private static void RewardedAdDidFailToShowAdWithErrorCallback(
            IntPtr rewardedAdClient, IntPtr error)
        {
            RewardedAdClient client = IntPtrToRewardedAdClient(rewardedAdClient);

            if (client.OnAdFailedToShow != null)
            {
                AdErrorClientEventArgs args = new AdErrorClientEventArgs()
                {
                    AdErrorClient = new AdErrorClient(error)
                };
                client.OnAdFailedToShow(client, args);
            }
        }