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
Méthodes d’instance
nativeAd:didFailWithError:

Sent when an FBNativeAd is failed to load.

ParamètreDescription
nativeAd

An FBNativeAd object sending the message.

error

An error object containing details of the error.

- (void)
nativeAd: (FBNativeAd *)nativeAd
didFailWithError: (NSError *)error;
Déclaré dans : FBNativeAd.h
nativeAdDidClick:

Sent after an ad has been clicked by the person.

ParamètreDescription
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdDidClick:(FBNativeAd *)nativeAd;
Déclaré dans : 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.

ParamètreDescription
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdDidFinishHandlingClick:(FBNativeAd *)nativeAd;
Déclaré dans : FBNativeAd.h
nativeAdDidLoad:

Sent when an FBNativeAd has been successfully loaded.

ParamètreDescription
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdDidLoad:(FBNativeAd *)nativeAd;
Déclaré dans : FBNativeAd.h
nativeAdWillLogImpression:

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

ParamètreDescription
nativeAd

An FBNativeAd object sending the message.

- (void) nativeAdWillLogImpression:(FBNativeAd *)nativeAd;
Déclaré dans : FBNativeAd.h