FBNativeAdDelegate Protocol Reference
Conforms to | NSObject |
Declared in | FBNativeAd.h |
Overview
@protocol
@abstract 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.
Instance Methods
nativeAd:didFailWithError:
@method
- (void)nativeAd:(FBNativeAd *)nativeAd didFailWithError:(NSError *)error
Parameters
- nativeAd
An FBNativeAd object sending the message.
- error
An error object containing details of the error.
Discussion
@abstract Sent when an FBNativeAd is failed to load.
Declared In
FBNativeAd.h
nativeAdDidClick:
@method
- (void)nativeAdDidClick:(FBNativeAd *)nativeAd
Parameters
- nativeAd
An FBNativeAd object sending the message.
Discussion
@abstract Sent after an ad has been clicked by the person.
Declared In
FBNativeAd.h
nativeAdDidFinishHandlingClick:
@method
- (void)nativeAdDidFinishHandlingClick:(FBNativeAd *)nativeAd
Parameters
- nativeAd
An FBNativeAd object sending the message.
Discussion
@abstract 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.
Declared In
FBNativeAd.h