POBBannerViewDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | POBBannerView.h |
Overview
Protocol for interaction with the POBBannerView instance.
All messages are guaranteed to occur on the main thread.
Methods
– bannerViewPresentationController
required method
Asks the delegate for a view controller instance to use for presenting modal views as a result of user interaction on an ad. Usual implementation may simply return self, if it is a view controller class.
- (UIViewController *)bannerViewPresentationController
Declared In
POBBannerView.h
– bannerViewDidReceiveAd:
Notifies the delegate that an ad has been successfully loaded and rendered..
- (void)bannerViewDidReceiveAd:(POBBannerView *)bannerView
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|
Declared In
POBBannerView.h
– bannerView:didFailToReceiveAdWithError:
Notifies the delegate of an error encountered while loading or rendering an ad.
- (void)bannerView:(POBBannerView *)bannerView didFailToReceiveAdWithError:(NSError *)error
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|---|
error |
The error encountered while attempting to receive or render the ad. |
Declared In
POBBannerView.h
– bannerViewWillLeaveApplication:
Notifies the delegate whenever current app goes in the background due to user click.
- (void)bannerViewWillLeaveApplication:(POBBannerView *)bannerView
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|
Declared In
POBBannerView.h
– bannerViewWillPresentModal:
Notifies delegate that the banner view will launch a modal on top of the current view controller, as a result of user interaction.
- (void)bannerViewWillPresentModal:(POBBannerView *)bannerView
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|
Declared In
POBBannerView.h
– bannerViewDidDismissModal:
Notifies delegate that the banner view has dismissed the modal on top of the current view controller.
- (void)bannerViewDidDismissModal:(POBBannerView *)bannerView
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|
Declared In
POBBannerView.h
– bannerViewDidClickAd:
Notifies the delegate that the banner view was clicked.
- (void)bannerViewDidClickAd:(POBBannerView *)bannerView
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|
Declared In
POBBannerView.h
– bannerViewDidRecordImpression:
Notifies the delegate that the banner ad has recorded the impression.
- (void)bannerViewDidRecordImpression:(POBBannerView *)bannerView
Parameters
bannerView |
The POBBannerView instance sending the message. |
---|
Declared In
POBBannerView.h