FBNativeAdDelegate
有此級別的更新版本。前往查看 最新版本。

The methods declared by the FBNativeAdDelegate protocol allow the adopting delegate to respond to messages from the FBNativeAd class and thus respond to operations such as whether the native ad has been loaded.

Extends Protocol:NSObject
Declared in:FBNativeAd.h
執行個體方法
nativeAd:didFailWithError:

Sent when an FBNativeAd is failed to load.

參數說明
nativeAd

An FBNativeAd object sending the message.

error

An error object containing details of the error.

- (void)
nativeAd: (FBNativeAd *)nativeAd
didFailWithError: (NSError *)error;
宣告於: FBNativeAd.h
nativeAdDidClick:

Sent after an ad has been clicked by the person.

參數說明
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdDidClick:(FBNativeAd *)nativeAd;
宣告於: FBNativeAd.h
nativeAdDidFinishHandlingClick:

When an ad is clicked, the modal view will be presented. And when the user finishes the interaction with the modal view and dismiss it, this message will be sent, returning control to the application.

參數說明
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdDidFinishHandlingClick:(FBNativeAd *)nativeAd;
宣告於: FBNativeAd.h
nativeAdDidLoad:

Sent when an FBNativeAd has been successfully loaded.

參數說明
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdDidLoad:(FBNativeAd *)nativeAd;
宣告於: FBNativeAd.h
nativeAdWillLogImpression:

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

參數說明
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdWillLogImpression:(FBNativeAd *)nativeAd;
宣告於: FBNativeAd.h