public override bool isReadyVideoRewarded() { statusVideoRewarded = Appodeal.isLoaded(Appodeal.REWARDED_VIDEO) ? StatusVideoRewarded.Loaded : StatusVideoRewarded.FailedToLoad; if (statusVideoRewarded != StatusVideoRewarded.Loaded) { Appodeal.cache(Appodeal.REWARDED_VIDEO); } LogDebug("Ads - Appodeal - VideoRewarded Request - " + (statusVideoRewarded == StatusVideoRewarded.Loaded ? "YES" : "NO")); Analytic.EventProperties("Ads", "Appodeal VideoRewarded Request", statusVideoRewarded == StatusVideoRewarded.Loaded ? "YES" : "NO"); return(statusVideoRewarded == StatusVideoRewarded.Loaded); }
public void onRewardedVideoFinished(double amount, string name) { LogDebug($"Ads - Appodeal - RewardedVideo finished (amount: {amount}, name: {name})"); statusVideoRewarded = StatusVideoRewarded.Finished; }
public void onRewardedVideoClosed(bool finished) { LogDebug($"Ads - Appodeal - RewardedVideo closed (finished: {finished})"); statusVideoRewarded = StatusVideoRewarded.Closed; }
public void onRewardedVideoShown() { LogDebug("Ads - Appodeal - RewardedVideo shown"); statusVideoRewarded = StatusVideoRewarded.Shown; }