FBInterstitialAdDelegate

The methods declared by the FBInterstitialAdDelegate protocol allow the adopting delegate to respond to messages from the FBInterstitialAd class and thus respond to operations such as whether the interstitial ad has been loaded, user has clicked or closed the interstitial.

Extends Protocol:NSObject
Declared in:FBInterstitialAd.h
实例方法
interstitialAd:didFailWithError:

Sent when an FBInterstitialAd failes to load an ad.

参数描述
interstitialAd

An FBInterstitialAd object sending the message.

error

An error object containing details of the error.

- (void)
interstitialAd: (FBInterstitialAd *)interstitialAd
didFailWithError: (NSError *)error;
声明语言: FBInterstitialAd.h
interstitialAdDidClick:

Sent after an ad in the FBInterstitialAd object is clicked. The appropriate app store view or app browser will be launched.

参数描述
interstitialAd

An FBInterstitialAd object sending the message.

- (void) interstitialAdDidClick:(FBInterstitialAd *)interstitialAd;
声明语言: FBInterstitialAd.h
interstitialAdDidClose:

Sent after an FBInterstitialAd object has been dismissed from the screen, returning control to your application.

参数描述
interstitialAd

An FBInterstitialAd object sending the message.

- (void) interstitialAdDidClose:(FBInterstitialAd *)interstitialAd;
声明语言: FBInterstitialAd.h
interstitialAdDidLoad:

Sent when an FBInterstitialAd successfully loads an ad.

参数描述
interstitialAd

An FBInterstitialAd object sending the message.

- (void) interstitialAdDidLoad:(FBInterstitialAd *)interstitialAd;
声明语言: FBInterstitialAd.h
interstitialAdWillClose:

Sent immediately before an FBInterstitialAd object will be dismissed from the screen.

参数描述
interstitialAd

An FBInterstitialAd object sending the message.

- (void) interstitialAdWillClose:(FBInterstitialAd *)interstitialAd;
声明语言: FBInterstitialAd.h
interstitialAdWillLogImpression:

Sent immediately before the impression of an FBInterstitialAd object will be logged.

参数描述
interstitialAd

An FBInterstitialAd object sending the message.

- (void) interstitialAdWillLogImpression:(FBInterstitialAd *)interstitialAd;
声明语言: FBInterstitialAd.h