| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // GADRewardBasedVideoAdDelegate.h
- // Google Mobile Ads SDK
- //
- // Copyright 2015 Google Inc. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "GADAdReward.h"
- /// Delegate for receiving state change messages from a GADRewardBasedVideoAd such as ad requests
- /// succeeding/failing.
- @protocol GADRewardBasedVideoAdDelegate<NSObject>
- @optional
- /// Tells the delegate that the reward based video ad has been received.
- - (void)rewardBasedVideoAdDidReceiveAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd;
- /// Tells the delegate that the reward based video ad is opened.
- - (void)rewardBasedVideoAdDidOpen:(GADRewardBasedVideoAd *)rewardBasedVideoAd;
- /// Tells the delegate that the reward based video ad has started playing.
- - (void)rewardBasedVideoAdDidStartPlaying:(GADRewardBasedVideoAd *)rewardBasedVideoAd;
- /// Tells the delegate that the reward based video ad is closed.
- - (void)rewardBasedVideoAdDidClose:(GADRewardBasedVideoAd *)rewardBasedVideoAd;
- /// Tells the delegate that the reward based video ad will leave the application.
- - (void)rewardBasedVideoAdWillLeaveApplication:(GADRewardBasedVideoAd *)rewardBasedVideoAd;
- /// Tells the delegate that the reward based video ad has rewarded the user.
- - (void)rewardBasedVideoAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd
- didRewardUserWithReward:(GADAdReward *)reward;
- /// Tells the delegate that the reward based video ad has failed to load.
- - (void)rewardBasedVideoAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd
- didFailToLoadwithError:(NSError *)error;
- @end
|