Пример #1
0
 /// <summary>
 /// Faileds the with error data.
 /// </summary>
 /// <param name="loader">Loader.</param>
 /// <param name="adErrorData">Ad error data.</param>
 public override void FailedWithErrorData(IMAAdsLoader loader, IMAAdLoadingErrorData adErrorData)
 {
     if (weakSelf == null)
     {
         return;
     }
     System.Diagnostics.Debug.WriteLine(adErrorData.AdError.Message);
     weakSelf.ContentPlayer?.Play();
 }
Пример #2
0
 public void FailedWithErrorData(IMAAdsLoader loader, IMAAdLoadingErrorData adErrorData)
 {
     Console.WriteLine("Error loading ads: " + adErrorData.AdError.Message);
     ShowContentPlayer();
     aVPlayerViewController.Player?.Play();
 }
Пример #3
0
        public void FailedWithErrorData(IMAAdsLoader adsLoader, IMAAdLoadingErrorData adErrorData)
        {
            System.Diagnostics.Debug.WriteLine($"Ad loading error {adErrorData.AdError.Message}");

            VideoPlayerController?.Play();
        }