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