Exemplo n.º 1
0
 private void ReleaseAdsLoader()
 {
     if (imaAdsLoader != null)
     {
         imaAdsLoader.Release();
         imaAdsLoader   = null;
         loadedAdTagUri = null;
         simpleExoPlayerView.OverlayFrameLayout.RemoveAllViews();
     }
 }
Exemplo n.º 2
0
 private void ReleaseAdsLoader()
 {
     try
     {
         if (ImaAdsLoader != null)
         {
             ImaAdsLoader.Release();
             ImaAdsLoader = null !;
             SimpleExoPlayerView.OverlayFrameLayout.RemoveAllViews();
         }
     }
     catch (Exception exception)
     {
         Methods.DisplayReportResultTrack(exception);
     }
 }
Exemplo n.º 3
0
 private void ReleaseAdsLoader()
 {
     try
     {
         if (ImaAdsLoader != null)
         {
             ImaAdsLoader.Release();
             ImaAdsLoader = null;
             SimpleExoPlayerView.OverlayFrameLayout.RemoveAllViews();
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
Exemplo n.º 4
0
 public void ReleaseAdsLoader()
 {
     try
     {
         if (ImaAdsLoader != null)
         {
             ImaAdsLoader.Release();
             ImaAdsLoader = null;
             simpleExoPlayerView.OverlayFrameLayout.RemoveAllViews();
         }
     }
     catch (Exception exception)
     {
         Crashes.TrackError(exception);
     }
 }