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