コード例 #1
0
 @Override
 public void onLeaveApplication(LVDOAd lvdoAd) {
   Clog.d(Clog.mediationLogTag, className + " leaving application");
   if (mAV != null) {
     mAV.onAdClicked();
   }
 }
コード例 #2
0
  @Override
  public void onFailedToReceiveAd(LVDOAd lvdoAd, LVDOAdRequest.LVDOErrorCode lvdoErrorCode) {
    if (mAV != null) {
      ResultCode errorCode = ResultCode.INTERNAL_ERROR;

      switch (lvdoErrorCode) {
        case INVALID_REQUEST:
          errorCode = ResultCode.INVALID_REQUEST;
          break;
        case NO_FILL:
          errorCode = ResultCode.UNABLE_TO_FILL;
          break;
        case NETWORK_ERROR:
          errorCode = ResultCode.NETWORK_ERROR;
          break;
        case INTERNAL_ERROR:
          errorCode = ResultCode.INTERNAL_ERROR;
          break;
      }

      mAV.onAdFailed(errorCode);
    }
  }
コード例 #3
0
 @Override
 public void onDismissScreen(LVDOAd lvdoAd) {
   if (mAV != null) {
     mAV.onAdCollapsed();
   }
 }
コード例 #4
0
 @Override
 public void onReceiveAd(LVDOAd lvdoAd) {
   if (mAV != null) {
     mAV.onAdLoaded();
   }
 }