ALAdViewEventDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ALAdViewEventDelegate.h |
– ad:didPresentFullscreenForAdView:
This method is invoked after the ad view presents fullscreen content.
- (void)ad:(ALAd *)ad didPresentFullscreenForAdView:(ALAdView *)adView
Parameters
ad |
Ad that the ad view presented fullscreen content for. |
---|---|
adView |
Ad view that presented fullscreen content. |
Discussion
This method is invoked after the ad view presents fullscreen content.
This method is invoked on the main UI thread.
Declared In
ALAdViewEventDelegate.h
– ad:willDismissFullscreenForAdView:
This method is invoked before the fullscreen content is dismissed.
- (void)ad:(ALAd *)ad willDismissFullscreenForAdView:(ALAdView *)adView
Parameters
ad |
Ad for which the fullscreen content is to be dismissed for. |
---|---|
adView |
Ad view for which the fullscreen content it presented will be dismissed for. |
Discussion
This method is invoked before the fullscreen content is dismissed.
This method is invoked on the main UI thread.
Declared In
ALAdViewEventDelegate.h
– ad:didDismissFullscreenForAdView:
This method is invoked after the fullscreen content is dismissed.
- (void)ad:(ALAd *)ad didDismissFullscreenForAdView:(ALAdView *)adView
Parameters
ad |
Ad for which the fullscreen content is dismissed for. |
---|---|
adView |
Ad view for which the fullscreen content it presented is dismissed for. |
Discussion
This method is invoked after the fullscreen content is dismissed.
This method is invoked on the main UI thread.
Declared In
ALAdViewEventDelegate.h
– ad:willLeaveApplicationForAdView:
This method is invoked before the user is taken out of the application after a click.
- (void)ad:(ALAd *)ad willLeaveApplicationForAdView:(ALAdView *)adView
Parameters
ad |
Ad for which the user will be taken out of the application for. |
---|---|
adView |
Ad view containing the ad for which the user will be taken out of the application for. |
Discussion
This method is invoked before the user is taken out of the application after a click.
This method is invoked on the main UI thread.
Declared In
ALAdViewEventDelegate.h
– ad:didReturnToApplicationForAdView:
This method is invoked after the user returns to the application after a click.
- (void)ad:(ALAd *)ad didReturnToApplicationForAdView:(ALAdView *)adView
Parameters
ad |
Ad for which the user will return to the application for. |
---|---|
adView |
Ad view containing the ad for which the user will return to the application for. |
Discussion
This method is invoked after the user returns to the application after a click.
This method is invoked on the main UI thread.
Declared In
ALAdViewEventDelegate.h
– ad:didFailToDisplayInAdView:withError:
This method is invoked if the ad view fails to display an ad.
- (void)ad:(ALAd *)ad didFailToDisplayInAdView:(ALAdView *)adView withError:(ALAdViewDisplayErrorCode)code
Parameters
ad |
Ad for which the ad view failed to display for. |
---|---|
adView |
Ad view which failed to display the ad. |
code |
Error code specifying the reason why the ad view failed to display ad. |
Discussion
This method is invoked if the ad view fails to display an ad.
This method is invoked on the main UI thread.
Declared In
ALAdViewEventDelegate.h