Commit 4d7b05c9 authored by Kyle Mai's avatar Kyle Mai
Browse files

Version 1.0.6

parent a7a77d76
......@@ -361,7 +361,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = RK9M3EFJ5T;
INFOPLIST_FILE = ADTTest7/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
......@@ -381,7 +381,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = RK9M3EFJ5T;
INFOPLIST_FILE = ADTTest7/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
......
......@@ -6,6 +6,6 @@ target 'ADTTest7' do
use_frameworks!
# Pods for ADTTest7
pod 'ADTechMobile', '1.0.5'
pod 'ADTechMobile', '~> 1.0.6'
end
PODS:
- ADTechMobile (1.0.5):
- FBAudienceNetwork (~> 5.6.0)
- Google-Mobile-Ads-SDK (~> 7.55.0)
- FBAudienceNetwork (5.6.1):
- ADTechMobile (1.0.6):
- FBAudienceNetwork (~> 5.10.1)
- Google-Mobile-Ads-SDK (~> 7.63.0)
- FBAudienceNetwork (5.10.1):
- FBSDKCoreKit/Basics (>= 5.6.0)
- FBSDKCoreKit/Basics (7.1.1)
- Google-Mobile-Ads-SDK (7.55.1):
- Google-Mobile-Ads-SDK (7.63.0):
- GoogleAppMeasurement (~> 6.0)
- GoogleAppMeasurement (6.6.2):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- GoogleAppMeasurement (6.7.0):
- GoogleUtilities/AppDelegateSwizzler (~> 6.7)
- GoogleUtilities/MethodSwizzler (~> 6.7)
- GoogleUtilities/Network (~> 6.7)
- "GoogleUtilities/NSData+zlib (~> 6.7)"
- nanopb (~> 1.30905.0)
- GoogleUtilities/AppDelegateSwizzler (6.7.1):
- GoogleUtilities/Environment
......@@ -38,7 +38,7 @@ PODS:
- PromisesObjC (1.2.9)
DEPENDENCIES:
- ADTechMobile (= 1.0.5)
- ADTechMobile (~> 1.0.6)
SPEC REPOS:
trunk:
......@@ -52,15 +52,15 @@ SPEC REPOS:
- PromisesObjC
SPEC CHECKSUMS:
ADTechMobile: bcf1b0e71c7115dbe8b24747bf37c3d8d7e5f60f
FBAudienceNetwork: 223ab6f31d2aed94a79a9c7ffa0fad0dee644023
ADTechMobile: 19d5faa5f66e7bb59edb91978a1b0138e0a1ba00
FBAudienceNetwork: 6cdcc40aa475e8045ab14398e181a3dc90a5014e
FBSDKCoreKit: b46507dc8b8cefed31d644e74d7cc30e2a715ef8
Google-Mobile-Ads-SDK: f206aff290f26fde422495c6cd187e50efbed57e
GoogleAppMeasurement: 8cd1f289d60e629cf16ab03363b9e89c776b9651
Google-Mobile-Ads-SDK: a71d6bc14f9cf1f66d686dbdf9ad2091de04059c
GoogleAppMeasurement: 345d365fd105e6682bf5084783a5352a3db26820
GoogleUtilities: e121a3867449ce16b0e35ddf1797ea7a389ffdf2
nanopb: c43f40fadfe79e8b8db116583945847910cbabc9
PromisesObjC: b48e0338dbbac2207e611750777895f7a5811b75
PODFILE CHECKSUM: 1a687ba7327478440632ed46c30ac835a4c00ebb
PODFILE CHECKSUM: dfe9a7f3a6a598163473ae2865b3efb4397707e9
COCOAPODS: 1.9.3
......@@ -30,8 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
FBAdChoicesView offers a simple way to display a sponsored or AdChoices icon.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBAdChoicesView : UIView
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBAdChoicesView : UIView
/**
Access to the text label contained in this view.
......@@ -86,8 +85,7 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@param nativeAd The native ad to initialize with.
@param expandable Controls whether view defaults to expanded or not, see property documentation
*/
- (instancetype)initWithNativeAd:(FBNativeAdBase *)nativeAd
expandable:(BOOL)expandable;
- (instancetype)initWithNativeAd:(FBNativeAdBase *)nativeAd expandable:(BOOL)expandable;
/**
Initialize this view with a given native ad. Configuration is pulled from the native ad.
......@@ -106,14 +104,16 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
- (void)updateFrameFromSuperview;
/**
Using the superview, this updates the frame of this view, positioning the icon in the corner specified. UIRectCornerAllCorners not supported.
Using the superview, this updates the frame of this view, positioning the icon in the corner specified.
UIRectCornerAllCorners not supported.
@param corner The corner to display this view from.
*/
- (void)updateFrameFromSuperview:(UIRectCorner)corner;
/**
Using the superview, this updates the frame of this view, positioning the icon in the corner specified. UIRectCornerAllCorners not supported.
Using the superview, this updates the frame of this view, positioning the icon in the corner specified.
UIRectCornerAllCorners not supported.
@param corner The corner to display this view from.
@param insets Insets to take into account when positioning the view. Only respective insets are applied to corners.
......
......@@ -19,18 +19,21 @@
#ifndef FBAudienceNetwork_FBAdDefines_h
#define FBAudienceNetwork_FBAdDefines_h
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmacro-redefined"
#ifdef __cplusplus
#define FB_EXTERN_C_BEGIN extern "C" {
#define FB_EXTERN_C_END }
#define FB_EXTERN_C_BEGIN extern "C" {
#define FB_EXTERN_C_END }
#else
#define FB_EXTERN_C_BEGIN
#define FB_EXTERN_C_END
#endif
#ifdef __cplusplus
# define FB_EXPORT extern "C" __attribute__((visibility("default")))
#define FB_EXPORT extern "C" __attribute__((visibility("default")))
#else
# define FB_EXPORT extern __attribute__((visibility("default")))
#define FB_EXPORT extern __attribute__((visibility("default")))
#endif
#define FB_CLASS_EXPORT __attribute__((visibility("default")))
......@@ -40,21 +43,21 @@
#if __has_feature(objc_generics)
#define FB_NSArrayOf(x) NSArray<x>
#define FB_NSMutableArrayOf(x) NSMutableArray<x>
#define FB_NSDictionaryOf(x,y) NSDictionary<x, y>
#define FB_NSDictionaryOf(x, y) NSDictionary<x, y>
#define FB_NSMutableDictionaryOf(x, y) NSMutableDictionary<x, y>
#define FB_NSSetOf(x) NSSet<x>
#define FB_NSMutableSetOf(x) NSMutableSet<x>
#else
#define FB_NSArrayOf(x) NSArray
#define FB_NSMutableArrayOf(x) NSMutableArray
#define FB_NSDictionaryOf(x,y) NSDictionary
#define FB_NSDictionaryOf(x, y) NSDictionary
#define FB_NSMutableDictionaryOf(x, y) NSMutableDictionary
#define FB_NSSetOf(x) NSSet
#define FB_NSMutableSetOf(x) NSMutableSet
#define __covariant
#endif
#if ! __has_feature(nullability)
#if !__has_feature(nullability)
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
#define nullable
......@@ -69,4 +72,6 @@
#endif
#endif
#endif
#pragma GCC diagnostic pop
#endif // FBAudienceNetwork_FBAdDefines_h
// Copyright 2004-present Facebook. All Rights Reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <Foundation/Foundation.h>
#import <FBAudienceNetwork/FBAdDefines.h>
NS_ASSUME_NONNULL_BEGIN
typedef NSString *FBAdExperienceType NS_STRING_ENUM;
extern FBAdExperienceType const FBAdExperienceTypeRewarded;
extern FBAdExperienceType const FBAdExperienceTypeInterstitial;
extern FBAdExperienceType const FBAdExperienceTypeRewardedInterstitial;
FB_CLASS_EXPORT
/**
FBAdExperienceConfig is class designed to add some configuration to ad experience
*/
@interface FBAdExperienceConfig : NSObject
/**
Ad experience type to set up
*/
@property (nonatomic, strong, readwrite, nonnull) FBAdExperienceType adExperienceType;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
Creates an FBAdExperienceConfig with a specified type of experience
*/
- (instancetype)initWithAdExperienceType:(FBAdExperienceType)adExperienceType NS_DESIGNATED_INITIALIZER;
@end
NS_ASSUME_NONNULL_END
......@@ -48,16 +48,14 @@ FB_CLASS_EXPORT
@param width the image width.
@param height the image height.
*/
- (instancetype)initWithURL:(NSURL *)url
width:(NSInteger)width
height:(NSInteger)height NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithURL:(NSURL *)url width:(NSInteger)width height:(NSInteger)height NS_DESIGNATED_INITIALIZER;
/**
Loads an image from self.url over the network, or returns the cached image immediately.
@param block Block to handle the loaded image.
*/
- (void)loadImageAsyncWithBlock:(nullable void (^)(UIImage * __nullable image))block;
- (void)loadImageAsyncWithBlock:(nullable void (^)(UIImage *__nullable image))block;
@end
......
......@@ -25,11 +25,11 @@ NS_ASSUME_NONNULL_BEGIN
/**
Audience Network error domain
*/
FB_EXPORT NSString * const FBAudienceNetworkErrorDomain;
FB_EXPORT NSString *const FBAudienceNetworkErrorDomain;
/**
Audience Network error FBMediaView error domain
*/
FB_EXPORT NSString * const FBAudienceNetworkMediaViewErrorDomain;
FB_EXPORT NSString *const FBAudienceNetworkMediaViewErrorDomain;
/**
Audience Network SDK logging levels
......@@ -51,20 +51,6 @@ typedef NS_ENUM(NSInteger, FBAdLogLevel) {
FBAdLogLevelVerbose
};
/**
Determines what method is used for rendering FBMediaView content
*/
typedef NS_ENUM(NSInteger, FBMediaViewRenderingMethod) {
/// Automatic selection of rendering method
FBMediaViewRenderingMethodDefault,
/// Force Metal rendering (only use for devices with support)
FBMediaViewRenderingMethodMetal,
/// Force OpenGL rendering
FBMediaViewRenderingMethodOpenGL,
/// Software fallback
FBMediaViewRenderingMethodSoftware
} FB_DEPRECATED_WITH_MESSAGE("Rendering method is no longer used in Audience Network");
/**
Test Ad type to be injected when test mode is on
*/
......@@ -102,8 +88,7 @@ typedef NS_ENUM(NSInteger, FBAdTestAdType) {
/**
AdSettings contains global settings for all ad controls.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBAdSettings : NSObject
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBAdSettings : NSObject
/**
Controls support for audio-only video playback when the app is backgrounded. Note that this is only supported
......@@ -119,8 +104,8 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@property (class, nonatomic, assign) FBAdTestAdType testAdType;
/**
When this delegate is set, logs will be redirected to the delegate instead of being logged directly to the console with NSLog.
This can be used in combination with external logging frameworks.
When this delegate is set, logs will be redirected to the delegate instead of being logged directly to the console with
NSLog. This can be used in combination with external logging frameworks.
*/
@property (class, nonatomic, weak, nullable) id<FBAdLoggingDelegate> loggingDelegate;
......@@ -149,8 +134,6 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@param deviceHash The id of the device to use test mode, can be obtained from debug log or testDeviceHash
Copy the current device Id from debug log and add it as a test device to get test ads. Apps
running on emulator will automatically get test ads. Test devices should be added before loadAd is called.
*/
......@@ -161,7 +144,7 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@param devicesHash The array of the device id to use test mode, can be obtained from debug log or testDeviceHash
*/
+ (void)addTestDevices:(FB_NSArrayOf(NSString *)*)devicesHash;
+ (void)addTestDevices:(FB_NSArrayOf(NSString *) *)devicesHash;
/**
Clear all the added test devices
......@@ -194,7 +177,8 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@property (class, nonatomic, assign, getter=isMixedAudience) BOOL mixedAudience;
/**
If an ad provided service is mediating Audience Network in their sdk, it is required to set the name of the mediation service
If an ad provided service is mediating Audience Network in their sdk, it is required to set the name of the mediation
service
@param service Representing the name of the mediation that is mediation Audience Network
*/
......@@ -210,11 +194,9 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
/**
Sets the url prefix to use when making ad requests.
This method should never be used in production.
This method should never be used in production.
*/
+ (void)setUrlPrefix:(nullable NSString *) urlPrefix;
+ (void)setUrlPrefix:(nullable NSString *)urlPrefix;
/**
Gets the current SDK logging level
......@@ -226,22 +208,23 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
*/
+ (void)setLogLevel:(FBAdLogLevel)level;
/**
Gets the FBMediaView rendering method
*/
+ (FBMediaViewRenderingMethod)
mediaViewRenderingMethod FB_DEPRECATED_WITH_MESSAGE("Rendering method is no longer used in Audience Network");
/**
Sets the FBMediaView rendering method
- Parameter mediaViewRenderingMethod:
FBMediaViewRenderingMethodDefault: SDK chooses optimized rendering method
FBMediaViewRenderingMethodMetal: use Metal kit rendering method
FBMediaViewRenderingMethodOpenGL: use OpenGL rendering method
FBMediaViewRenderingMethodSoftware: use software rendering method
*/
+ (void)setMediaViewRenderingMethod:(FBMediaViewRenderingMethod)mediaViewRenderingMethod
FB_DEPRECATED_WITH_MESSAGE("Rendering method is no longer used in Audience Network");
/// Data processing options.
/// Please read more details at https://developers.facebook.com/docs/marketing-apis/data-processing-options
///
/// @param options Processing options you would like to enable for a specific event. Current accepted value is LDU for
/// Limited Data Use.
/// @param country A country that you want to associate to this data processing option. Current accepted values are 1,
/// for the United States of America, or 0, to request that we geolocate that event.
/// @param state A state that you want to associate with this data processing option. Current accepted values are 1000,
/// for California, or 0, to request that we geolocate that event.
+ (void)setDataProcessingOptions:(NSArray<NSString *> *)options country:(NSInteger)country state:(NSInteger)state;
/// Data processing options.
/// Please read more details at https://developers.facebook.com/docs/marketing-apis/data-processing-options
///
/// @param options Processing options you would like to enable for a specific event. Current accepted value is LDU for
/// Limited Data Use.
+ (void)setDataProcessingOptions:(NSArray<NSString *> *)options;
@end
......
......@@ -36,6 +36,11 @@ FB_EXPORT void FBAdSettingsBridgeAddTestDevice(char const *deviceID);
FB_EXPORT void FBAdSettingsBridgeSetURLPrefix(char const *urlPrefix);
FB_EXPORT void FBAdSettingsBridgeSetIsChildDirected(bool isChildDirected);
FB_EXPORT void FBAdSettingsBridgeSetMixedAudience(bool mixedAudience);
FB_EXPORT void FBAdSettingsBridgeSetDataProcessingOptions(char const *_Nonnull options[], int length);
FB_EXPORT void FBAdSettingsBridgeSetDetailedDataProcessingOptions(char const *_Nonnull options[],
int length,
int country,
int state);
FB_EXPORT char const *__nullable FBAdSettingsBridgeGetBidderToken(void);
FB_EXTERN_C_END
......
......@@ -16,7 +16,6 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <StoreKit/StoreKit.h>
#import <UIKit/UIKit.h>
#import <FBAudienceNetwork/FBAdDefines.h>
......
......@@ -16,7 +16,6 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <StoreKit/StoreKit.h>
#import <UIKit/UIKit.h>
#import <FBAudienceNetwork/FBAdDefines.h>
......@@ -55,7 +54,7 @@ FB_CLASS_EXPORT
- (nullable instancetype)initWithPlacementID:(NSString *)placementID
bidPayload:(NSString *)bidPayload
rootViewController:(nullable UIViewController *)rootViewController
error:(NSError * __autoreleasing *) error;
error:(NSError *__autoreleasing *)error;
/**
Begins loading the FBAdView content.
......
......@@ -21,6 +21,7 @@
#import <FBAudienceNetwork/FBAdChoicesView.h>
#import <FBAudienceNetwork/FBAdDefines.h>
#import <FBAudienceNetwork/FBAdExperienceConfig.h>
#import <FBAudienceNetwork/FBAdExtraHint.h>
#import <FBAudienceNetwork/FBAdIconView.h>
#import <FBAudienceNetwork/FBAdOptionsView.h>
......@@ -56,4 +57,4 @@
// NOTE: Any changes should also be made to the module.modulemap
// to ensure comptability with Swift apps using Cocoapods
#define FB_AD_SDK_VERSION @"5.6.1"
#define FB_AD_SDK_VERSION @"5.10.1"
......@@ -25,12 +25,12 @@ NS_ASSUME_NONNULL_BEGIN
/**
FBAdInitSettings is an object to incapsulate all the settings you can pass to SDK on initialization call.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBAdInitSettings : NSObject
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBAdInitSettings : NSObject
/**
Designated initializer for FBAdInitSettings
If an ad provided service is mediating Audience Network in their sdk, it is required to set the name of the mediation service
If an ad provided service is mediating Audience Network in their sdk, it is required to set the name of the mediation
service
@param placementIDs An array of placement identifiers.
@param mediationService String to identify mediation provider.
......@@ -52,13 +52,12 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
/**
FBAdInitResults is an object to incapsulate all the results you'll get as a result of SDK initialization call.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBAdInitResults : NSObject
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBAdInitResults : NSObject
/**
Boolean which says whether initialization was successful
*/
@property (nonatomic, assign, readonly, getter = isSuccess) BOOL success;
@property (nonatomic, assign, readonly, getter=isSuccess) BOOL success;
/**
Message which provides more details about initialization result
......@@ -74,22 +73,22 @@ typedef NS_ENUM(NSInteger, FBAdFormatTypeName) {
FBAdFormatTypeNameUnknown = 0,
FBAdFormatTypeNameBanner,
FBAdFormatTypeNameInterstitial,
FBAdFormatTypeNameInstream,
FBAdFormatTypeNameNative,
FBAdFormatTypeNameNativeBanner,
FBAdFormatTypeNameRewardedVideo,
};
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBAudienceNetworkAds : NSObject
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBAudienceNetworkAds : NSObject
/**
Initialize Audience Network SDK at any given point of time. It will be called automatically with default settigs when you first touch AN related code otherwise.
Initialize Audience Network SDK at any given point of time. It will be called automatically with default settigs when
you first touch AN related code otherwise.
@param settings The settings to initialize with
@param completionHandler The block which will be called when initialization finished
*/
+ (void)initializeWithSettings:(nullable FBAdInitSettings *)settings completionHandler:(nullable void (^)(FBAdInitResults *results))completionHandler;
+ (void)initializeWithSettings:(nullable FBAdInitSettings *)settings
completionHandler:(nullable void (^)(FBAdInitResults *results))completionHandler;
/**
Returns ad format type name for a given placement id.
......
......@@ -28,8 +28,8 @@ NS_ASSUME_NONNULL_BEGIN
/**
A customized UIView to display an instream video ad by Facebook.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBInstreamAdView : UIView
FB_DEPRECATED_WITH_MESSAGE("Instream ads have been deprecated.")
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBInstreamAdView : UIView
/**
Returns YES if the instream ad has been successfully loaded.
......@@ -61,7 +61,8 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@param placementID The id of the ad placement. You can create your placement id from Facebook developers page.
*/
- (nullable instancetype)initWithPlacementID:(NSString *)placementID NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithPlacementID:(NSString *)placementID NS_DESIGNATED_INITIALIZER
FB_DEPRECATED_WITH_MESSAGE("Instream ads have been deprecated. Initialiser will return nil.");
/**
Begins loading ad content.
......@@ -69,7 +70,8 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
You should implement `adViewDidLoad:` and `adView:didFailWithError:` methods
of `FBInstreamAdViewDelegate` to be notified when loading succeeds or fails.
*/
- (void)loadAd;
- (void)
loadAd FB_DEPRECATED_WITH_MESSAGE("Instream ads have been deprecated. Calling this method will have no effect.");
/**
Begins loading ad content from a bid payload attained through a server side bid.
......@@ -80,7 +82,8 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@param bidPayload The payload of the ad bid. You can get your bid id from Facebook bidder endpoint.
*/
- (void)loadAdWithBidPayload:(NSString *)bidPayload;
- (void)loadAdWithBidPayload:(NSString *)bidPayload
FB_DEPRECATED_WITH_MESSAGE("Instream ads have been deprecated. Calling this method will have no effect.");
/**
Begins ad playback. This method should only be called after an `adViewDidLoad:` call
......@@ -89,7 +92,8 @@ FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@param rootViewController The view controller that will be used to modally
present additional view controllers, to render the ad's landing page for example.
*/
- (BOOL)showAdFromRootViewController:(nullable UIViewController *)rootViewController;
- (BOOL)showAdFromRootViewController:(nullable UIViewController *)rootViewController
FB_DEPRECATED_WITH_MESSAGE("Instream ads have been deprecated. Calling this method will have no effect.");
@end
......
......@@ -17,7 +17,6 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
#import <FBAudienceNetwork/FBAdDefines.h>
#import <FBAudienceNetwork/FBAdExtraHint.h>
......@@ -31,8 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
A modal view controller to represent a Facebook interstitial ad. This
is a full-screen ad shown in your application.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED
@interface FBInterstitialAd : NSObject
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBInterstitialAd : NSObject
/**
Typed access to the id of the ad placement.
......
......@@ -28,7 +28,8 @@ NS_ASSUME_NONNULL_BEGIN
@class FBNativeAd;
/**
The FBMediaView loads media content from a given FBNativeAd. This view takes the place of manually loading a cover image.
The FBMediaView loads media content from a given FBNativeAd. This view takes the place of manually loading a cover
image.
*/
FB_CLASS_EXPORT
@interface FBMediaView : UIView
......@@ -77,7 +78,8 @@ FB_CLASS_EXPORT
@end
/**
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.
The methods declared by the FBMediaViewDelegate protocol allow the adopting delegate to respond to messages from the