commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADAppEventDelegate.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2020 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <Foundation/Foundation.h> |
|
9 |
|
|
10 |
@class GADBannerView; |
|
11 |
@class GADInterstitialAd; |
|
12 |
|
|
13 |
/// Implement your app event within these methods. The delegate will be notified when the SDK |
|
14 |
/// receives an app event message from the ad. |
|
15 |
@protocol GADAppEventDelegate <NSObject> |
|
16 |
|
|
17 |
@optional |
|
18 |
|
|
19 |
/// Called when the banner receives an app event. |
|
20 |
- (void)adView:(nonnull GADBannerView *)banner |
|
21 |
didReceiveAppEvent:(nonnull NSString *)name |
|
22 |
withInfo:(nullable NSString *)info; |
|
23 |
|
|
24 |
/// Called when the interstitial receives an app event. |
|
25 |
- (void)interstitialAd:(nonnull GADInterstitialAd *)interstitialAd |
|
26 |
didReceiveAppEvent:(nonnull NSString *)name |
|
27 |
withInfo:(nullable NSString *)info; |
|
28 |
|
|
29 |
@end |