예제 #1
0
 protected void adClicked() {
   if (mBannerAdListener != null) {
     mBannerAdListener.onBannerClicked(this);
   } else if (mOnAdClickedListener != null) {
     mOnAdClickedListener.OnAdClicked(this);
   }
 }
예제 #2
0
 protected void adFailed(MoPubErrorCode errorCode) {
   if (mBannerAdListener != null) {
     mBannerAdListener.onBannerFailed(this, errorCode);
   } else if (mOnAdFailedListener != null) {
     mOnAdFailedListener.OnAdFailed(this);
   }
 }
예제 #3
0
 protected void adPresentedOverlay() {
   if (mBannerAdListener != null) {
     mBannerAdListener.onBannerExpanded(this);
   } else if (mOnAdPresentedOverlayListener != null) {
     mOnAdPresentedOverlayListener.OnAdPresentedOverlay(this);
   }
 }
예제 #4
0
  protected void adLoaded() {
    MoPubLog.d("adLoaded");

    if (mBannerAdListener != null) {
      mBannerAdListener.onBannerLoaded(this);
    } else if (mOnAdLoadedListener != null) {
      mOnAdLoadedListener.OnAdLoaded(this);
    }
  }