iOS SDK Version
Protocols
The following protocols are available globally.
- UndocumentedSee more
Declaration
Objective-C@protocolFBAdSDKNotificationListener<NSObject>/** Method to be called when some specific SDK event will happens @param event event type. Currently suuported following events: "impression" happens every time when AD got an inpression recorded on the SDK @param eventData is a payload associated with the event. Method would be called on the main queue when the SDK event happens. */-(void)onFBAdEvent:(NSString*)eventeventData:(NSDictionary<NSString*,NSString*>*)eventData;@end
SwiftprotocolFBAdSDKNotificationListener:NSObjectProtocol
- UndocumentedSee more
Declaration
Objective-C@protocolFBAdLoggingDelegate<NSObject>-(void)logAtLevel:(FBAdLogLevel)levelwithFileName:(NSString*)fileNamewithLineNumber:(int)lineNumberwithThreadId:(long)threadIdwithBody:(NSString*)body;@end
SwiftprotocolFBAdLoggingDelegate:NSObjectProtocol
- The methods declared by the FBAdViewDelegate protocol allow the adopting delegate to respond to messages from the FBAdView class and thus respond to operations such as whether the ad has been loaded, the person has clicked the ad.See more
Declaration
Objective-C@protocolFBAdViewDelegate<NSObject>
SwiftprotocolFBAdViewDelegate:NSObjectProtocol
- The FBInstreamAdViewDelegate protocol defines methods that allow the owner of an FBInstreamAdView to respond to various stages of ad operation.See more
Declaration
Objective-C@protocolFBInstreamAdViewDelegate<NSObject>
SwiftprotocolFBInstreamAdViewDelegate:NSObjectProtocol
- 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.See more
Declaration
Objective-C@protocolFBInterstitialAdDelegate<NSObject>
SwiftprotocolFBInterstitialAdDelegate:NSObjectProtocol
- The methods declared by the FBMediaViewDelegate protocol allow the adopting delegate to respond to messages from the FBMediaView class and thus respond to operations such as whether the media content has been loaded.See more
Declaration
Objective-C@protocolFBMediaViewDelegate<NSObject>
SwiftprotocolFBMediaViewDelegate:NSObjectProtocol
- 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.See more
Declaration
Objective-C@protocolFBNativeAdDelegate<NSObject>
SwiftprotocolFBNativeAdDelegate:NSObjectProtocol
- @protocol FBNativeAdsManagerDelegateMessages from FBNativeAdsManager indicating success or failure loading ads.See more
Declaration
Objective-C@protocolFBNativeAdsManagerDelegate<NSObject>
SwiftprotocolFBNativeAdsManagerDelegate:NSObjectProtocol
- The methods declared by the FBNativeBannerAdDelegate protocol allow the adopting delegate to respond to messages from the FBNativeBannerAd class and thus respond to operations such as whether the native banner ad has been loaded.See more
Declaration
Objective-C@protocolFBNativeBannerAdDelegate<NSObject>
SwiftprotocolFBNativeBannerAdDelegate:NSObjectProtocol
- The methods declared by the FBRewardedVideoAdDelegate protocol allow the adopting delegate to respond to messages from the FBRewardedVideoAd class and thus respond to operations such as whether the ad has been loaded, the person has clicked the ad or closed video/end card.See more
Declaration
Objective-C@protocolFBRewardedVideoAdDelegate<NSObject>
SwiftprotocolFBRewardedVideoAdDelegate:NSObjectProtocol