GADAppEventDelegate.h 756 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // GADAppEventDelegate.h
  3. // Google Mobile Ads SDK
  4. //
  5. // Copyright 2012 Google Inc. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @class GADBannerView;
  9. @class GADInterstitial;
  10. /// Implement your app event within these methods. The delegate will be notified when the SDK
  11. /// receives an app event message from the ad.
  12. @protocol GADAppEventDelegate<NSObject>
  13. @optional
  14. /// Called when the banner receives an app event.
  15. - (void)adView:(GADBannerView *)banner
  16. didReceiveAppEvent:(NSString *)name
  17. withInfo:(NSString *)info;
  18. /// Called when the interstitial receives an app event.
  19. - (void)interstitial:(GADInterstitial *)interstitial
  20. didReceiveAppEvent:(NSString *)name
  21. withInfo:(NSString *)info;
  22. @end