iOS SDK Version
FBAdSDKNotificationManager
Objective-C
@interfaceFBAdSDKNotificationManager:NSObject/** Adds a listener to SDK events @param listener The listener to receive notification when the event happens Note that SDK will hold a weak reference to listener object */+(void)addFBAdSDKNotificationListener:(id<FBAdSDKNotificationListener>)listener;/** Adds a listener to SDK events @param listener The listener to be removed from notification list. You can call this method when you no longer want to receive SDK notifications. */+(void)removeFBAdSDKNotificationListener:(id<FBAdSDKNotificationListener>)listener;@end
Swift
classFBAdSDKNotificationManager:NSObject
Undocumented
- Adds a listener to SDK eventsNote that SDK will hold a weak reference to listener object
Declaration
Objective-C+(void)addFBAdSDKNotificationListener:(nonnullid<FBAdSDKNotificationListener>)listener;
Swiftclassfuncadd(_listener:FBAdSDKNotificationListener)
Parameters
- Adds a listener to SDK eventsYou can call this method when you no longer want to receive SDK notifications.
Declaration
Objective-C+(void)removeFBAdSDKNotificationListener:(nonnullid<FBAdSDKNotificationListener>)listener;
Swiftclassfuncremove(_listener:FBAdSDKNotificationListener)
Parameters