package com.mbridge.msdk.newinterstitial.a; import com.mbridge.msdk.foundation.same.report.d.c; import com.mbridge.msdk.newinterstitial.out.NewInterstitialListener; import com.mbridge.msdk.out.MBridgeIds; import com.mbridge.msdk.out.RewardInfo; import com.mbridge.msdk.videocommon.listener.InterVideoOutListener; /* loaded from: classes4.dex */ public final class a implements InterVideoOutListener { private NewInterstitialListener a; private String b; private boolean c; public a(NewInterstitialListener newInterstitialListener) { this.a = newInterstitialListener; } public a(NewInterstitialListener newInterstitialListener, String str, boolean z) { this.a = newInterstitialListener; this.b = str; this.c = z; } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onAdShow(MBridgeIds mBridgeIds) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onAdShow(mBridgeIds); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onAdClose(MBridgeIds mBridgeIds, RewardInfo rewardInfo) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onAdClose(mBridgeIds, rewardInfo); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onShowFail(c cVar, MBridgeIds mBridgeIds, String str) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onShowFail(mBridgeIds, str); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onVideoAdClicked(boolean z, MBridgeIds mBridgeIds) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onAdClicked(mBridgeIds); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onVideoComplete(MBridgeIds mBridgeIds) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onVideoComplete(mBridgeIds); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onAdCloseWithIVReward(MBridgeIds mBridgeIds, RewardInfo rewardInfo) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onAdCloseWithNIReward(mBridgeIds, rewardInfo); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onEndcardShow(MBridgeIds mBridgeIds) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onEndcardShow(mBridgeIds); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onVideoLoadFail(MBridgeIds mBridgeIds, String str) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onResourceLoadFail(mBridgeIds, str); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onVideoLoadSuccess(MBridgeIds mBridgeIds) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onResourceLoadSuccess(mBridgeIds); } } @Override // com.mbridge.msdk.videocommon.listener.InterVideoOutListener public final void onLoadSuccess(MBridgeIds mBridgeIds) { NewInterstitialListener newInterstitialListener = this.a; if (newInterstitialListener != null) { newInterstitialListener.onLoadCampaignSuccess(mBridgeIds); } } }