summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-12-30 20:59:04 +0800
committerchai <chaifix@163.com>2020-12-30 20:59:04 +0800
commite9ea621b93fbb58d9edfca8375918791637bbd52 (patch)
tree19ce3b1c1f2d51eda6878c9d0f2c9edc27f13650 /Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs
+init
Diffstat (limited to 'Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs')
-rw-r--r--Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs b/Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs
new file mode 100644
index 0000000..2e4589d
--- /dev/null
+++ b/Client/Assembly-CSharp/GoogleMobileAds/Common/IRewardBasedVideoAdClient.cs
@@ -0,0 +1,36 @@
+using System;
+using GoogleMobileAds.Api;
+
+namespace GoogleMobileAds.Common
+{
+ public interface IRewardBasedVideoAdClient
+ {
+ event EventHandler<EventArgs> OnAdLoaded;
+
+ event EventHandler<AdFailedToLoadEventArgs> OnAdFailedToLoad;
+
+ event EventHandler<EventArgs> OnAdOpening;
+
+ event EventHandler<EventArgs> OnAdStarted;
+
+ event EventHandler<Reward> OnAdRewarded;
+
+ event EventHandler<EventArgs> OnAdClosed;
+
+ event EventHandler<EventArgs> OnAdLeavingApplication;
+
+ event EventHandler<EventArgs> OnAdCompleted;
+
+ void CreateRewardBasedVideoAd();
+
+ void LoadAd(AdRequest request, string adUnitId);
+
+ bool IsLoaded();
+
+ string MediationAdapterClassName();
+
+ void ShowRewardBasedVideoAd();
+
+ void SetUserId(string userId);
+ }
+}