ThirdPartyAdapters/fyber/fyber/src/main/java/com/google/ads/mediation/fyber/FyberMediationAdapter.java
/**
   * When an ad is fetched successfully, creates a listener for Fyber's AdView events.
   *
   * @return the create events listener.
   */
When an ad is fetched successfully, creates a listener for Fyber's AdView events.
@return the create events listener.
When an ad is fetched successfully creates a listener for Fyber ' s AdView events . @return the create events listener .
@NonNull
  private InneractiveAdViewEventsListener createFyberAdViewListener() {
    InneractiveAdViewUnitController controller =
        (InneractiveAdViewUnitController) mBannerSpot.getSelectedUnitController();
    controller.bindView(mBannerWrapperView);
    return new InneractiveAdViewEventsListenerAdapter() {
      @Override
      public void onAdImpression(InneractiveAdSpot adSpot) {
      }
      @Override
      public void onAdClicked(InneractiveAdSpot adSpot) {
        mMediationBannerListener.onAdClicked(FyberMediationAdapter.this);
        mMediationBannerListener.onAdOpened(FyberMediationAdapter.this);
      }
      @Override
      public void onAdWillCloseInternalBrowser(InneractiveAdSpot adSpot) {
        mMediationBannerListener.onAdClosed(FyberMediationAdapter.this);
      }
      @Override
      public void onAdWillOpenExternalApp(InneractiveAdSpot adSpot) {
        mMediationBannerListener.onAdLeftApplication(FyberMediationAdapter.this);
      }
    };
  }
@ NonNull private InneractiveAdViewEventsListener createFyberAdViewListener ( ) { InneractiveAdViewUnitController controller = ( InneractiveAdViewUnitController ) mBannerSpot . getSelectedUnitController ( ) ; controller . bindView ( mBannerWrapperView ) ; return new InneractiveAdViewEventsListenerAdapter ( ) { @ Override public void onAdImpression ( InneractiveAdSpot adSpot ) { } @ Override public void onAdClicked ( InneractiveAdSpot adSpot ) { mMediationBannerListener . onAdClicked ( FyberMediationAdapter . this ) ; mMediationBannerListener . onAdOpened ( FyberMediationAdapter . this ) ; } @ Override public void onAdWillCloseInternalBrowser ( InneractiveAdSpot adSpot ) { mMediationBannerListener . onAdClosed ( FyberMediationAdapter . this ) ; } @ Override public void onAdWillOpenExternalApp ( InneractiveAdSpot adSpot ) { mMediationBannerListener . onAdLeftApplication ( FyberMediationAdapter . this ) ; } } ; }
When an ad is fetched successfully, creates a listener for Fyber's AdView events.
When an ad is fetched successfully creates a listener for Fyber ' s AdView events .
// Bind the wrapper view. // Nothing to report back here.