ALAdDisplayDelegate Protocol Reference

Conforms to NSObject
Declared in ALAdDisplayDelegate.h

Overview

This protocol defines a listener for ad display events.

– ad:wasDisplayedIn: required method

This method is invoked when the ad is displayed in the view.

- (void)ad:(ALAd *)ad wasDisplayedIn:(UIView *)view

Parameters

ad

Ad that was just displayed. Will not be nil.

view

Ad view in which the ad was displayed. Will not be nil.

Discussion

This method is invoked when the ad is displayed in the view.

This method is invoked on the main UI thread.

Declared In

ALAdDisplayDelegate.h

– ad:wasHiddenIn: required method

This method is invoked when the ad is hidden from in the view. This occurs when the user “X’s” out of an interstitial.

- (void)ad:(ALAd *)ad wasHiddenIn:(UIView *)view

Parameters

ad

Ad that was just hidden. Will not be nil.

view

Ad view in which the ad was hidden. Will not be nil.

Discussion

This method is invoked when the ad is hidden from in the view. This occurs when the user “X’s” out of an interstitial.

This method is invoked on the main UI thread.

Declared In

ALAdDisplayDelegate.h

– ad:wasClickedIn: required method

This method is invoked when the ad is clicked from in the view.

- (void)ad:(ALAd *)ad wasClickedIn:(UIView *)view

Parameters

ad

Ad that was just clicked. Will not be nil.

view

Ad view in which the ad was hidden. Will not be nil.

Discussion

This method is invoked when the ad is clicked from in the view.

This method is invoked on the main UI thread.

Declared In

ALAdDisplayDelegate.h