diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/AppLovinSDK b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/AppLovinSDK old mode 100755 new mode 100644 index e7ab1ad..fb5299c Binary files a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/AppLovinSDK and b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/AppLovinSDK differ diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAd.h new file mode 100644 index 0000000..3895713 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAd.h @@ -0,0 +1,69 @@ +// +// ALAd.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALAdSize; +@class ALAdType; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Represents an ad that has been served from the AppLovin server. + */ +@interface ALAd : NSObject + +/** + * The size category of this ad. + */ +@property (nonatomic, strong, readonly) ALAdSize *size; + +/** + * The type of this ad (regular or incentivized/rewarded). + */ +@property (nonatomic, strong, readonly) ALAdType *type; + +/** + * The zone ID for the ad, if any. + */ +@property (nonatomic, copy, readonly, nullable) NSString *zoneIdentifier; + +/** + * Whether or not the current ad is a video advertisement. + */ +@property (nonatomic, assign, readonly, getter=isVideoAd) BOOL videoAd; + +/** + * Gets the ad value for a given key. + * + * @param key The key for which you want to retrieve the ad value. + * + * @return The arbitrary ad value corresponding to @c key, or @c nil if no such value exists for @c key. + */ +- (nullable NSString *)adValueForKey:(NSString *)key; + +/** + * Gets the ad value for a given key, or a default value if no such value exists. + * + * @param key The key for which you want to retrieve the ad value. + * @param defaultValue The default value to return if the value of @c key does not exist or is @c nil. + * + * @return The arbitrary ad value corresponding to @c key, or the value of @c defaultValue if no such value exists for @c key. + */ +- (nullable NSString *)adValueForKey:(NSString *)key defaultValue:(nullable NSString *)defaultValue; + +/** + * A unique ID that identifies this advertisement. + * + * If you need to report a broken ad to AppLovin support, please include this number’s @c longValue. + */ +@property (nonatomic, strong, readonly) NSNumber *adIdNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h new file mode 100644 index 0000000..86ba36b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h @@ -0,0 +1,52 @@ +// +// ALAdDisplayDelegate.h +// AppLovinSDK +// +// Created by Basil on 3/23/12. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import + +@class ALAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a listener for ad display events. + */ +@protocol ALAdDisplayDelegate + +/** + * The SDK invokes this when the ad is displayed in the view. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad that was just displayed. + * @param view Ad view in which the ad was displayed. + */ +- (void)ad:(ALAd *)ad wasDisplayedIn:(UIView *)view; + +/** + * The SDK invokes this method when the ad is hidden from the view. This occurs when the user "X"es out of an interstitial. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad that was just hidden. + * @param view Ad view in which the ad was hidden. + */ +- (void)ad:(ALAd *)ad wasHiddenIn:(UIView *)view; + +/** + * The SDK invokes this method when the ad is clicked in the view. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad that was just clicked. + * @param view Ad view in which the ad was clicked. + */ +- (void)ad:(ALAd *)ad wasClickedIn:(UIView *)view; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h new file mode 100644 index 0000000..3f6cda3 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h @@ -0,0 +1,41 @@ +// +// ALAdLoadDelegate.h +// AppLovinSDK +// +// Created by Basil on 3/23/12. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALAd; +@class ALAdService; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a listener for ad load events. + */ +@protocol ALAdLoadDelegate + +/** + * The SDK invokes this method when an ad is loaded by the AdService. + * + * The SDK invokes this method on the main UI thread. + * + * @param adService AdService that loaded the ad. + * @param ad Ad that was loaded. + */ +- (void)adService:(ALAdService *)adService didLoadAd:(ALAd *)ad; + +/** + * The SDK invokes this method when an ad load fails. + * + * The SDK invokes this method on the main UI thread. + * + * @param adService AdService that failed to load an ad. + * @param code An error code that corresponds to one of the constants defined in ALErrorCodes.h. + */ +- (void)adService:(ALAdService *)adService didFailToLoadAdWithError:(int)code; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h new file mode 100644 index 0000000..ebd806e --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h @@ -0,0 +1,63 @@ +// +// ALAdRewardDelegate.h +// AppLovinSDK +// +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a listener that listens to rewarded video events. + */ +@protocol ALAdRewardDelegate + +@required + +/** + * The SDK invokes this method if a user viewed a rewarded video and their reward was approved by the AppLovin server. + * + * If you use reward validation for incentivized videos, the SDK invokes this method if it contacted AppLovin successfully. This means the SDK believes the + * reward is legitimate and you should award it. + * + * Tip: refresh the user’s balance from your server at this point rather than relying on local data that could be tampered with on jailbroken devices. + * + * The @c response @c NSDictionary will typically include the keys @c "currency" and @c "amount", which point to @c NSStrings that contain the name and amount of the + * virtual currency that you may award. + * + * @param ad Ad that was viewed. + * @param response Dictionary that contains response data from the server, including @c "currency" and @c "amount". + */ +- (void)rewardValidationRequestForAd:(ALAd *)ad didSucceedWithResponse:(NSDictionary *)response; + +/** + * The SDK invokes this method if it was able to contact AppLovin, but the user has already received the maximum number of coins you allowed per day in the web + * UI, and so is ineligible for a reward. + * + * @param ad Ad that was viewed. + * @param response Dictionary that contains response data from the server. + */ +- (void)rewardValidationRequestForAd:(ALAd *)ad didExceedQuotaWithResponse:(NSDictionary *)response; + +/** + * The SDK invokes this method if the AppLovin server rejected the reward request. The usual cause of this is that the user fails to pass an anti-fraud check. + * + * @param ad Ad that was viewed. + * @param response Dictionary that contains response data from the server. + */ +- (void)rewardValidationRequestForAd:(ALAd *)ad wasRejectedWithResponse:(NSDictionary *)response; + +/** + * The SDK invokes this method if it was unable to contact AppLovin, and so AppLovin will not issue a ping to your S2S rewarded callback server. + * + * @param ad Ad that was viewed. + * @param responseCode A failure code that corresponds to a constant defined in ALErrorCodes.h. + */ +- (void)rewardValidationRequestForAd:(ALAd *)ad didFailWithError:(NSInteger)responseCode; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdService.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdService.h new file mode 100644 index 0000000..2146cc0 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdService.h @@ -0,0 +1,71 @@ +// +// ALAdService.h +// AppLovinSDK +// +// Created by Basil on 2/27/12. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import + +@class ALAd; +@class ALAdSize; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides and displays ads. + */ +@interface ALAdService : NSObject + +/** + * Fetches a new ad, of a given size, and notifies a supplied delegate on completion. + * + * @param adSize Size of an ad to load. + * @param delegate A callback that @c loadNextAd calls to notify of the fact that the ad is loaded. + */ +- (void)loadNextAd:(ALAdSize *)adSize andNotify:(id)delegate; + +/** + * Fetches a new ad, for a given zone, and notifies a supplied delegate on completion. + * + * @param zoneIdentifier The identifier of the zone to load an ad for. + * @param delegate A callback that @c loadNextAdForZoneIdentifier calls to notify of the fact that the ad is loaded. + */ +- (void)loadNextAdForZoneIdentifier:(NSString *)zoneIdentifier andNotify:(id)delegate; + +/** + * A token used for advanced header bidding. + */ +@property (nonatomic, copy, readonly) NSString *bidToken; + +/** + * Fetches a new ad for the given ad token. The provided ad token must be one that was received from AppLovin S2S API. + * + * @warning This method is designed to be called by SDK mediation providers. Use @code -[ALAdService loadNextAdForZoneIdentifiers:andNotify:] @endcode for + * regular integrations. + * + * @param adToken Ad token returned from AppLovin S2S API. + * @param delegate A callback that @c loadNextAdForAdToken calls to notify that the ad has been loaded. + */ +- (void)loadNextAdForAdToken:(NSString *)adToken andNotify:(id)delegate; + +/** + * Fetch a new ad for any of the provided zone identifiers. + * + * @warning This method is designed to be called by SDK mediation providers. Use @code -[ALAdService loadNextAdForZoneIdentifiers:andNotify:] @endcode for + * regular integrations. + * + * @param zoneIdentifiers An array of zone identifiers for which an ad should be loaded. + * @param delegate A callback that @c loadNextAdForZoneIdentifiers calls to notify that the ad has been loaded. + */ +- (void)loadNextAdForZoneIdentifiers:(NSArray *)zoneIdentifiers andNotify:(id)delegate; + +- (instancetype)init __attribute__((unavailable("Access ALAdService through ALSdk's adService property."))); ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdSize.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdSize.h new file mode 100644 index 0000000..b158768 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdSize.h @@ -0,0 +1,51 @@ +// +// ALAdSize.h +// AppLovinSDK +// +// Created by Basil on 2/27/12. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class defines the possible sizes of an ad. + */ +@interface ALAdSize : NSObject + +/** + * Represents the size of a 320×50 banner advertisement. + */ +@property (class, nonatomic, strong, readonly) ALAdSize *banner; + +/** + * Represents the size of a 728×90 leaderboard advertisement (for tablets). + */ +@property (class, nonatomic, strong, readonly) ALAdSize *leader; + +/** + * Represents the size of a 300x250 rectangular advertisement. + */ +@property (class, nonatomic, strong, readonly) ALAdSize *mrec; + +/** + * Represents the size of a full-screen advertisement. + */ +@property (class, nonatomic, strong, readonly) ALAdSize *interstitial; + +/** + * Represents the size of a cross promo advertisement. + */ +@property (class, nonatomic, strong, readonly) ALAdSize *crossPromo; + +/** + * Represents a native ad which can be integrated seemlessly into the environment of your app. + */ +@property (class, nonatomic, strong, readonly) ALAdSize *native; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdType.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdType.h new file mode 100644 index 0000000..dd4d975 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdType.h @@ -0,0 +1,45 @@ +// +// ALAdType.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class defines the possible types of an interstitial ad (i.e. regular or incentivized/rewarded). + */ +@interface ALAdType : NSObject + +/** + * A standard advertisement that does not provide a reward to the user. + */ +@property (class, nonatomic, strong, readonly) ALAdType *regular; + +/** + * Represents a standard advertisement that does not provide a reward to the user and is shown upon opening the app. + */ +@property (class, nonatomic, strong, readonly) ALAdType *appOpen; + +/** + * A rewarded ad, which will provide the user virtual currency upon completion. + */ +@property (class, nonatomic, strong, readonly) ALAdType *incentivized; + +/** + * A rewarded interstitial ad, which the user can skip or be granted a reward upon successful completion of the ad. + */ +@property (class, nonatomic, strong, readonly) ALAdType *autoIncentivized; + +/** + * Represents a native ad which can be integrated seemlessly into the environment of your app. + */ +@property (class, nonatomic, strong, readonly) ALAdType *native; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h new file mode 100644 index 0000000..f64d502 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h @@ -0,0 +1,40 @@ +// +// ALAdVideoPlaybackDelegate.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALAd; +@class ALAdService; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a listener for ad video playback events. Ads that do not contain videos will not trigger these callbacks. + */ +@protocol ALAdVideoPlaybackDelegate + +/** + * The SDK invokes this method when a video starts playing in an ad. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad in which video playback began. + */ +- (void)videoPlaybackBeganInAd:(ALAd *)ad; + +/** + * The SDK invokes this method when a video stops playing in an ad. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad in which video playback ended. + * @param percentPlayed How much of the video was watched, as a percent, between 0 and 100. + * @param wasFullyWatched Whether or not the video was watched to 95% or more of completion. + */ +- (void)videoPlaybackEndedInAd:(ALAd *)ad atPlaybackPercent:(NSNumber *)percentPlayed fullyWatched:(BOOL)wasFullyWatched; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdView.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdView.h new file mode 100644 index 0000000..c2d7683 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdView.h @@ -0,0 +1,154 @@ +// +// ALAdView.h +// AppLovinSDK +// +// Created by Basil on 3/1/12. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import +#import + +@class ALAd; +@class ALSdk; +@class ALAdSize; +@class ALAdType; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface represents a view-based ad — i.e. banner, MREC, or leader. + */ +@interface ALAdView : UIView + +/** + * @name Ad Delegates + */ + +/** + * An object that conforms to the @c ALAdLoadDelegate protocol. If you provide a value for @c adLoadDelegate in your instance, the SDK will notify + * this delegate of ad load events. + * + * @warning This delegate is retained strongly and might lead to retain cycles if delegate holds strong reference to this @c ALAdView. + */ +@property (nonatomic, strong, nullable) IBOutlet id adLoadDelegate; + +/** + * An object that conforms to the @c ALAdDisplayDelegate protocol. If you provide a value for @c adDisplayDelegate in your instance, the SDK will + * notify this delegate of ad show/hide events. + * + * @warning This delegate is retained strongly and might lead to retain cycles if delegate holds strong reference to this @c ALAdView. + */ +@property (nonatomic, strong, nullable) IBOutlet id adDisplayDelegate; + +/** + * An object that conforms to the @c ALAdViewEventDelegate protocol. If you provide a value for @c adEventDelegate in your instance, the SDK will + * notify this delegate of @c ALAdView -specific events. + * + * @warning This delegate is retained strongly and might lead to retain cycles if delegate holds strong reference to this @c ALAdView. + */ +@property (nonatomic, strong, nullable) IBOutlet id adEventDelegate; + +/** + * @name Ad View Configuration + */ + +/** + * The size of ads to load within this @c ALAdView. + */ +@property (nonatomic, strong) ALAdSize *adSize; + +/** + * The zone identifier this @c ALAdView was initialized with and is loading ads for, if any. + */ +@property (nonatomic, copy, readonly, nullable) NSString *zoneIdentifier; + +/** + * Whether or not this ad view should automatically load the ad when iOS inflates it from a StoryBoard or from a nib file (when + * @code -[UIView awakeFromNib] @endcode is called). The default value is @c NO which means you are responsible for loading the ad by invoking + * @code -[ALAdView loadNextAd] @endcode. + */ +@property (nonatomic, assign, getter=isAutoloadEnabled, setter=setAutoloadEnabled:) BOOL autoload; + +/** + * @name Loading and Rendering Ads + */ + +/** + * Loads and displays an ad into the view. This method returns immediately. + * + * Note: To load the ad but not display it, use @code +[ALSdk shared] @endcode ⇒ @code -[ALSDK adService] @endcode + * ⇒ @code -[ALAdService loadNextAd:andNotify:] @endcode, then @code -[ALAdView render:] @endcode to render it. + */ +- (void)loadNextAd; + +/** + * Renders a specific ad that was loaded via @c ALAdService. + * + * @param ad Ad to render. + */ +- (void)render:(ALAd *)ad; + +/** + * @name Initialization + */ + +/** + * Initializes the ad view with a given size. + * + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. + * + * @return A new instance of @c ALAdView. + */ +- (instancetype)initWithSize:(ALAdSize *)size; + +/** + * Initializes the ad view for a given size and zone. + * + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. + * @param zoneIdentifier Identifier for the zone this @c ALAdView should load ads for. + * + * @return A new instance of @c ALAdView. + */ +- (instancetype)initWithSize:(ALAdSize *)size zoneIdentifier:(nullable NSString *)zoneIdentifier; + +/** + * Initializes the ad view with a given SDK and size. + * + * @param sdk Instance of @c ALSdk to use. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. + * + * @return A new instance of @c ALAdView. + */ +- (instancetype)initWithSdk:(ALSdk *)sdk size:(ALAdSize *)size; + +/** + * Initializes the ad view with a given SDK, size, and zone. + * + * @param sdk Instance of @c ALSdk to use. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. + * @param zoneIdentifier Identifier for the zone that this @c ALAdView should load ads for. + * + * @return A new instance of @c ALAdView. + */ +- (instancetype)initWithSdk:(ALSdk *)sdk size:(ALAdSize *)size zoneIdentifier:(nullable NSString *)zoneIdentifier; + +/** + * Initializes the ad view with a given frame, ad size, and SDK instance. + * + * @param frame Describes the position and dimensions of the ad. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. + * @param sdk Instance of @c ALSdk to use. + * + * @return A new instance of @c ALAdView. + */ +- (instancetype)initWithFrame:(CGRect)frame size:(ALAdSize *)size sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h new file mode 100644 index 0000000..91e8ddf --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h @@ -0,0 +1,97 @@ +// +// ALAdViewEventDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 6/23/17. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALAd; +@class ALAdView; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This enum contains possible error codes that are returned when the ad view fails to display an ad. + */ +typedef NS_ENUM(NSInteger, ALAdViewDisplayErrorCode) +{ + /** + * The ad view failed to display an ad for an unspecified reason. + */ + ALAdViewDisplayErrorCodeUnspecified +}; + +/** + * This protocol defines a listener for ad view events. + */ +@protocol ALAdViewEventDelegate + +@optional + +/** + * The SDK invokes this method after the ad view begins to present fullscreen content. + * + * The SDK invokes this method on the main UI thread. + * + * Note: Some banners, when clicked, will expand into fullscreen content, whereupon the SDK will call this method. + * + * @param ad Ad for which the ad view presented fullscreen content. + * @param adView Ad view that presented fullscreen content. + */ +- (void)ad:(ALAd *)ad didPresentFullscreenForAdView:(ALAdView *)adView; + +/** + * The SDK invokes this method as the fullscreen content is about to be dismissed. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad for which the fullscreen content is to be dismissed. + * @param adView Ad view that contains the ad for which the fullscreen content is to be dismissed. + */ +- (void)ad:(ALAd *)ad willDismissFullscreenForAdView:(ALAdView *)adView; + +/** + * The SDK invokes this method after the fullscreen content is dismissed. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad for which the fullscreen content is dismissed. + * @param adView Ad view that contains the ad for which the fullscreen content is dismissed. + */ +- (void)ad:(ALAd *)ad didDismissFullscreenForAdView:(ALAdView *)adView; + +/** + * The SDK invokes this method when the user is about to be taken out of the application after the user clicks on the ad. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad for which the user will be taken out of the application. + * @param adView Ad view that contains the ad for which the user will be taken out of the application. + */ +- (void)ad:(ALAd *)ad willLeaveApplicationForAdView:(ALAdView *)adView; + +/** + * The SDK invokes this method when the user returns to the application after the user clicks on the ad. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad from which the user will return to the application. + * @param adView Ad view that contains the ad from which the user will return to the application. + */ +- (void)ad:(ALAd *)ad didReturnToApplicationForAdView:(ALAdView *)adView; + +/** + * The SDK invokes this method if the ad view fails to display an ad. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad Ad that the ad view failed to display. + * @param adView Ad view that failed to display the ad. + * @param code Error code that specifies the reason why the ad view failed to display the ad. + */ +- (void)ad:(ALAd *)ad didFailToDisplayInAdView:(ALAdView *)adView withError:(ALAdViewDisplayErrorCode)code; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAtomicBoolean.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAtomicBoolean.h new file mode 100644 index 0000000..67e3d17 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALAtomicBoolean.h @@ -0,0 +1,49 @@ +// +// ALAtomicBoolean.h +// AppLovinSDK +// +// Created by Thomas So on 3/5/17. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * A boolean value that may be updated atomically. + * + * NOTE: This class is used by our adapters (ironSource), do not change API. + */ +@interface ALAtomicBoolean : NSObject + +/** + * Returns the current value. + */ +- (BOOL)get; + +/** + * Unconditionally sets to the given value. + */ +- (void)set:(BOOL)newValue; + +/** + * Atomically sets to the given value and returns the previous value. + */ +- (BOOL)getAndSet:(BOOL)newValue; + +/** + * Atomically sets the value to the given updated value if the current value == the expected value. + * + * @param expect The expected value. + * @param update The new value. + * + * @return YES if successful. NO return indicates that the actual value was not equal to the expected value. + */ +- (BOOL)compareAndSet:(BOOL)expect update:(BOOL)update; + +/** + * Creates an instance with the default BOOL value. + */ +- (instancetype)initWithValue:(BOOL)initialValue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCCommunicator.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCCommunicator.h new file mode 100644 index 0000000..9315f54 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCCommunicator.h @@ -0,0 +1,60 @@ +// +// ALCCommunicator.h +// AppLovinSDK +// +// Created by Thomas So on 7/4/19. +// + +#import + +@class ALCCommunicator; +@class ALCMessagingService; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This communicator SDK acts as a hub for all SDK pub/sub communication. + */ +@interface ALCCommunicator : NSObject + +/** + * Add the provided subscriber to the set of subscribers for a given topic. + */ +- (void)subscribe:(id)subscriber forTopic:(NSString *)topic; + +/** + * Add the provided subscriber to the set of subscribers for the given topics. + */ +- (void)subscribe:(id)subscriber forTopics:(NSArray *)topics; + +/** + * Remove the provided subscriber from the set of subscribers for a given topic. + */ +- (void)unsubscribe:(id)subscriber forTopic:(NSString *)topic; + +/** + * Remove the provided subscriber from the set of subscribers for the given topics. + */ +- (void)unsubscribe:(id)subscriber forTopics:(NSArray *)topics; + +/** + * @return @c YES if the SDK will handle a published @c ALCMessage for a given @c topic. + */ +- (BOOL)respondsToTopic:(NSString *)topic; + +/** + * The messaging service for the communicator SDK responsible for relaying messages within the system. + */ +@property (nonatomic, strong, readonly) ALCMessagingService *messagingService; + +/** + * Returns the default communicator instance. + */ +@property (class, strong, readonly) ALCCommunicator *defaultCommunicator; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCEntity.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCEntity.h new file mode 100644 index 0000000..83abb1a --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCEntity.h @@ -0,0 +1,23 @@ +// +// ALCEntity.h +// AppLovinSDK +// +// Created by Thomas So on 7/21/19. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol concerns an entity (publisher or subscriber) in the AppLovin pub/sub system. + */ +@protocol ALCEntity + +/** + * Unique identifier representing the entity (publisher or subscriber) in the AppLovin pub/sub system. + * Currently used for debugging purposes only - so please provide an easily distinguishable identifier (e.g. "safedk"). + */ +- (NSString *)communicatorIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCMessage.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCMessage.h new file mode 100644 index 0000000..2e8c032 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCMessage.h @@ -0,0 +1,48 @@ +// +// ALCMessage.h +// AppLovinSDK +// +// Created by Thomas So on 7/4/19. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class representing messages passed in the Communicator SDK. + */ +@interface ALCMessage : NSNotification + +/** + * The unique id of the message. + */ +@property (nonatomic, copy, readonly) NSString *uniqueIdentifier; + +/** + * The topic of the message. A full list of supported topics may be found in ALCTopic.h. + */ +@property (nonatomic, copy, readonly) NSString *topic; + +/** + * The id of the publisher of the message. + */ +@property (nonatomic, copy, readonly) NSString *publisherIdentifier; + +/** + * The raw data of the message. + */ +@property (nonatomic, copy, readonly) NSDictionary *data; + +/** + * Initialize a message with data in a pre-determined format for a given topic. + */ +- (instancetype)initWithData:(NSDictionary *)data topic:(NSString *)topic fromPublisher:(id)publisher; +- (instancetype)initWithName:(NSNotificationName)name object:(nullable id)object userInfo:(nullable NSDictionary *)userInfo NS_UNAVAILABLE; +- (instancetype)initWithCoder:(NSCoder *)decoder NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCMessagingService.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCMessagingService.h new file mode 100644 index 0000000..2bf3c40 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCMessagingService.h @@ -0,0 +1,27 @@ +// +// ALCMessagingService.h +// AppLovinSDK +// +// Created by Thomas So on 7/16/19. +// + +@class ALCMessage; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Service class of the Communicator SDK responsible for managing and publishing messages. + */ +@interface ALCMessagingService : NSObject + +/** + * Publish the given message to the pub/sub system. + */ +- (void)publishMessage:(ALCMessage *)message; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCPublisher.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCPublisher.h new file mode 100644 index 0000000..abb8142 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCPublisher.h @@ -0,0 +1,19 @@ +// +// ALCPublisher.h +// AppLovinSDK +// +// Created by Thomas So on 7/4/19. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol representing a publisher in the AppLovin pub/sub system. + */ +@protocol ALCPublisher + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCSubscriber.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCSubscriber.h new file mode 100644 index 0000000..2c78d5c --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALCSubscriber.h @@ -0,0 +1,26 @@ +// +// ALCSubscriber.h +// AppLovinSDK +// +// Created by Thomas So on 7/4/19. +// + +#import + +@class ALCMessage; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol that subscribers in the AppLovin pub-sub system should conform to in order to receive messages from subscribed topics. + */ +@protocol ALCSubscriber + +/** + * Called when a message of a topic the subscriber is interested in has been received. + */ +- (void)didReceiveMessage:(ALCMessage *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALErrorCodes.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALErrorCodes.h new file mode 100644 index 0000000..dfa203c --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALErrorCodes.h @@ -0,0 +1,101 @@ +// +// ALErrorCodes.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +// Loading & Displaying Ads + +/** + * @file ALErrorCodes.h + */ + +/** + * The SDK is currently disabled. + */ +#define kALErrorCodeSdkDisabled -22 + +/** + * No ads are currently eligible for your device & location. + */ +#define kALErrorCodeNoFill 204 + +/** + * A fetch ad request timed out (usually due to poor connectivity). + */ +#define kALErrorCodeAdRequestNetworkTimeout -1001 + +/** + * The device is not connected to internet (for instance if user is in Airplane mode). This returns the same code as NSURLErrorNotConnectedToInternet. + */ +#define kALErrorCodeNotConnectedToInternet -1009 + +/** + * An unspecified network issue occurred. + */ +#define kALErrorCodeAdRequestUnspecifiedError -1 + +/** + * There has been a failure to render an ad on screen. + */ +#define kALErrorCodeUnableToRenderAd -6 + +/** + * The zone provided is invalid; the zone needs to be added to your AppLovin account or may still be propagating to our servers. + */ +#define kALErrorCodeInvalidZone -7 + +/** + * The provided ad token is invalid; ad token must be returned from AppLovin S2S integration. + */ +#define kALErrorCodeInvalidAdToken -8 + +/** + * An attempt to cache a resource to the filesystem failed; the device may be out of space. + */ +#define kALErrorCodeUnableToPrecacheResources -200 + +/** + * An attempt to cache an image resource to the filesystem failed; the device may be out of space. + */ +#define kALErrorCodeUnableToPrecacheImageResources -201 + +/** + * An attempt to cache a video resource to the filesystem failed; the device may be out of space. + */ +#define kALErrorCodeUnableToPrecacheVideoResources -202 + +/** + * AppLovin servers have returned an invalid response. + */ +#define kALErrorCodeInvalidResponse -800 + +// +// Rewarded Videos +// + +/** + * The developer called for a rewarded video before one was available. + */ +#define kALErrorCodeIncentiviziedAdNotPreloaded -300 + +/** + * An unknown server-side error occurred. + */ +#define kALErrorCodeIncentivizedUnknownServerError -400 + +/** + * A reward validation requested timed out (usually due to poor connectivity). + */ +#define kALErrorCodeIncentivizedValidationNetworkTimeout -500 + +/** + * The user exited out of the rewarded ad early. You may or may not wish to grant a reward depending on your preference. + */ +#define kALErrorCodeIncentivizedUserClosedVideo -600 + +/** + * A postback URL you attempted to dispatch was empty or nil. + */ +#define kALErrorCodeInvalidURL -900 diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALEventService.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALEventService.h new file mode 100644 index 0000000..1ff0afd --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALEventService.h @@ -0,0 +1,84 @@ +// +// ALEventService.h +// AppLovinSDK +// +// Created by Thomas So on 2/13/19 +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * Service that tracks various analytical events. + */ +@interface ALEventService : NSObject + +/** + * Sets a super property that this service will record with all future events. + * + * If @c superProperty is @c nil, this method will remove the super property with key @c key from being recorded with all future events. + * + * @param superProperty The value to assign to the super property whose key is @c key. Valid types include @c NSString, @c NSNumber, @c NSSDate, @c NSURL, + * @c NSArray, and @c NSDictionary. Set this to @c nil to remove the super property whose key is @c key from being recorded with all future + * events. + * @param key The key that identifies the the super property whose value this method sets. + */ +- (void)setSuperProperty:(nullable id)superProperty forKey:(NSString *)key; + +/** + * NSDictionary that represents the currently-set super properties that this services records with events. + */ +@property (nonatomic, copy, readonly) NSDictionary *superProperties; + +/** + * Tracks an event without adding supplemental data. + * + * AppLovin recommends that you use one of the predefined strings provided in ALEventTypes.h for the event name, when those strings apply to the event. + * + * @param eventName A string that represents the event to track. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Tracks an event and adds supplemental data. + * + * AppLovin recommends that you use one of the predefined strings provided in ALEventTypes.h for the event name and parameter keys, when those strings + * apply to the event. + * + * @param eventName A string that represents the event to track. + * @param parameters A dictionary that contains key-value pairs that further describe this event. + */ +- (void)trackEvent:(NSString *)eventName parameters:(nullable NSDictionary *)parameters; + +/** + * Tracks an in-app purchase. + * + * AppLovin recommends that you use one of the predefined strings provided in ALEventTypes.h for the parameter keys, when one of those strings applies + * to the event. At a minimum, provide the following parameters: @c kALEventParameterProductIdentifierKey, @c kALEventParameterRevenueAmountKey, and + * @c kALEventParameterRevenueCurrencyKey. If you pass a value for @c kALEventParameterStoreKitReceiptKey, AppLovin will use that value for validation. + * Otherwise, AppLovin will collect @code +[NSBundle mainBundle] @endcode ⇒ @code -[NSBundle appStoreReceiptURL] @endcode and use it for validation. + * + * @param transactionIdentifier Value of the @code -[SKTransaction transactionIdentifier] @endcode property. + * @param parameters A dictionary that contains key-value pairs that further describe this event. + */ +- (void)trackInAppPurchaseWithTransactionIdentifier:(NSString *)transactionIdentifier parameters:(nullable NSDictionary *)parameters; + +/** + * Tracks a checkout / standard purchase. + * + * AppLovin recommends that you use one of the predefined strings provided in ALEventTypes.h for the parameter keys, when one of those strings applies to the + * event. At a minimum, provide the following parameters: @c kALEventParameterProductIdentifierKey, @c kALEventParameterRevenueAmountKey, and + * @c kALEventParameterRevenueCurrencyKey. + * + * @param transactionIdentifier An optional unique identifier for this transaction, generated by you. For Apple Pay transactions, AppLovin suggests that you use + * the value of the @code -[PKPaymentToken transactionIdentifier] @endcode property. + * @param parameters A dictionary that contains key-value pairs that further describe this event. + */ +- (void)trackCheckoutWithTransactionIdentifier:(nullable NSString *)transactionIdentifier parameters:(nullable NSDictionary *)parameters; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALEventTypes.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALEventTypes.h new file mode 100644 index 0000000..c51b586 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALEventTypes.h @@ -0,0 +1,317 @@ +// +// ALEventTypes.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#ifndef ALEventTypes_h +#define ALEventTypes_h + +NS_ASSUME_NONNULL_BEGIN + +/** + * @name Authentication Events + * @file ALEventTypes.h + */ + +/** + * Signifies that the user logged in to an existing account. + * + * Suggested parameters: @c kALEventParameterUserAccountIdentifierKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserLoggedIn; + +/** + * Signifies that the finished a registration flow and created a new account. + * + * Suggested parameters: @c kALEventParameterUserAccountIdentifierKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserCreatedAccount; + +/** + * @name Content Events + */ + +/** + * Signifies that the user viewed a specific piece of content. + * + * For views of saleable products, pass @c kALEventTypeUserViewedProduct instead. + * + * Suggested parameters: @c kALEventParameterContentIdentifierKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserViewedContent; + +/** + * Signifies that the user executed a search query. + * + * Suggested parameters: @c kALEventParameterSearchQueryKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserExecutedSearch; + +/** + * @name Gaming Events + */ + +/** + * Signifies that the user completed a tutorial or introduction sequence. + * + * Suggested parameters: None. + */ +extern NSString *const kALEventTypeUserCompletedTutorial; + +/** + * Signifies that the user completed a given level or game sequence. + * + * Suggested parameters: @c kALEventParameterCompletedLevelKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserCompletedLevel; + +/** + * Signifies that the user completed (or "unlocked") a particular achievement. + * + * Suggested parameters: @c kALEventParameterCompletedAchievementKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserCompletedAchievement; + +/** + * Signifies that the user spent virtual currency on an in-game purchase. + * + * Suggested parameters: @c kALEventParameterVirtualCurrencyAmountKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserSpentVirtualCurrency; + +/** + * @name Commerce Events + */ + +/** + * Signifies that the user viewed a specific piece of content. + * + * For general content (non-saleable products) use @c kALEventTypeUserViewedContent instead. + * + * Suggested parameters: @c kALEventParameterProductIdentifierKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserViewedProduct; + +/** + * Signifies that the user added a product/item to their shopping cart. + * + * Suggested parameters: @c kALEventParameterProductIdentifierKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserAddedItemToCart; + +/** + * Signifies that the user added a product/item to their wishlist. + * + * Suggested parameters: @c kALEventParameterProductIdentifierKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserAddedItemToWishlist; + +/** + * Signifies that the user provided payment information, such as a credit card number. + * + * Suggested parameters: None. + * + * @warning Please do not pass AppLovin any personally identifiable information (PII) or financial/payment information. + */ +extern NSString *const kALEventTypeUserProvidedPaymentInformation; + +/** + * Signifies that the user began a check-out / purchase process. + * + * Suggested parameters: @c kALEventParameterProductIdentifierKey, @c kALEventParameterRevenueAmountKey, and @c kALEventParameterRevenueCurrencyKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserBeganCheckOut; + +/** + * Signifies that the user completed a check-out / purchase. + * + * Suggested parameters: @c kALEventParameterCheckoutTransactionIdentifierKey, @c kALEventParameterProductIdentifierKey, @c kALEventParameterRevenueAmountKey, + * and @c kALEventParameterRevenueCurrencyKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserCompletedCheckOut; + +/** + * Signifies that the user completed an iTunes in-app purchase using StoreKit. + * + * Note that this event implies an in-app content purchase; for purchases of general products completed using Apple Pay, use + * @c kALEventTypeUserCompletedCheckOut instead. + * + * Suggested parameters: @c kALEventParameterProductIdentifierKey, @c kALEventParameterStoreKitTransactionIdentifierKey, @c kALEventParameterStoreKitReceiptKey, + * @c kALEventParameterRevenueAmountKey, and @c kALEventParameterRevenueCurrencyKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserCompletedInAppPurchase; + +/** + * Signifies that the user has created a reservation or other date-specific event. + * + * Suggested parameters: @c kALEventParameterProductIdentifierKey, @c kALEventParameterReservationStartDateKey, and @c kALEventParameterReservationEndDateKey. + * + * AppLovin recommends that you pass these key-value pairs to @code -[ALEventService trackEvent:parameters:] @endcode. + */ +extern NSString *const kALEventTypeUserCreatedReservation; + +/** + * @name Social Events + */ + +/** + * Signifies that the user sent an invitation to use your app to a friend. + * + * Suggested parameters: None. + */ +extern NSString *const kALEventTypeUserSentInvitation; + +/** + * Signifies that the user shared a link or deep-link to some content within your app. + * + * Suggested parameters: None. + */ +extern NSString *const kALEventTypeUserSharedLink; + +/** + * @name Event Parameters + */ + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the username or account ID of the user. Expects a + * corresponding value of type @c NSString. + */ +extern NSString *const kALEventParameterUserAccountIdentifierKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that identifies a particular piece of content viewed by the user. Expects a + * corresponding value of type @c NSString. + * + * This could be something like a section title, or even a name of a view controller. + * For views of particular products, it is preferred you pass an SKU under @c kALEventParameterProductIdentifierKey. + */ +extern NSString *const kALEventParameterContentIdentifierKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents a search query executed by the user. Expects a corresponding + * value of type @c NSString. + * + * In most cases the text that the user enters into a @c UISearchBar is what you want to provide as the value. + */ +extern NSString *const kALEventParameterSearchQueryKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that identifies the level the user has just completed. Expects a corresponding + * value of type @c NSString. + */ +extern NSString *const kALEventParameterCompletedLevelKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that identifies the achievement the user has just completed/unlocked. Expects + * a corresponding value of type @c NSString. + */ +extern NSString *const kALEventParameterCompletedAchievementKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the amount of virtual currency that a user spent on an in-game + * purchase. Expects a corresponding value of type @c NSNumber. + */ +extern NSString *const kALEventParameterVirtualCurrencyAmountKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the name of the virtual currency that a user spent on an + * in-game purchase. Expects a corresponding value of type @c NSString. + */ +extern NSString *const kALEventParameterVirtualCurrencyNameKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that identifies a particular product. Expects a corresponding value of type + * @c NSString. + * + * This could be something like a product name, SKU, or inventory ID. For non-product content, for example to track uses of particular view controllers, pass + * @c kALEventParameterContentIdentifierKey instead. + */ +extern NSString *const kALEventParameterProductIdentifierKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the amount of revenue generated by a purchase event. Expects a + * corresponding value of type @c NSNumber. + */ +extern NSString *const kALEventParameterRevenueAmountKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the currency of the revenue event. Expects a corresponding + * value of type @c NSString. + * + * Ideally this should be an ISO 4217 three-letter currency code (for instance, @c "USD", @c "EUR", @c "GBP", and so forth). + * + * @see https://en.wikipedia.org/wiki/ISO_4217 + */ +extern NSString *const kALEventParameterRevenueCurrencyKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents a unique identifier for the current checkout transaction. + * Expects a corresponding value of type @c NSString. + */ +extern NSString *const kALEventParameterCheckoutTransactionIdentifierKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the StoreKit transaction ID associated with the revenue keys. + * Expects a corresponding value of type @c NSString. + * + * This identifier should match the value of @code -[SKPaymentTransaction transactionIdentifier] @endcode. + */ +extern NSString *const kALEventParameterStoreKitTransactionIdentifierKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the StoreKit receipt associated with the revenue keys. Expects + * a corresponding value of type @c NSData. + * + * The receipt can be collected in this way: + * @code NSData* receipt = [NSData dataWithContentsOfURL: [[NSBundle mainBundle] appStoreReceiptURL]]; @endcode + */ +extern NSString *const kALEventParameterStoreKitReceiptKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the start date of a reservation. Expects a corresponding value + * of type @c NSDate. + * + * If a reservation does not span multiple days, you can submit only @c kALEventParameterReservationStartDateKey and ignore the corresponding + * @c kALEventParameterReservationEndDateKey parameter. + */ +extern NSString *const kALEventParameterReservationStartDateKey; + +/** + * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the end date of a reservation. Expects a corresponding value + * of type @c NSDate. + * + * If a reservation does not span multiple days, you can submit only @c kALEventParameterReservationStartDateKey and ignore this parameter. + */ +extern NSString *const kALEventParameterReservationEndDateKey; + +#endif + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h new file mode 100644 index 0000000..636a3e3 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h @@ -0,0 +1,212 @@ +// +// ALIncentivizedInterstitialAd.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import +#import + +@class ALAd; +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class shows rewarded videos to the user. These differ from regular interstitials in that they allow you to provide your user virtual currency in + * exchange for watching a video. + */ +@interface ALIncentivizedInterstitialAd : NSObject + +#pragma mark - Ad Delegates + +/** + * An object that conforms to the @c ALAdDisplayDelegate protocol. If you provide a value for @c adDisplayDelegate in your instance, the SDK will + * notify this delegate of ad show/hide events. + */ +@property (nonatomic, strong, nullable) id adDisplayDelegate; + +/** + * An object that conforms to the @c ALAdVideoPlaybackDelegate protocol. If you provide a value for @c adVideoPlaybackDelegate in your instance, + * the SDK will notify this delegate of video start/stop events. + */ +@property (nonatomic, strong, nullable) id adVideoPlaybackDelegate; + +#pragma mark - Integration, Class Methods + +/** + * Gets a reference to the shared instance of @c [ALIncentivizedInterstitialAd]. + * + * This wraps the @code +[ALSdk shared] @endcode call, and will only work if you have set your SDK key in @code Info.plist @endcode. + */ ++ (ALIncentivizedInterstitialAd *)shared; + +/** + * Pre-loads an incentivized interstitial, and notifies your provided Ad Load Delegate. + * + * Invoke this once to pre-load, then do not invoke it again until the ad has has been closed (e.g., in the + * @code -[ALAdDisplayDelegate ad:wasHiddenIn:] @endcode callback). + * + * @warning You may pass a @c nil argument to @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode if you intend to use the synchronous + * (@code +[ALIncentivizedIntrstitialAd isReadyForDisplay] @endcode) flow. This is not recommended; AppLovin highly recommends that + * you use an ad load delegate. + * + * This method uses the shared instance, and will only work if you have set your SDK key in @code Info.plist @endcode. + * + * Note that AppLovin tries to pull down the next ad’s resources before you need it. Therefore, this method may complete immediately in many circumstances. + * + * @param adLoadDelegate The delegate to notify that preloading was completed. May be @c nil (see warning). + */ ++ (void)preloadAndNotify:(nullable id)adLoadDelegate; + +/** + * Whether or not an ad is currently ready on this object. You must first have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode in order + * for this value to be meaningful. + * + * @warning It is highly recommended that you implement an asynchronous flow (using an @c ALAdLoadDelegate with + * @code -[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode) rather than checking this property. This class does not contain a queue and can + * hold only one preloaded ad at a time. Therefore, you should not simply call + * @code -[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode) any time this method returns @c NO; it is important to invoke only one ad load — + * then not invoke any further loads until the ad has been closed (e.g., in the @code -[ALAdDisplayDelegate ad:wasHiddenIn:] @endcode callback). + * + * @return @c YES if an ad has been loaded into this incentivized interstitial and is ready to display. @c NO otherwise. + */ ++ (BOOL)isReadyForDisplay; + +/** + * Shows an incentivized interstitial over the current key window, by using the most recently pre-loaded ad. + * + * You must have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode before you call @code +[ALIncentivizedInterstitialAd show] @endcode. + */ ++ (void)show; + +/** + * Shows an incentivized interstitial over the current key window, by using the most recently pre-loaded ad. + * + * You must have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode before you call @c showAndNotify. + * + * By using the @c ALAdRewardDelegate, you can verify with AppLovin servers that the video view is legitimate, as AppLovin will confirm whether + * the specific ad was actually served. Then AppLovin will ping your server with a URL at which you can update the user’s balance. The Reward Validation + * Delegate will tell you whether this service was able to reach AppLovin servers or not. If you receive a successful response, you should refresh the user’s + * balance from your server. For more info, see the documentation. + * + * @param adRewardDelegate The reward delegate to notify upon validating reward authenticity with AppLovin. + * + * @see MAX Integration Guide ⇒ MAX S2S Rewarded Callback API + */ ++ (void)showAndNotify:(nullable id)adRewardDelegate; + +#pragma mark - Integration, Instance Methods + +/** + * Initializes an incentivized interstitial with a specific custom SDK. + * + * This is necessary if you use @code +[ALSdk sharedWithKey:] @endcode. + * + * @param sdk An SDK instance to use. + */ +- (instancetype)initWithSdk:(ALSdk *)sdk; + +#pragma mark - Integration, zones + +/** + * Initializes an incentivized interstitial with a zone. + * + * @param zoneIdentifier The identifier of the zone for which to load ads. + */ +- (instancetype)initWithZoneIdentifier:(NSString *)zoneIdentifier; + +/** + * Initializes an incentivized interstitial with a zone and a specific custom SDK. + * + * This is necessary if you use @code +[ALSdk sharedWithKey:] @endcode. + * + * @param zoneIdentifier The identifier of the zone for which to load ads. + * @param sdk An SDK instance to use. + */ +- (instancetype)initWithZoneIdentifier:(NSString *)zoneIdentifier sdk:(ALSdk *)sdk; + +/** + * The zone identifier this incentivized ad was initialized with and is loading ads for, if any. + */ +@property (nonatomic, copy, readonly, nullable) NSString *zoneIdentifier; + +/** + * Pre-loads an incentivized interstitial, and notifies your provided Ad Load Delegate. + * + * Invoke this once to pre-load, then do not invoke it again until the ad has has been closed (e.g., in the + * @code -[ALAdDisplayDelegate ad:wasHiddenIn:] @endcode callback). + * + * @warning You may pass a @c nil argument to @c preloadAndNotify if you intend to use the synchronous + * (@code +[ALIncentivizedIntrstitialAd isReadyForDisplay] @endcode) flow. This is not recommended; AppLovin highly recommends that + * you use an ad load delegate. + * + * Note that AppLovin tries to pull down the next ad’s resources before you need it. Therefore, this method may complete immediately in many circumstances. + * + * @param adLoadDelegate The delegate to notify that preloading was completed. May be @c nil (see warning). + */ +- (void)preloadAndNotify:(nullable id)adLoadDelegate; + +/** + * Whether or not an ad is currently ready on this object. You must first have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode in order + * for this value to be meaningful. + * + * @warning It is highly recommended that you implement an asynchronous flow (using an @c ALAdLoadDelegate with + * @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode rather than checking this property. This class does not contain a queue and can + * hold only one preloaded ad at a time. Therefore, you should not simply call + * @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode any time this method returns @c NO; it is important to invoke only one ad load — + * then not invoke any further loads until the ad has been closed (e.g., in the @code -[ALAdDisplayDelegate ad:wasHiddenIn:] @endcode callback). + * + * @return @c YES if an ad has been loaded into this incentivized interstitial and is ready to display. @c NO otherwise. + */ +@property (atomic, readonly, getter=isReadyForDisplay) BOOL readyForDisplay; + +/** + * Shows an incentivized interstitial over the current key window, by using the most recently pre-loaded ad. + * + * You must have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode before you call @c show. + */ +- (void)show; + +/** + * Shows an incentivized interstitial over the current key window, by using the most recently pre-loaded ad. + * + * You must have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode before you call @c showAndNotify. + * + * By using the @c ALAdRewardDelegate, you can verify with AppLovin servers that the video view is legitimate, as AppLovin will confirm whether + * the specific ad was actually served. Then AppLovin will ping your server with a URL at which you can update the user’s balance. The Reward Validation + * Delegate will tell you whether this service was able to reach AppLovin servers or not. If you receive a successful response, you should refresh the user’s + * balance from your server. For more info, see the documentation. + * + * @param adRewardDelegate The reward delegate to notify upon validating reward authenticity with AppLovin. + * + * @see MAX Integration Guide ⇒ MAX S2S Rewarded Callback API + */ +- (void)showAndNotify:(nullable id)adRewardDelegate; + +/** + * Shows an incentivized interstitial, by using the most recently pre-loaded ad. + * + * You must have called @code +[ALIncentivizedInterstitialAd preloadAndNotify:] @endcode before you call @c showAd. + * + * By using the @c ALAdRewardDelegate, you can verify with AppLovin servers that the video view is legitimate, as AppLovin will confirm whether + * the specific ad was actually served. Then AppLovin will ping your server with a URL at which you can update the user’s balance. The Reward Validation + * Delegate will tell you whether this service was able to reach AppLovin servers or not. If you receive a successful response, you should refresh the user’s + * balance from your server. For more info, see the documentation. + * + * @param ad The ad to render into this incentivized ad. + * @param adRewardDelegate The reward delegate to notify upon validating reward authenticity with AppLovin. + * + * @see MAX Integration Guide ⇒ MAX S2S Rewarded Callback API + */ +- (void)showAd:(ALAd *)ad andNotify:(nullable id)adRewardDelegate; + +- (instancetype)init __attribute__((unavailable("Use initWithSdk:, initWithZoneIdentifier:, or [ALIncentivizedInterstitialAd shared] instead."))); ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALInterstitialAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALInterstitialAd.h new file mode 100644 index 0000000..d37b440 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALInterstitialAd.h @@ -0,0 +1,85 @@ +// +// ALInterstitialAd.h +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import + +@class ALAd; +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class displays full-screen ads to the user. + */ +@interface ALInterstitialAd : NSObject + +#pragma mark - Ad Delegates + +/** + * An object that conforms to the @c ALAdLoadDelegate protocol. If you provide a value for @c adLoadDelegate in your instance, the SDK will notify + * this delegate of ad load events. + */ +@property (nonatomic, strong, nullable) id adLoadDelegate; + +/** + * An object that conforms to the @c ALAdDisplayDelegate protocol. If you provide a value for @c adDisplayDelegate in your instance, the SDK will + * notify this delegate of ad show/hide events. + */ +@property (nonatomic, strong, nullable) id adDisplayDelegate; + +/** + * An object that conforms to the @c ALAdVideoPlaybackDelegate protocol. If you provide a value for @c adVideoPlaybackDelegate in your instance, + * the SDK will notify this delegate of video start/finish events. + */ +@property (nonatomic, strong, nullable) id adVideoPlaybackDelegate; + +#pragma mark - Loading and Showing Ads, Class Methods + +/** + * Shows an interstitial over the application’s key window. This loads the next interstitial and displays it. + */ ++ (instancetype)show; + +/** + * Gets a reference to the shared singleton instance. + * + * This method calls @code +[ALSdk shared] @endcode which requires that you have an SDK key defined in @code Info.plist @endcode. + * + * @warning If you use @code +[ALSdk sharedWithKey:] @endcode then you will need to use the instance methods instead. + */ ++ (instancetype)shared; + +#pragma mark - Loading and Showing Ads, Instance Methods + +/** + * Shows an interstitial over the application’s key window. This loads the next interstitial and displays it. + */ +- (void)show; + +/** + * Shows the current interstitial over a given window and renders a specified ad loaded by @c ALAdService. + * + * @param ad The ad to render into this interstitial. + */ +- (void)showAd:(ALAd *)ad; + +#pragma mark - Initialization + +/** + * Initializes an instance of this class with an SDK instance. + * + * @param sdk The AppLovin SDK instance to use. + */ +- (instancetype)initWithSdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMacros.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMacros.h new file mode 100644 index 0000000..352395e --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMacros.h @@ -0,0 +1,86 @@ +// +// ALMacros.h +// AppLovinSDK +// +// Created by Thomas So on 1/1/22. +// + +NS_ASSUME_NONNULL_BEGIN + +NS_INLINE BOOL isMainQueue (void) +{ + return [NSThread isMainThread]; +} + +NS_INLINE void deferToNextMainQueueRunloop (void (^block)(void)) +{ + [[NSOperationQueue mainQueue] addOperationWithBlock: block]; +} + +NS_INLINE void dispatchOnMainQueueNow (void (^block)(void)) +{ + dispatch_async(dispatch_get_main_queue(), block); +} + +NS_INLINE void dispatchOnMainQueue (void (^block)(void)) +{ + if ( isMainQueue() ) + { + block(); + } + else + { + deferToNextMainQueueRunloop(block); + } +} + +NS_INLINE void dispatchOnMainQueueImmediate (void (^block)(void)) +{ + if ( isMainQueue () ) + { + block(); + } + else + { + dispatchOnMainQueueNow(block); + } +} + +NS_INLINE void dispatchOnMainQueueAfter (double delay, dispatch_block_t __nonnull block) +{ + if ( delay > 0 ) + { + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t) (delay * NSEC_PER_SEC)), dispatch_get_main_queue(), block); + } + else + { + dispatchOnMainQueueImmediate(block); + } +} + +NS_INLINE void dispatchOnMainQueueAfterAndDeferToNextMainQueueRunloop (double delay, dispatch_block_t __nonnull block) +{ + if ( delay > 0 ) + { + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t) (delay * NSEC_PER_SEC)), dispatch_get_main_queue(), block); + } + else + { + deferToNextMainQueueRunloop(block); + } +} + +NS_INLINE void dispatchSyncOnMainQueue (dispatch_block_t __nonnull block) +{ + // Cannot call dispatch_sync on same queue results in deadlock - so just run op if main queue already + if ( isMainQueue() ) + { + block(); + } + else + { + dispatch_sync(dispatch_get_main_queue(), block); + } +} + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationAdapter.h new file mode 100644 index 0000000..c631c45 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationAdapter.h @@ -0,0 +1,75 @@ +// +// MAMediationAdapterBase.h +// AppLovinSDK +// +// Created by Santosh Bagadi on 8/29/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import +#import + +@class ALSdk; +@class MAReward; + +NS_ASSUME_NONNULL_BEGIN + +@interface ALMediationAdapter : NSObject + +/** + * Left here for backwards-compatibility purposes - to be removed when enough time passes + * The AppLovin mediation tag to send to mediated ad networks. + */ +@property (nonatomic, copy, readonly) NSString *mediationTag; + +// The AppLovin mediation tag to send to mediated ad networks. +@property (class, nonatomic, copy, readonly) NSString *mediationTag; + +// Parent objects +@property (atomic, weak, readonly) ALSdk *sdk; +@property (atomic, copy, readonly) NSString *tag; + +- (instancetype)initWithSdk:(ALSdk *)sdk; +- (instancetype)init NS_UNAVAILABLE; + +@end + +@interface ALMediationAdapter (RewardUtils) + +// AppLovin server-provided reward. +@property (nonatomic, strong, readonly) MAReward *reward; + +/** + * This property determines if the adapter should always reward the user. + * Note: some networks let users opt out of a video/reward and have a corresponding callback for rewarding the user. + * + * @return if the adapter should always reward the user. + */ +@property (nonatomic, assign, readonly, getter=shouldAlwaysRewardUser) BOOL alwaysRewardUser; + +/** + * Creates a reward from the server parameters and configures any reward settings. + */ +- (void)configureRewardForParameters:(id)parameters; + +@end + +@interface ALMediationAdapter (Logging) + +- (void)d:(NSString *)format, ...; +- (void)i:(NSString *)format, ...; +- (void)w:(NSString *)format, ...; +- (void)e:(NSString *)format, ...; +- (void)e:(NSString *)message becauseOf:(nullable NSException *)ex; +- (void)userError:(NSString *)format, ...; +- (void)userError:(NSString *)message becauseOf:(nullable NSException *)ex; + +- (void)log:(NSString *)format, ...; + +@end + +@interface ALMediationAdapter (ALDeprecated) +extern NSString *const kMAConfigKeyMuted __deprecated_msg("Adapters no longer support mute APIs."); +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h new file mode 100644 index 0000000..c692f9d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h @@ -0,0 +1,141 @@ +// +// ALMediationAdapterRouter.h +// AppLovinSDK +// +// Created by Christopher Cong on 10/25/18. +// + +#import +#import +#import +#import +#import +#import + +@class MAAdapterError; +@class MAReward; + +NS_ASSUME_NONNULL_BEGIN + +/** + * For ad networks with a singleton callback pattern, this class is responsible for routing their events to our mediation adapters. + * + * This class should only be initialized once per adapter and must be subclassed to be used. Use -sharedInstance to create and access a router. + * Subclasses should map an ad network's ad events to the methods marked under Ad Network Event Router. + **/ +@interface ALMediationAdapterRouter : NSObject + +/** + * For ad networks whose initialization is completed asynchronously, the router will need to retain the completionHandler until the initialization is completed. + * Be sure to set this to nil after calling it. + */ +//TODO: remove this once adapter routers have moved away from initialization. +@property (nonatomic, copy, nullable) void(^completionHandler)(void); + +/** + * Mediation adapters should call this when loading an interstitial ad. + * + * @param adapter Mediation adapter responsible for the mediated ad request. + * @param delegate Delegate that is listening to the mediation adapter events. + * @param placementIdentifier Placement identifier requested for the ad load. + */ +- (void)addInterstitialAdapter:(id)adapter + delegate:(id)delegate + forPlacementIdentifier:(NSString *)placementIdentifier; + +/** + * Mediation adapters should call this when loading an app open ad. + * + * @param adapter Mediation adapter responsible for the mediated ad request. + * @param delegate Delegate that is listening to the mediation adapter events. + * @param placementIdentifier Placement identifier requested for the ad load. + */ +- (void)addAppOpenAdapter:(id)adapter + delegate:(id)delegate + forPlacementIdentifier:(NSString *)placementIdentifier; + +/** + * Mediation adapters should call this when loading a rewarded ad. + * + * @param adapter Mediation adapter responsible for the mediated ad request. + * @param delegate Delegate that is listening to the mediation adapter events. + * @param placementIdentifier Placement identifier requested for the ad load. + */ +- (void)addRewardedAdapter:(id)adapter + delegate:(id)delegate + forPlacementIdentifier:(NSString *)placementIdentifier; + +/** + * Mediation adapters should call this when loading an ad view. + * + * @param adapter Mediation adapter responsible for the mediated ad request. + * @param delegate Delegate that is listening to the mediation adapter events. + * @param placementIdentifier Placement identifier requested for the ad load. + * @param adView The ad view for the adapter. May be null. + */ +- (void)addAdViewAdapter:(id)adapter + delegate:(id)delegate + forPlacementIdentifier:(NSString *)placementIdentifier + adView:(nullable UIView *)adView; + +/** + * Updates the underlying ad view for the given placement id. This is useful if by the time an adapter is added + * to the router's map, there is no ad view present yet. (e.g. UnityAds). + * + * @param adView The ad view to update for the adapter. + * @param placementIdentifier Placement identifier for the ad view. + */ +- (void)updateAdView:(UIView *)adView forPlacementIdentifier:(NSString *)placementIdentifier; + +/** + * Mediation should call this on when showing an ad. + */ +- (void)addShowingAdapter:(id)showingAdapter; + +/** + * Mediation adapters should call this on -destroy. + */ +- (void)removeAdapter:(id)adapter forPlacementIdentifier:(NSString *)placementIdentifier; + +#pragma mark - Ad Network Event Router + +- (void)didLoadAdForPlacementIdentifier:(NSString *)placementIdentifier; +- (void)didLoadAdForPlacementIdentifier:(NSString *)placementIdentifier withExtraInfo:(nullable NSDictionary *)extraInfo; +- (void)didFailToLoadAdForPlacementIdentifier:(NSString *)placementIdentifier error:(MAAdapterError *)error; + +- (void)didDisplayAdForPlacementIdentifier:(NSString *)placementIdentifier; +- (void)didDisplayAdForPlacementIdentifier:(NSString *)placementIdentifier withExtraInfo:(nullable NSDictionary *)extraInfo; +- (void)didFailToDisplayAdForPlacementIdentifier:(NSString *)placementIdentifier error:(MAAdapterError *)error; + +- (void)didClickAdForPlacementIdentifier:(NSString *)placementIdentifier; +- (void)didHideAdForPlacementIdentifier:(NSString *)placementIdentifier; + +// Rewarded delegate methods +- (void)didStartRewardedVideoForPlacementIdentifier:(NSString *)placementIdentifier; +- (void)didCompleteRewardedVideoForPlacementIdentifier:(NSString *)placementIdentifier; +- (void)didRewardUserForPlacementIdentifier:(NSString *)placementIdentifier withReward:(MAReward *)reward; + +// AdView delegate methods +- (void)didExpandAdForPlacementIdentifier:(NSString *)placementIdentifier; +- (void)didCollapseAdForPlacementIdentifier:(NSString *)placementIdentifier; + +#pragma mark - Adapter Reward Utility Methods + +- (MAReward *)rewardForPlacementIdentifier:(NSString *)placementIdentifier; +- (BOOL)shouldAlwaysRewardUserForPlacementIdentifier:(NSString *)placementIdentifier; + +#pragma mark - Logging Methods + +- (void)log:(NSString *)format, ...; +- (void)log:(NSString *)message becauseOf:(NSException *)exception; + +#pragma mark - Singleton + +/** + * This implementation uses the Registry Pattern to create/return the shared instance for a given subclass caller. + */ ++ (instancetype)sharedInstance; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationProvider.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationProvider.h new file mode 100644 index 0000000..7ce66bf --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALMediationProvider.h @@ -0,0 +1,42 @@ +// +// ALMediationProvider.h +// AppLovinSDK +// +// Created by Thomas So on 1/28/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * @file ALMediationProvider.h + * + * Names of mediation providers. + */ + +/** @brief AdMarvel */ +extern NSString *const ALMediationProviderAdMarvel; +/** @brief AdMob Mediation */ +extern NSString *const ALMediationProviderAdMob; +/** @brief AerServ | InMobi */ +extern NSString *const ALMediationProviderAerServ; +/** @brief Appodeal */ +extern NSString *const ALMediationProviderAppodeal; +/** @brief Fuse Powered */ +extern NSString *const ALMediationProviderFusePowered; +/** @brief Fyber Mediation */ +extern NSString *const ALMediationProviderFyber; +/** @brief HeyZap Mediation */ +extern NSString *const ALMediationProviderHeyzap; +/** @brief HyprMX */ +extern NSString *const ALMediationProviderHyprMX; +/** @brief ironSource */ +extern NSString *const ALMediationProviderIronsource; +/** @brief MAX */ +extern NSString *const ALMediationProviderMAX; +/** @brief MoPub Network Mediation */ +extern NSString *const ALMediationProviderMoPub; +/** @brief Tapdaq */ +extern NSString *const ALMediationProviderTapdaq; + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALPostbackDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALPostbackDelegate.h new file mode 100644 index 0000000..2dc5e2d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALPostbackDelegate.h @@ -0,0 +1,40 @@ +// +// ALPostbackDelegate +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALPostbackService; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol allows you to monitor the dispatching of postbacks to a developer-specified URL by the postback service. + */ +@protocol ALPostbackDelegate + +/** + * Indicates that a postback dispatched to a given URL completed successfully. + * + * Success means having received a 2xx response code from the remote endpoint. + * + * @param postbackService The postback service that made the postback call. + * @param postbackURL The URL that was notified. + */ +- (void)postbackService:(ALPostbackService *)postbackService didExecutePostback:(NSURL *)postbackURL; + +/** + * Indicates that a postback dispatched to a given URL has failed. + * + * Failure means having received a response code outside the 2xx range, or having been unable to establish a connection. + * + * @param postbackService The postback service that attempted the postback call. + * @param postbackURL The URL to which the notification attempt was made. + * @param errorCode The HTTP status code received, if any; otherwise one of the negative constants defined in ALErrorCodes.h. + */ +- (void)postbackService:(ALPostbackService *)postbackService didFailToExecutePostback:(nullable NSURL *)postbackURL errorCode:(NSInteger)errorCode; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALPrivacySettings.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALPrivacySettings.h new file mode 100644 index 0000000..635c313 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALPrivacySettings.h @@ -0,0 +1,96 @@ +// +// ALPrivacySettings.h +// AppLovinSDK +// +// Created by Basil Shikin on 3/26/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class contains privacy settings for AppLovin. + */ +@interface ALPrivacySettings : NSObject + +/** + * Sets whether or not the user has provided consent for information-sharing with AppLovin. + * + * @param hasUserConsent @c YES if the user provided consent for information-sharing with AppLovin. @c NO by default. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ General Data Protection Regulation ("GDPR") + */ ++ (void)setHasUserConsent:(BOOL)hasUserConsent; + +/** + * Checks if the user has provided consent for information-sharing with AppLovin. + * + * @return @c YES if the user provided consent for information sharing. @c NO if the user declined to share information or the consent value has not been set (see @c isUserConsentSet). + * + * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ General Data Protection Regulation ("GDPR") + */ ++ (BOOL)hasUserConsent; + +/** + * Checks if user has set consent for information sharing. + * + * @return @c YES if user has set a value of consent for information sharing. + */ ++ (BOOL)isUserConsentSet; + +/** + * Marks the user as age-restricted (i.e. under 16). + * + * @param isAgeRestrictedUser @c YES if the user is age-restricted (i.e. under 16). + * + * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ Children Data + */ ++ (void)setIsAgeRestrictedUser:(BOOL)isAgeRestrictedUser; + +/** + * Checks if the user is age-restricted. + * + * @return @c YES if the user is age-restricted. @c NO if the user is not age-restricted or the age-restriction value has not been set (see @c isAgeRestrictedUserSet). + * + * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ Children Data + */ ++ (BOOL)isAgeRestrictedUser; + +/** + * Checks if user has set its age restricted settings. + * + * @return @c YES if user has set its age restricted settings. + */ ++ (BOOL)isAgeRestrictedUserSet; + +/** + * Sets whether or not the user has opted out of the sale of their personal information. + * + * @param doNotSell @c YES if the user opted out of the sale of their personal information. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ California Consumer Privacy Act ("CCPA") + */ ++ (void)setDoNotSell:(BOOL)doNotSell; + +/** + * Checks if the user has opted out of the sale of their personal information. + * + * @return @c YES if the user opted out of the sale of their personal information. @c NO if the user opted in to the sale of their personal information or the value has not been set (see @c isDoNotSellSet). + * + * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ California Consumer Privacy Act ("CCPA") + */ ++ (BOOL)isDoNotSell; + +/** + * Checks if the user has set the option to sell their personal information. + * + * @return @c YES if user has chosen an option to sell their personal information. + */ ++ (BOOL)isDoNotSellSet; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdk.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdk.h new file mode 100644 index 0000000..d4009a6 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdk.h @@ -0,0 +1,232 @@ +// +// ALSdk.h +// AppLovinSDK +// +// Created by Basil Shikin on 2/1/12. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALAdService; +@class ALEventService; +@class ALSdkConfiguration; +@class ALSdkSettings; +@class ALTargetingData; +@class ALUserSegment; +@class ALVariableService; +@class MAMediatedNetworkInfo; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This is a base class for the AppLovin iOS SDK. + */ +@interface ALSdk : NSObject + + +#pragma mark - High Level SDK Properties + +/** + * The current version of the SDK. The value is in the format of "Major.Minor.Revision". + */ +@property (class, nonatomic, copy, readonly) NSString *version; + +/** + * The current version of the SDK in numeric format. + */ +@property (class, nonatomic, assign, readonly) NSUInteger versionCode; + +/** + * This SDK’s SDK key. + */ +@property (nonatomic, copy, readonly) NSString *sdkKey; + +/** + * This SDK’s SDK settings. + */ +@property (nonatomic, strong, readonly) ALSdkSettings *settings; + +/** + * The SDK configuration object that the SDK creates when you initialize the SDK. + */ +@property (nonatomic, strong, readonly) ALSdkConfiguration *configuration; + +/** + * Sets the plugin version for the mediation adapter or plugin. + * + * @param pluginVersion Some descriptive string that identifies the plugin. + */ +- (void)setPluginVersion:(NSString *)pluginVersion; + +/** + * An identifier for the current user. This identifier will be tied to SDK events and AppLovin’s optional S2S postbacks. + * + * If you use reward validation, you can optionally set an identifier that AppLovin will include with its currency validation postbacks (for example, a username + * or email address). AppLovin will include this in the postback when AppLovin pings your currency endpoint from our server. + * + * @see MAX Integration Guide ⇒ MAX S2S Rewarded Callback API ⇒ Setting an Internal User ID + */ +@property (nonatomic, copy, nullable) NSString *userIdentifier; + +/** + * A user segment allows AppLovin to serve ads by using custom-defined rules that are based on which segment the user is in. The user segment is a custom string + * of 32 alphanumeric characters or less. + */ +@property (nonatomic, strong, readonly) ALUserSegment *userSegment; + +/** + * A class which allows you to send any demographic or interest-based targeting data. + */ +@property (nonatomic, strong, readonly) ALTargetingData *targetingData; + +#pragma mark - SDK Services + +/** + * The ad service, which loads and displays ads from AppLovin servers. + */ +@property (nonatomic, strong, readonly) ALAdService *adService; + +/** + * The AppLovin event service, which tracks post-install user events. + * + * @return Event service. Guaranteed not to be @c NULL. + */ +@property (nonatomic, strong, readonly) ALEventService *eventService; + +/** + * Get an instance of the AppLovin variable service. This service is used to perform various A/B tests that you have set up on your AppLovin dashboard on your + * users. + * + * @return Variable service. Guaranteed not to be @c NULL. + */ +@property (nonatomic, strong, readonly) ALVariableService *variableService; + +#pragma mark - MAX + +/** + * The mediation provider. Set this either by using one of the provided strings in ALMediationProvider.h, or your own string if you do not find an + * applicable one there. + */ +@property (nonatomic, copy, nullable) NSString *mediationProvider; + +/** + * The list of available mediation networks, as an array of @c MAMediatedNetworkInfo objects. + */ +@property (nonatomic, strong, readonly) NSArray *availableMediatedNetworks; + +/** + * Present the mediation debugger UI. + * This debugger tool provides the status of your integration for each third-party ad network. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Mediation Debugger + */ +- (void)showMediationDebugger; + +/** + * Present the mediation debugger UI. + * This debugger tool provides the status of your integration for each third-party ad network. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Mediation Debugger + * + * @param amazonAdSizes A map of the MAX Ad Unit ID to Amazon Publisher Services' @c DTBAdSize. + */ +- (void)showMediationDebuggerWithAmazonAdSize:(nullable NSDictionary *)amazonAdSizes; + +/** + * Present the Creative Debugger UI. + * This debugger tool provides information for recently displayed ads. + */ +- (void)showCreativeDebugger; + +#pragma mark - SDK Initialization + +/** + * The sort of callback that the SDK calls when it finishes initializing. + */ +typedef void (^ALSdkInitializationCompletionHandler)(ALSdkConfiguration *configuration); + +/** + * Whether the SDK has fully been initialized without errors and the completion callback called. + */ +@property (nonatomic, assign, readonly, getter=isInitialized) BOOL initialized; + +/** + * Initializes the SDK. + */ +- (void)initializeSdk; + +/** + * Initializes the SDK with a given completion block. + * + * The SDK invokes the callback on the main thread. + * + * @param completionHandler The callback that the SDK will call when the SDK finishes initializing. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Integration ⇒ Initialize the SDK + */ +- (void)initializeSdkWithCompletionHandler:(nullable ALSdkInitializationCompletionHandler)completionHandler; + +/** + * Initializes the default instance of AppLovin SDK. + * + * @warning Make sure your SDK key is set in the application’s @code Info.plist @endcode under the property @c AppLovinSdkKey. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Integration ⇒ Initialize the SDK + */ ++ (void)initializeSdk; + +/** + * Initializes the default instance of AppLovin SDK. + * + * @warning Make sure your SDK key is set in the application’s @code Info.plist @endcode under the property @c AppLovinSdkKey. + * + * @param completionHandler The callback that the SDK will run on the main queue when the SDK finishes initializing. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Integration ⇒ Initialize the SDK + */ ++ (void)initializeSdkWithCompletionHandler:(nullable ALSdkInitializationCompletionHandler)completionHandler; + +/** + * Gets a shared instance of AppLovin SDK. + * + * @warning Make sure your SDK key is set in the application’s @code Info.plist @endcode under the property @c AppLovinSdkKey. + * + * @return The shared instance of AppLovin’s SDK, or @c nil (indicating an error) if the SDK key is not set in the application’s @code Info.plist @endcode. + */ ++ (nullable ALSdk *)shared; + +/** + * Gets a shared instance of AppLovin SDK. + * + * @warning Make sure your SDK key is set in the application’s @code Info.plist @endcode under the property @c AppLovinSdkKey. + * + * @param settings An SDK settings object. + * + * @return The shared instance of AppLovin’s SDK, or @c nil (indicating an error) if the SDK key is not set in the application’s @code Info.plist @endcode. + */ ++ (nullable ALSdk *)sharedWithSettings:(ALSdkSettings *)settings; + +/** + * Gets an instance of AppLovin SDK by using an SDK key. + * + * @param key SDK key to use for the instance of the AppLovin SDK. + * + * @return An instance of AppLovin’s SDK, or @c nil (indicating an error) if @c key is not set. + */ ++ (nullable ALSdk *)sharedWithKey:(NSString *)key; + +/** + * Gets an instance of AppLovin SDK by using an SDK key and providing SDK settings. + * + * @param key SDK key to use for the instance of the AppLovin SDK. + * @param settings An SDK settings object. + * + * @return An instance of AppLovin’s SDK, or @c nil (indicating an error) if @c key is not set. + */ ++ (nullable ALSdk *)sharedWithKey:(NSString *)key settings:(ALSdkSettings *)settings; + +- (instancetype)init __attribute__((unavailable("Use +[ALSdk shared], +[ALSdk sharedWithKey:], or +[ALSdk sharedWithKey:settings:]."))); ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdkConfiguration.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdkConfiguration.h new file mode 100644 index 0000000..18a1217 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdkConfiguration.h @@ -0,0 +1,89 @@ +// +// ALSdkConfiguration.h +// AppLovinSDK +// +// Created by Thomas So on 9/29/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * Object that contains various flags related to the SDK configuration. + */ +@interface ALSdkConfiguration : NSObject + +/** + * AppLovin SDK-defined app tracking transparency status values (extended to include "unavailable" state on iOS before iOS14). + */ +typedef NS_ENUM(NSInteger, ALAppTrackingTransparencyStatus) +{ + /** + * Device is on iOS before iOS14, AppTrackingTransparency.framework is not available. + */ + ALAppTrackingTransparencyStatusUnavailable = -1, + + /** + * The user has not yet received an authorization request to authorize access to app-related data that can be used for tracking the user or the device. + */ + ALAppTrackingTransparencyStatusNotDetermined, + + /** + * Authorization to access app-related data that can be used for tracking the user or the device is restricted. + */ + ALAppTrackingTransparencyStatusRestricted, + + /** + * The user denies authorization to access app-related data that can be used for tracking the user or the device. + */ + ALAppTrackingTransparencyStatusDenied, + + /** + * The user authorizes access to app-related data that can be used for tracking the user or the device. + */ + ALAppTrackingTransparencyStatusAuthorized +}; + +/** + * Gets the country code for this user. The value of this property will be an empty string if no country code is available for this user. + * + * @warning Do not confuse this with the currency code which is "USD" in most cases. + */ +@property (nonatomic, copy, readonly) NSString *countryCode; + +/** + * Get the list of those Ad Unit IDs that are in the waterfall that is currently active for a particular user and + * for which Amazon Publisher Services is enabled. + * + * Which waterfall is currently active for a user depends on things like A/B tests, keyword targeting, or DNT. + * + * @return @c nil when configuration fetching fails (e.g. in the case of no connection) or + * an empty array if no Ad Unit IDs have Amazon Publisher Services enabled. + */ +@property (nonatomic, strong, readonly, nullable) NSArray *enabledAmazonAdUnitIdentifiers; + +/** + * Indicates whether or not the user authorizes access to app-related data that can be used for tracking the user or the device. + * + * @warning Users can revoke permission at any time through the "Allow Apps To Request To Track" privacy setting on the device. + */ +@property (nonatomic, assign, readonly) ALAppTrackingTransparencyStatus appTrackingTransparencyStatus; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END + +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, ALConsentDialogState) +{ + ALConsentDialogStateUnknown, + ALConsentDialogStateApplies, + ALConsentDialogStateDoesNotApply +}; + +@interface ALSdkConfiguration (ALDeprecated) +@property (nonatomic, assign, readonly) ALConsentDialogState consentDialogState __deprecated_msg("This API has been deprecated and will be removed in a future release."); +@end diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdkSettings.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdkSettings.h new file mode 100644 index 0000000..ca3b35c --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALSdkSettings.h @@ -0,0 +1,119 @@ +// +// ALSdkSettings.h +// AppLovinSDK +// +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class contains settings that enable the AppLovin consent flow. + */ +@interface ALConsentFlowSettings : NSObject + +/** + * Set this to @c YES to enable the consent flow. You must also provide your privacy policy and terms of service URLs in this object, and you must provide a + * @c NSUserTrackingUsageDescription string in your @code Info.plist @endcode file. + * + * This defaults to the value that you entered into your @code Info.plist @endcode file via @c AppLovinConsentFlowInfo ⇒ @c AppLovinConsentFlowEnabled. + */ +@property (nonatomic, assign, getter=isEnabled) BOOL enabled; + +/** + * URL for your company’s privacy policy. This is required in order to enable the consent flow. + * + * This defaults to the value that you entered into your @code Info.plist @endcode file via @c AppLovinConsentFlowInfo ⇒ @c AppLovinConsentFlowPrivacyPolicy. + */ +@property (nonatomic, copy, nullable) NSURL *privacyPolicyURL; + +/** + * URL for your company’s terms of service. This is optional; you can enable the consent flow with or without it. + * + * This defaults to the value that you entered into your @code Info.plist @endcode file via @c AppLovinConsentFlowInfo ⇒ @c AppLovinConsentFlowTermsOfService. + */ +@property (nonatomic, copy, nullable) NSURL *termsOfServiceURL; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +/** + * This class contains settings for the AppLovin SDK. + */ +@interface ALSdkSettings : NSObject + +/** + * Settings relating to the AppLovin consent flow. + */ +@property (nonatomic, strong, readonly) ALConsentFlowSettings *consentFlowSettings; + +/** + * A toggle for verbose logging for the SDK. This is set to @c NO by default. Set it to @c NO if you want the SDK to be silent (this is recommended for App Store + * submissions). + * + * If set to @c YES AppLovin messages will appear in the standard application log which is accessible via the console. All AppLovin log messages are prefixed + * with the @code /AppLovinSdk: [AppLovinSdk] @endcode tag. + * + * Verbose logging is disabled (@c NO) by default. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Advanced Settings ⇒ Enable Verbose Logging + */ +@property (nonatomic, assign, getter=isVerboseLoggingEnabled) BOOL verboseLoggingEnabled; + +/** + * Whether to begin video ads in a muted state or not. Defaults to @c NO unless you change this in the dashboard. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Advanced Settings ⇒ Mute Audio + */ +@property (nonatomic, assign, getter=isMuted) BOOL muted; + +/** + * Whether the Creative Debugger will be displayed after flipping the device screen down twice. Defaults to @c YES. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Creative Debugger + */ +@property (nonatomic, assign, getter=isCreativeDebuggerEnabled) BOOL creativeDebuggerEnabled; + +/** + * Enable devices to receive test ads by passing in the advertising identifier (IDFA) of each test device. + * Refer to AppLovin logs for the IDFA of your current device. + */ +@property (nonatomic, copy) NSArray *testDeviceAdvertisingIdentifiers; + +/** + * The MAX ad unit IDs that you will use for this instance of the SDK. This initializes third-party SDKs with the credentials configured for these ad unit IDs. + */ +@property (nonatomic, copy) NSArray *initializationAdUnitIdentifiers; + +/** + * Whether or not the AppLovin SDK listens to exceptions. Defaults to @c YES. + */ +@property (nonatomic, assign, getter=isExceptionHandlerEnabled) BOOL exceptionHandlerEnabled; + +/** + * Whether or not the AppLovin SDK will collect the device location from `CLLocationManager` if available. Defaults to @c YES. + */ +@property (nonatomic, assign, getter=isLocationCollectionEnabled) BOOL locationCollectionEnabled; + +/** + * A copy of the extra parameters that are currently set. + */ +@property (nonatomic, copy) NSDictionary *extraParameters; + +/** + * Set an extra parameter to pass to the AppLovin server. + * + * @param key Parameter key. Must not be nil. + * @param value Parameter value. May be nil. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +@end + +@interface ALSdkSettings (ALDeprecated) +@property (nonatomic, assign) BOOL isVerboseLogging __deprecated_msg("This property is deprecated and will be removed in a future SDK version. Please use `-[ALSdkSettings isVerboseLoggingEnabled]` instead."); +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALTargetingData.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALTargetingData.h new file mode 100644 index 0000000..d03720d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALTargetingData.h @@ -0,0 +1,91 @@ +// +// ALTargetingData.h +// sdk +// +// Created by Basil on 9/18/12. +// Copyright © 2022 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This enumeration represents content ratings for the ads shown to users. + * They correspond to IQG Media Ratings. + */ +typedef NS_ENUM(NSInteger, ALAdContentRating) +{ + ALAdContentRatingNone, + ALAdContentRatingAllAudiences, + ALAdContentRatingEveryoneOverTwelve, + ALAdContentRatingMatureAudiences +}; + +/** + * This enumeration represents gender. + */ +typedef NS_ENUM(NSInteger, ALGender) +{ + ALGenderUnknown, + ALGenderFemale, + ALGenderMale, + ALGenderOther +}; + +/** + * This class allows you to provide user or app data that will improve how we target ads. + */ +@interface ALTargetingData : NSObject + +/** + * The year of birth of the user. + * Set this property to @c nil to clear this value. + */ +@property (nonatomic, strong, nullable) NSNumber *yearOfBirth; + +/** + * The gender of the user. + * Set this property to @c ALGenderUnknown to clear this value. + */ +@property (nonatomic, assign) ALGender gender; + +/** + * The maximum ad content rating shown to the user. + * Set this property to @c ALAdContentRatingNone to clear this value. + */ +@property (nonatomic, assign) ALAdContentRating maximumAdContentRating; + +/** + * The email of the user. + * Set this property to @c nil to clear this value. + */ +@property (nonatomic, copy, nullable) NSString *email; + +/** + * The phone number of the user. Do not include the country calling code. + * Set this property to @c nil to clear this value. + */ +@property (nonatomic, copy, nullable) NSString *phoneNumber; + +/** + * The keywords describing the application. + * Set this property to @c nil to clear this value. + */ +@property (nonatomic, copy, nullable) NSArray *keywords; + +/** + * The interests of the user. + * Set this property to @c nil to clear this value. + */ +@property (nonatomic, copy, nullable) NSArray *interests; + +/** + * Clear all saved data from this class. + */ +- (void)clearAll; + +- (instancetype)init NS_UNAVAILABLE; +- (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALUserSegment.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALUserSegment.h new file mode 100644 index 0000000..07e6f58 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALUserSegment.h @@ -0,0 +1,26 @@ +// +// ALUserSegment.h +// AppLovinSDK +// +// Created by Thomas So on 10/30/20. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * User segments allow AppLovin to serve ads by using custom-defined rules that are based on which segment the user is in. User segments are custom strings of + * 32 alphanumeric characters or less. + */ +@interface ALUserSegment : NSObject + +/** + * A custom user segment name with 32 alphanumeric characters or less, as defined in your AppLovin dashboard. + */ +@property (nonatomic, copy, nullable) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALUtils.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALUtils.h new file mode 100644 index 0000000..d49b80e --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALUtils.h @@ -0,0 +1,74 @@ +// +// ALUtils.h +// AppLovinSDK +// +// Created by Thomas So on 1/1/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class containing utility functions for convenience of adapters development and integration. + */ +@interface ALUtils : NSObject + +/** + * @return The currently visible top view controller from the app's window(s). + */ ++ (UIViewController *)topViewControllerFromKeyWindow; + +/** + * @return The app's current @c UIInterfaceOrientationMask. + */ ++ (UIInterfaceOrientationMask)currentOrientationMask; + +/** + * @return If the app is running in an iOS simulator. + */ +@property (class, nonatomic, readonly, getter=isSimulator) BOOL simulator; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +@interface NSString (ALSdk) +@property (nonatomic, assign, readonly, getter=al_isValidString) BOOL al_validString; +@property (nonatomic, assign, readonly, getter=al_isValidURL) BOOL al_validURL; +- (BOOL)al_isEqualToStringIgnoringCase:(NSString *)otherString; +@end + +@interface NSDictionary (ALSdk) +- (BOOL)al_boolForKey:(NSString *)key; +- (BOOL)al_boolForKey:(NSString *)key defaultValue:(BOOL)defaultValue; +- (nullable NSNumber *)al_numberForKey:(NSString *)key; +- (nullable NSNumber *)al_numberForKey:(NSString *)key defaultValue:(nullable NSNumber *)defaultValue; +- (nullable NSString *)al_stringForKey:(NSString *)key; +- (nullable NSString *)al_stringForKey:(NSString *)key defaultValue:(nullable NSString *)defaultValue; +- (nullable NSArray *)al_numberArrayForKey:(NSString *)key; +- (nullable NSArray *)al_numberArrayForKey:(NSString *)key defaultValue:(nullable NSArray *)defaultValue; +- (nullable NSArray *)al_arrayForKey:(NSString *)key; +- (nullable NSArray *)al_arrayForKey:(NSString *)key defaultValue:(nullable NSArray *)defaultValue; +- (nullable NSDictionary *)al_dictionaryForKey:(NSString *)key; +- (nullable NSDictionary *)al_dictionaryForKey:(NSString *)key defaultValue:(nullable NSDictionary *)defaultValue; +- (BOOL)al_containsValueForKey:(id)key; +@end + +@interface NSNumber (ALSdk) +@property (nonatomic, assign, readonly) NSTimeInterval al_timeIntervalValue; +@end + +@interface UIView (ALSdk) +- (void)al_pinToSuperview; +@end + +@interface NSDate (ALSdk) ++ (NSTimeInterval)al_timeIntervalNow; +@end + +@interface UIImageView (ALSdk) +- (void)al_setImageWithURL:(NSURL *)URL; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALVariableService.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALVariableService.h new file mode 100644 index 0000000..dfd3769 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/ALVariableService.h @@ -0,0 +1,75 @@ +// +// ALVariableService.h +// AppLovinSDK +// +// Created by Thomas So on 10/7/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class ALVariableService; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Use this service to retrieve values of variables that were pre-defined on AppLovin’s dashboard. + */ +@interface ALVariableService : NSObject + +/** + * Returns the boolean value of the variable named by the given key. + * Returns @c false if you did not define a boolean mapping for the given key. + * + * @param key The name of the variable for which you want to retrieve the value. + * + * @return The boolean value of the variable named by the value of @c key, @c false if that value is non-boolean, or @c nil if no such value was found. + */ +- (BOOL)boolForKey:(NSString *)key; + +/** + * Returns the boolean value of the variable named by the given key, or a specified default value. + * Returns the specified default value if you did not define a boolean mapping for the given key. + * + * @param key The name of the variable for which you want to retrieve the value. + * @param defaultValue The value to return if the variable named @c key does not exist. + * + * @return The value of the variable named by the value of @c key, or the value of @c defaultValue if no such variable was found. + */ +- (BOOL)boolForKey:(NSString *)key defaultValue:(BOOL)defaultValue; + +/** + * Returns the string value of the variable named by the given key. + * Returns @c nil if no mapping of the desired type exists for the given key. + * + * @param key The name of the variable for which you want to retrieve the value. + * + * @return The value of the variable named by the value of @c key, or @c nil if no value was found. + */ +- (nullable NSString *)stringForKey:(NSString *)key; + +/** + * Returns the string value of the variable named by the given key, or a specified default value. + * Returns the specified default value if no mapping of the desired type exists for the given key. + * + * @param key The name of the variable for which you want to retrieve the value. + * @param defaultValue The value to return if the variable named @c key does not exist. + * + * @return The value of the variable named by the value of @c key, or the value of @c defaultValue if no such variable was found. + */ +- (nullable NSString *)stringForKey:(NSString *)key defaultValue:(nullable NSString *)defaultValue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +__attribute__ ((deprecated)) +@protocol ALVariableServiceDelegate +- (void)variableService:(ALVariableService *)variableService didUpdateVariables:(NSDictionary *)variables __deprecated_msg("This API has been deprecated. Please use our SDK's initialization callback to retrieve variables instead."); +@end + +@interface ALVariableService (ALDeprecated) +@property (nonatomic, weak, nullable) id delegate __deprecated_msg("This API has been deprecated. Please use our SDK's initialization callback to retrieve variables instead."); +- (void)loadVariables __deprecated_msg("This API has been deprecated. Please use our SDK's initialization callback to retrieve variables instead."); +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/AppLovinSDK.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/AppLovinSDK.h new file mode 100644 index 0000000..162c920 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/AppLovinSDK.h @@ -0,0 +1,75 @@ +// +// AppLovinSDK.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/16. +// + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAd.h new file mode 100644 index 0000000..f15bdec --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAd.h @@ -0,0 +1,139 @@ +// +// MAAd.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import + +@class MAAdFormat; +@class MAAdWaterfallInfo; +@class MANativeAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents an ad that has been served by AppLovin MAX. + */ +@interface MAAd : NSObject + +/** + * The format of this ad. + */ +@property (nonatomic, strong, readonly) MAAdFormat *format; + +/** + * The size of the AdView format ad, or @c CGSizeZero otherwise. + */ +@property (nonatomic, assign, readonly) CGSize size; + +/** + * The ad unit ID for which this ad was loaded. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * The ad network from which this ad was loaded. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Creative Debugger ⇒ Network Name + */ +@property (nonatomic, copy, readonly) NSString *networkName; + +/** + * The ad network placement for which this ad was loaded. + */ +@property (nonatomic, copy, readonly) NSString *networkPlacement; + +/** + * The creative id tied to the ad, if any. You can report creative issues to the corresponding ad network using this id. + * + * It may not be available until @c -[MAAdDelegate didDisplayAd:] is called. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Creative Debugger ⇒ Creative ID + * + * @since 6.15.0 + */ +@property (nonatomic, copy, readonly, nullable) NSString *creativeIdentifier; + +/** + * The Ad Review creative id tied to the ad, if any. You can report creative issues to our Ad review team using this id. + * + * It may not be available until @c -[MAAdDelegate didDisplayAd:] is called. + * + * @since 11.3.0 + */ +@property (nonatomic, copy, readonly, nullable) NSString *adReviewCreativeIdentifier; + +/** + * The ad’s revenue amount. In the case where no revenue amount exists, or it is not available yet, will return a value of 0. + */ +@property (nonatomic, assign, readonly) double revenue; + +/** + * The precision of the revenue value for this ad. + * + * Possible values are: + * - "publisher_defined" - If the revenue is the price assigned to the line item by the publisher. + * - "exact" - If the revenue is the resulting price of a real-time auction. + * - "estimated" - If the revenue is the price obtained by auto-CPM. + * - "undefined" - If we do not have permission from the ad network to share impression-level data. + */ +@property (nonatomic, copy, readonly) NSString *revenuePrecision; + +/** + * The placement name that you assign when you integrate each ad format, for granular reporting in postbacks (e.g. "Rewarded_Store", "Rewarded_LevelEnd"). + */ +@property (atomic, copy, readonly, nullable) NSString *placement; + +/** + * The underlying waterfall of ad responses. + */ +@property (nonatomic, strong, readonly) MAAdWaterfallInfo *waterfall; + +/** + * The latency of the mediation ad load request in seconds. + */ +@property (nonatomic, assign, readonly) NSTimeInterval requestLatency; + +/** + * For Native ads only. Get an instance of the @c MANativeAd containing the assets used to render the native ad view. + */ +@property (nonatomic, strong, readonly, nullable) MANativeAd *nativeAd; + +/** + * The DSP network that provided the loaded ad when the ad is served through AppLovin Exchange. + */ +@property (nonatomic, copy, readonly, nullable) NSString *DSPName; + +/** + * The DSP id network that provided the loaded ad when the ad is served through AppLovin Exchange. + */ +@property (nonatomic, copy, readonly, nullable) NSString *DSPIdentifier; + +/** + * Gets the ad value for a given key. + * + * @param key The key for the value you want to retrieve. + * + * @return The ad value corresponding to @c key, or @c nil if no value for that key exists. + */ +- (nullable NSString *)adValueForKey:(NSString *)key; + +/** + * Gets the ad value for a given key. + * + * @param key The key for the value you want to retrieve. + * @param defaultValue The default value to return if the value for @c key does not exist or is @c nil. + * + * @return The ad value corresponding to @c key, or the default value if no value for that key exists. + */ +- (nullable NSString *)adValueForKey:(NSString *)key defaultValue:(nullable NSString *)defaultValue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdDelegate.h new file mode 100644 index 0000000..b7a260f --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdDelegate.h @@ -0,0 +1,91 @@ +// +// MAAdDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +@class MAAd; +@class MAError; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a listener to be notified about ad events. + */ +@protocol MAAdDelegate + +/** + * The SDK invokes this method when a new ad has been loaded. + * + * @param ad The ad that was loaded. + */ +- (void)didLoadAd:(MAAd *)ad; + +/** + * The SDK invokes this method when an ad could not be retrieved. + * + * Common error codes: + * + * + *
204no ad is available
5xxinternal server error
negative numberinternal errors
+ * + * @param adUnitIdentifier The ad unit ID that the SDK failed to load an ad for. + * @param error An object that encapsulates the failure info. + */ +- (void)didFailToLoadAdForAdUnitIdentifier:(NSString *)adUnitIdentifier withError:(MAError *)error; + +/** + * The SDK invokes this method when a full-screen ad is displayed. + * + * The SDK invokes this method on the main UI thread. + * + * @warning This method is deprecated for MRECs. It will only be called for full-screen ads. + * + * @param ad The ad that was displayed. + */ +- (void)didDisplayAd:(MAAd *)ad; + +/** + * The SDK invokes this method when a full-screen ad is hidden. + * + * The SDK invokes this method on the main UI thread. + * + * @warning This method is deprecated for MRECs. It will only be called for full-screen ads. + * + * @param ad The ad that was hidden. + */ +- (void)didHideAd:(MAAd *)ad; + +/** + * The SDK invokes this method when the ad is clicked. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad The ad that was clicked. + */ +- (void)didClickAd:(MAAd *)ad; + +/** + * The SDK invokes this method when the ad failed to display. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad The ad that the SDK failed to display for. + * @param error An object that encapsulates the failure info. + */ +- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error; + +@optional + +- (void)didPayRevenueForAd:(MAAd *)ad +__deprecated_msg("This callback has been deprecated and will be removed in a future SDK version. Please use -[MAAdRevenueDelegate didPayRevenueForAd:] instead."); +- (void)didFailToLoadAdForAdUnitIdentifier:(NSString *)adUnitIdentifier withErrorCode:(NSInteger)errorCode +__deprecated_msg("This callback has been deprecated and will be removed in a future SDK version. Please use -[MAAdDelegate didFailToLoadAdForAdUnitIdentifier:withError:] instead."); +- (void)didFailToDisplayAd:(MAAd *)ad withErrorCode:(NSInteger)errorCode +__deprecated_msg("This callback has been deprecated and will be removed in a future SDK version. Please use -[MAAdDelegate didFailToDisplayAd:withError:] instead."); + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdFormat.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdFormat.h new file mode 100644 index 0000000..0ca8fee --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdFormat.h @@ -0,0 +1,112 @@ +// +// MAAdFormat.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class defines a format of an ad. + */ +@interface MAAdFormat : NSObject + +/** + * Represents a 320×50 banner advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *banner; + +/** + * Represents a 300×250 rectangular advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *mrec; + +/** + * Represents a 728×90 leaderboard advertisement (for tablets). + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *leader; + +/** + * Represents a cross-promo advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *crossPromo; + +/** + * Represents a full-screen advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *interstitial; + +/** + * Similar to @code +[MaxAdFormat interstitial] @endcode, except that it is shown upon opening the app. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *appOpen; + +/** + * Similar to @code +[MAAdFormat interstitial] @endcode except that users are given a reward at the end of the advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *rewarded; + +/** + * Represents a fullscreen ad that the user can skip or be granted a reward upon successful completion of the ad. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *rewardedInterstitial; + +/** + * Represents a native advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *native; + +/** + * String representing the name of this ad format. Sample values include "BANNER", "MREC", "INTER", "REWARDED", etc. + */ +@property (nonatomic, copy, readonly) NSString *label; + +/** + * The size of the AdView format ad, or @c CGSizeZero otherwise. + */ +@property (nonatomic, assign, readonly) CGSize size; + +/** + * Get the adaptive banner size for the screen width (with safe areas insetted) at the current orientation. + * + * Note: The height is the only adaptive dimension; the width spans the screen. + * + * Note: Only AdMob / Google Ad Manager currently has support for adaptive banners and the maximum height is 15% the height of the screen. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners ⇒ Adaptive Banners + */ +@property (nonatomic, assign, readonly) CGSize adaptiveSize; + +/** + * Get the adaptive banner size for the provided width at the current orientation. + * + * Note: The height is the only adaptive dimension; the width that you provide will be passed back to you in the returned size. + * + * Note: Only AdMob / Google Ad Manager currently has support for adaptive banners and the maximum height is 15% the height of the screen. + * + * @param width The width to retrieve the adaptive banner size for, in points. + * + * @return The adaptive banner size for the current orientation and width. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners ⇒ Adaptive Banners + */ +- (CGSize)adaptiveSizeForWidth:(CGFloat)width; + +/** + * Whether or not the ad format is fullscreen: that is, an interstitial, rewarded, or rewarded interstitial. + */ +@property (nonatomic, assign, readonly, getter=isFullscreenAd) BOOL fullscreenAd; + +/** + * Whether or not the ad format is one of the following: a banner, leader, or MREC. + */ +@property (nonatomic, assign, readonly, getter=isAdViewAd) BOOL adViewAd; + +- (instancetype)init NS_UNAVAILABLE; +- (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdPlacer.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdPlacer.h new file mode 100644 index 0000000..e254718 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdPlacer.h @@ -0,0 +1,205 @@ +// +// MAAdPlacer.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 2/16/22. +// + +#import +#import + +@class MAAd; +@class MANativeAdViewBinder; + +NS_ASSUME_NONNULL_BEGIN + +@protocol MAAdPlacerDelegate + +@optional +- (void)didLoadAdAtIndexPath:(NSIndexPath *)indexPath; +- (void)didRemoveAdsAtIndexPaths:(NSArray *)indexPaths; +- (void)didClickAd:(MAAd *)ad; +- (void)didPayRevenueForAd:(MAAd *)ad; + +@end + +/** + * This class loads native ads and calculates ad positioning info within a content stream. + * + * @note If you're working with a @c UITableView or @c UICollectionView, you should consider using @c MATableViewPlacer or @c MACollectionViewAdPlacer respectively. If you wish to create an implementation for a custom UI component, you should use @c MAAdPlacer or subclass @c MACustomAdPlacer. + * + * @discussion Initialize with an @c MAAdPlacerSettings and call @c loadAds: as soon as possible to start queuing up ads to be placed into the stream. The ad placer decides which ad index paths to actually fill based on the currently visible or "fillable" index paths, which should be set using @c updateFillableIndexPaths: to reflect the present UI state. Upon insertion or removal of ads, the delegate will be informed via @c didLoadAdAtIndexPath: and @c didRemoveAdsAtIndexPaths: , which can in turn trigger any necessary UI updates. + * + * Use @c renderAdAtIndexPath: to render ads once they are inserted into its corresponding view. The ad placer should also be notified of modifications to the original data in the stream (i.e., insert, delete, move operations). + */ +@interface MAAdPlacer : NSObject + +@property (nonatomic, weak, nullable) id delegate; + +#pragma mark - Ad Rendering Properties + +/** + * The desired size for the ad view. + * + * If you're using default templates and this value is not set, ad views automatically size to 360x120 for "Small" and 360x300 for "Medium". + */ +@property (nonatomic, assign) CGSize adSize; + +/** + * The native ad view nib to use for rendering manual template ads. + */ +@property (nonatomic, strong, nullable) UINib *nativeAdViewNib; + +/** + * The native ad view binder to use for rendering manual template ads. + */ +@property (nonatomic, strong, nullable) MANativeAdViewBinder *nativeAdViewBinder; + +#pragma mark - Ads + +/** + * Load MAX native ads for stream. Set @code -[MAAdPlacer delegate] @endcode to assign a delegate that should be notified about ad load state. + */ +- (void)loadAds; + +/** + * Clears all ads placed in the stream, as well as any ads queued up for placement. + */ +- (void)clearAds; + +/** + * Clears ads placed in specified sections. + */ +- (void)clearAdsInSections:(NSIndexSet *)sections; + +/** + * Clears ads placed after the specified index path in its corresponding section. + * + * @return An array of cleared ad index paths. + */ +- (NSArray *)clearAdsInSectionAfterIndexPath:(NSIndexPath *)indexPath; + +/** + * Whether an index path represents an ad position. + */ +- (BOOL)isAdIndexPath:(NSIndexPath *)indexPath; + +/** + * Whether an index path contains a placed ad. + */ +- (BOOL)isFilledIndexPath:(NSIndexPath *)indexPath; + +/** + * Returns the size for an ad at a given index path. If an ad is not ready for that index path, returns @c CGSizeZero. + * + * If you're using default templates and @c adSize is not set, ad views automatically size to 360x120 for "Small" and 360x300 for "Medium". If the desired width is larger than the @c maximumWidth, the @c maximumWidth will be used while preserving the height for "Small" templates and the aspect ratio for "Medium". The size for manual templates will not be resized to fit. + */ +- (CGSize)sizeForAdAtIndexPath:(NSIndexPath *)indexPath withMaximumWidth:(CGFloat)maximumWidth; + +/** + * Renders an ad into the provided container view if an ad is loaded for that index path. + */ +- (void)renderAdAtIndexPath:(NSIndexPath *)indexPath inView:(UIView *)view; + +#pragma mark - Info + +/** + * Updates the index paths to consider for placing ads. This is typically called with the list of visible index paths whenever it changes. + */ +- (void)updateFillableIndexPaths:(NSArray *)indexPaths; + +/** + * Returns the number of items in a section after including inserted ads. + * + * @param originalNumberOfItems The original number of items in the section of the content stream. + * @param section The section in the content stream. + */ +- (NSInteger)adjustedNumberOfItems:(NSInteger)originalNumberOfItems inSection:(NSInteger)section; + +/** + * Returns the index path of an item after accounting for inserted ads. + * + * @param indexPath The original index path of an item in the original content stream. + */ +- (NSIndexPath *)adjustedIndexPathForOriginalIndexPath:(NSIndexPath *)indexPath; + +/** + * Returns the index path of an item in the original content stream. + * + * Ad index paths return nil since they do not have positions in the original stream. + * + * @param indexPath The adjusted index path of an item in the content stream with ads. + */ +- (nullable NSIndexPath *)originalIndexPathForAdjustedIndexPath:(NSIndexPath *)indexPath; + +/** + * Returns the index paths of items after accounting for inserted ads. + */ +- (NSArray *)adjustedIndexPathsForOriginalIndexPaths:(NSArray *)indexPaths; + +/** + * Returns the index paths of items in the original content stream. + */ +- (NSArray *)originalIndexPathsForAdjustedIndexPaths:(NSArray *)indexPaths; + +#pragma mark - Item Updates + +/** + * Updates positioning info for the insertion of items. + * + * @param indexPaths An array of adjusted index paths for inserted items. + */ +- (void)insertItemsAtIndexPaths:(NSArray *)indexPaths; + +/** + * Updates positioning info for the deletion of items. + * + * @param indexPaths An array of adjusted index paths for deleted items. + */ +- (void)deleteItemsAtIndexPaths:(NSArray *)indexPaths; + +/** + * Updates positioning info for moving an item. + * + * @param sourceIndexPath An adjusted index path for the item to be moved. + * @param destinationIndexPath An adjusted index path that is the destination of the move. + */ +- (void)moveItemAtIndexPath:(NSIndexPath *)sourceIndexPath toIndexPath:(NSIndexPath *)destinationIndexPath; + +#pragma mark - Section Updates + +/** + * Updates positioning info for inserting sections. + * + * @param sections An index set for positions where sections have been inserted. + */ +- (void)insertSections:(NSIndexSet *)sections; + +/** + * Updates positioning info for deleting sections. + * + * @param sections An index set for positions where sections have been deleting. + */ +- (void)deleteSections:(NSIndexSet *)sections; + +/** + * Updates positioning info for inserting sections. + * + * @param section The original index of the section. + * @param newSection The destination index of the section. + */ +- (void)moveSection:(NSInteger)section toSection:(NSInteger)newSection; + +/** + * Initializes an ad placer object. + * + * @param settings An ad placer settings object. + */ +- (instancetype)initWithSettings:(MAAdPlacerSettings *)settings; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h new file mode 100644 index 0000000..4474094 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h @@ -0,0 +1,80 @@ +// +// MAAdPlacerSettings.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 2/16/22. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class contains settings to configure an Ad Placer. + * + * @c MAAdPlacerSettings must be initialized with a valid native ad unit identifier. Add fixed positions using @c addFixedPosition: or set the @c repeatingInterval before initializing an @c MAAdPlacer with the settings. + */ +@interface MAAdPlacerSettings : NSObject + +/** + * The ad unit identifier for loading native ads. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * The fixed index paths to place ads at in a stream in sorted order. Can be modified using @c addFixedPosition: and @c resetFixedPositions. + */ +@property (nonatomic, strong, readonly) NSOrderedSet *fixedPositions; + +/** + * An interval to repeatedly place ads at in a stream. A valid repeating interval is any value greater than or equal to 2. A value less than 2 will disable it. + * + * Repeating ads are added only in sections with fixed positions, after the last fixed position in each section. If no fixed positions are set, repeating ads are added to the first section starting after @c repeatingInterval items. + */ +@property (nonatomic, assign) NSUInteger repeatingInterval; + +/** + * The maximum number of ads in a stream. Defaults to 256. + * + * If a stream contains multiple sections, this determines the maximum number of ads per section. + */ +@property (nonatomic, assign) NSUInteger maximumAdCount; + +/** + * The maximum number of ads to start preloading for placement in a stream. Defaults to 4. + */ +@property (nonatomic, assign) NSUInteger maximumPreloadedAdCount; + +/** + * Returns true if the repeating interval has been set to a value greater than or equal to 2. + */ +@property (nonatomic, assign, readonly, getter=isRepeatingEnabled) BOOL repeatingEnabled; + +/** + * Whether the positioning info is valid, i.e., fixed positions or a valid repeating interval have been set. + */ +@property (nonatomic, assign, readonly, getter=hasValidPositioning) BOOL validPositioning; + +/** + * Add a fixed position for an ad in a stream. + * + * @param indexPath An index path to place an ad at. + */ +- (void)addFixedPosition:(NSIndexPath *)indexPath; + +/** + * Remove all fixed positions. + */ +- (void)resetFixedPositions; + +/** + * Initializes an @c MAAdPlacerSettings instance with a native ad unit identifier. + * + * @param adUnitIdentifier A native ad unit identifier. + */ ++ (instancetype)settingsWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdRequestDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdRequestDelegate.h new file mode 100644 index 0000000..93a708e --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdRequestDelegate.h @@ -0,0 +1,26 @@ +// +// MAAdRequestDelegate.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/8/22. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a delegate to be notified about ad request events. + */ +@protocol MAAdRequestDelegate + +/** + * The SDK invokes this callback when it sends a request for an ad, which can be for the initial ad load and upcoming ad refreshes. + * + * The SDK invokes this callback on the UI thread. + * + * @param adUnitIdentifier The ad unit identifier that the SDK requested an ad for. + */ +- (void)didStartAdRequestForAdUnitIdentifier:(NSString *)adUnitIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h new file mode 100644 index 0000000..b808b3d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h @@ -0,0 +1,28 @@ +// +// MAAdRevenueDelegate.h +// AppLovinSDK +// +// Created by Andrew Tian on 6/3/21. +// + +@class MAAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a delegate to be notified about ad revenue events. + */ +@protocol MAAdRevenueDelegate + +/** + * The SDK invokes this callback when it detects a revenue event for an ad. + * + * The SDK invokes this callback on the UI thread. + * + * @param ad The ad for which the revenue event was detected. + */ +- (void)didPayRevenueForAd:(MAAd *)ad; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h new file mode 100644 index 0000000..e1d5036 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h @@ -0,0 +1,29 @@ +// +// MAAdReviewDelegate.h +// AppLovinSDK +// +// Created by Nana Amoah on 3/29/22. +// + +@class MAAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a delegate to be notified when the Ad Review SDK successfully generates a creative id. + */ +@protocol MAAdReviewDelegate + +/** + * The SDK invokes this callback when the Ad Review SDK successfully generates a creative id. + * + * The SDK invokes this callback on the UI thread. + * + * @param creativeIdentifier The Ad Review creative id tied to the ad, if any. You can report creative issues to our Ad review team using this id. + * @param ad The ad for which the ad review event was detected. + */ +- (void)didGenerateCreativeIdentifier:(NSString *)creativeIdentifier forAd:(MAAd *)ad; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdView.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdView.h new file mode 100644 index 0000000..c5b0f69 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdView.h @@ -0,0 +1,147 @@ +// +// MAAdView.h +// AppLovinSDK +// +// Created by Thomas So on 8/9/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import +#import +#import + +@class ALSdk; +@class MAAdFormat; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a view-based ad — i.e. banner/leader or MREC. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners + * @see MAX Integration Guide ⇒ iOS ⇒ MRECs + */ +@interface MAAdView : UIView + +/** + * Creates a new ad view for a given ad unit ID. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Creates a new ad view for a given ad unit ID. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +/** + * Creates a new ad view for a given ad unit ID and ad format. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param adFormat Ad format to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier adFormat:(MAAdFormat *)adFormat; + +/** + * Create a new ad view for a given ad unit ID, ad format, and SDK. + * + * @param adUnitIdentifier Ad unit id to load ads for. + * @param adFormat Ad format to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier adFormat:(MAAdFormat *)adFormat sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; +- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; +- (instancetype)initWithCoder:(NSCoder *)decoder NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about ad events. + */ +@property (nonatomic, weak, nullable) IBOutlet id delegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) IBOutlet id revenueDelegate; + +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) IBOutlet id requestDelegate; + +/** + * A delegate that will be notified about Ad Review events. + */ +@property (nonatomic, weak, nullable) IBOutlet id adReviewDelegate; + +/** + * Loads the ad for the current ad view. Set @code -[MAAdView delegate] @endcode to assign a delegate that should be notified about ad load state. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners ⇒ Loading a Banner + * @see MAX Integration Guide ⇒ iOS ⇒ MRECs ⇒ Loading an MREC + */ +- (void)loadAd; + +/** + * Starts or resumes auto-refreshing of the banner. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners ⇒ Showing a Banner + * @see MAX Integration Guide ⇒ iOS ⇒ MRECs ⇒ Hiding and Showing an MREC + */ +- (void)startAutoRefresh; + +/** + * Pauses auto-refreshing of the banner. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners ⇒ Hiding a Banner + * @see MAX Integration Guide ⇒ iOS ⇒ MRECs ⇒ Hiding and Showing an MREC + */ +- (void)stopAutoRefresh; + +/** + * The placement name that you assign when you integrate each ad format, for granular reporting in ad events (e.g. "Rewarded_Store", "Rewarded_LevelEnd"). + */ +@property (nonatomic, copy, nullable) NSString *placement; + +/** + * The ad unit identifier this @c MAAdView was initialized with and is loading ads for. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * The format of the ad view. + */ +@property (nonatomic, weak, readonly) MAAdFormat *adFormat; + +/** + * Sets an extra parameter key/value pair for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +/** + * The custom data to tie the showing ad to, for ILRD and rewarded postbacks via the @c {CUSTOM_DATA} macro. Maximum size is 8KB. + */ +@property (nonatomic, copy, nullable) NSString *customData; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h new file mode 100644 index 0000000..3f8d804 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h @@ -0,0 +1,39 @@ +// +// MAAdViewAdDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import + +@class MAAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This delegate is notified about ad view events. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Banners + * @see MAX Integration Guide ⇒ iOS ⇒ MRECs + */ +@protocol MAAdViewAdDelegate + +/** + * The SDK invokes this method when the @c MAAdView has expanded to the full screen. + * + * @param ad An ad for which the ad view expanded. + */ +- (void)didExpandAd:(MAAd *)ad; + +/** + * The SDK invokes this method when the @c MAAdView has collapsed back to its original size. + * + * @param ad An ad for which the ad view collapsed. + */ +- (void)didCollapseAd:(MAAd *)ad; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdapter.h new file mode 100644 index 0000000..fe95346 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdapter.h @@ -0,0 +1,37 @@ +// +// MAAdViewAdapter.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import + +@class MAAdFormat; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines methods for ad view-based adapters (banners, mrecs, and leaders). + */ +@protocol MAAdViewAdapter + +/** + * Schedule loading of the next ad view ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to load the ads. + * @param adFormat Format of the ad to load. + * @param delegate Delegate to be notified about ad events. + */ +- (void)loadAdViewAdForParameters:(id)parameters + adFormat:(MAAdFormat *)adFormat + andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h new file mode 100644 index 0000000..18ccc91 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h @@ -0,0 +1,94 @@ +// +// MAAdViewAdapterDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import +#import + +@class MAAdapterError; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for adview ads. + */ +@protocol MAAdViewAdapterDelegate + +/** + * This method should called when an ad has been loaded. + * + * @param adView Ad view that contains the loaded ad. + */ +- (void)didLoadAdForAdView:(UIView *)adView; + +/** + * This method should called when an ad has been loaded. + * + * @param adView Ad view that contains the loaded ad. + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadAdForAdView:(UIView *)adView withExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be loaded. + * + * @param adapterError An error object that indicates the cause of ad failure. + */ +- (void)didFailToLoadAdViewAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + */ +- (void)didDisplayAdViewAd; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayAdViewAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be displayed. + * + * @param adapterError An error object that indicates the cause of the failure. + */ +- (void)didFailToDisplayAdViewAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickAdViewAd; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickAdViewAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideAdViewAd; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideAdViewAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when the ad view has expanded full screen. + */ +- (void)didExpandAdViewAd; + +/** + * This method should be called when the ad view has collapsed from its full screen state. + */ +- (void)didCollapseAdViewAd; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h new file mode 100644 index 0000000..2d004f3 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h @@ -0,0 +1,48 @@ +// +// MAAdWaterfallInfo.h +// AppLovinSDK +// +// Created by Thomas So on 10/30/21. +// + +@class MAAd; +@class MANetworkResponseInfo; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents an ad waterfall, encapsulating various metadata such as total latency, underlying ad responses, etc. + */ +@interface MAAdWaterfallInfo : NSObject + +/** + * The loaded ad, if any, for this waterfall. + */ +@property (nonatomic, weak, readonly, nullable) MAAd *loadedAd; + +/** + * The ad waterfall name. + */ +@property (nonatomic, copy, readonly) NSString *name; + +/** + * The ad waterfall test name. + */ +@property (nonatomic, copy, readonly) NSString *testName; + +/** + * The list of @c MAAdapterResponseInfo info objects relating to each ad in the waterfall, ordered by their position. + */ +@property (nonatomic, strong, readonly) NSArray *networkResponses; + +/** + * The total latency in seconds for this waterfall to finish processing. + */ +@property (nonatomic, assign, readonly) NSTimeInterval latency; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapter.h new file mode 100644 index 0000000..1d3fe91 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapter.h @@ -0,0 +1,94 @@ +// +// MAAdapter.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * An enum describing the adapter's initialization status. + */ +typedef NS_ENUM(NSInteger, MAAdapterInitializationStatus) +{ + /** + * The adapter is not initialized. Note: networks need to be enabled for an ad unit id to be initialized. + */ + MAAdapterInitializationStatusAdapterNotInitialized = -4, + + /** + * The 3rd-party SDK does not have an initialization callback with status. + */ + MAAdapterInitializationStatusDoesNotApply = -3, + + /** + * The 3rd-party SDK is currently initializing. + */ + MAAdapterInitializationStatusInitializing = -2, + + /** + * The 3rd-party SDK explicitly initialized, but without a status. + */ + MAAdapterInitializationStatusInitializedUnknown = -1, + + /** + * The 3rd-party SDK initialization failed. + */ + MAAdapterInitializationStatusInitializedFailure = 0, + + /** + * The 3rd-party SDK initialization was successful. + */ + MAAdapterInitializationStatusInitializedSuccess = 1 +}; + +/** + * This protocol defines a mediation adapter which wraps a third-party ad SDK and will be used by AppLovin to load and display ads. + */ +@protocol MAAdapter + +/** + * Initialize current adapter. This method will be called at the beginning of the adapter lifecycle. + * + * @param parameters Parameters passed from the server. + * @param completionHandler Completion block to be called when the 3rd-party SDK finishes initialization, whether or not it was successful. + */ +- (void)initializeWithParameters:(id)parameters withCompletionHandler:(void(^)(void))completionHandler; + +/** + * The version of the third-party SDK. + */ +@property (nonatomic, copy, readonly) NSString *SDKVersion; + +/** + * The version of this adapter. + */ +@property (nonatomic, copy, readonly) NSString *adapterVersion; + +/** + * Whether or not this adapter is a beta version. + */ +@property (nonatomic, assign, readonly, getter=isBeta) BOOL beta; + +/** + * This method is called when an ad associated with this adapter should be destroyed. Necessary cleanup should be performed here. + */ +- (void)destroy; + +@optional + +/** + * Initialize current adapter. This method will be called at the beginning of the adapter lifecycle. + * + * @param parameters Parameters passed from the server. + * @param completionHandler Completion block to be called when the 3rd-party SDK finishes initialization, with the initialization status passed in. + */ +- (void)initializeWithParameters:(id)parameters completionHandler:(void(^)(MAAdapterInitializationStatus initializationStatus, NSString *_Nullable errorMessage))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterDelegate.h new file mode 100644 index 0000000..452c147 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterDelegate.h @@ -0,0 +1,16 @@ +// +// MAAdapterDelegate.h +// AppLovinSDK +// +// Created by Christopher Cong on 10/29/18. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a common adapter protocol intended to be notified about mediated ad events. + */ +@protocol MAAdapterDelegate +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterError.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterError.h new file mode 100644 index 0000000..3b6c798 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterError.h @@ -0,0 +1,158 @@ +// +// MAAdapterError.h +// AppLovinSDK +// +// Created by Thomas So on 11/13/18. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This enum contains possible error codes that should be returned by the mediation adapter. + */ +@interface MAAdapterError : MAError + +/** + * The mediation adapter can not load an ad because of no fill. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeNoFill; +@property (class, nonatomic, readonly) MAAdapterError *noFill; + +/** + * The mediation adapter failed to load an ad for an unspecified reason. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeUnspecified; +@property (class, nonatomic, readonly) MAAdapterError *unspecified; + +/** + * The mediation adapter can not load an ad because it is currently in an invalid state. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeInvalidLoadState; +@property (class, nonatomic, readonly) MAAdapterError *invalidLoadState; + +/** + * The mediation adapter can not load an ad because it is currently not configured correctly. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeInvalidConfiguration; +@property (class, nonatomic, readonly) MAAdapterError *invalidConfiguration; + +/** + * The mediation adapter can not load an ad because of a bad request. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeBadRequest; +@property (class, nonatomic, readonly) MAAdapterError *badRequest; + +/** + * The mediation adapter can not load an ad because the SDK is not initialized yet. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeNotInitialized; +@property (class, nonatomic, readonly) MAAdapterError *notInitialized; + +/** + * The mediation adapter can not load an ad because of a timeout. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeTimeout; +@property (class, nonatomic, readonly) MAAdapterError *timeout; + +/** + * The mediation adapter can not load an ad because it can not detect an active internet connection. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeNoConnection; +@property (class, nonatomic, readonly) MAAdapterError *noConnection; + +/** + * The mediation adapter did not have an ad ready in time for showing. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeAdNotReady; +@property (class, nonatomic, readonly) MAAdapterError *adNotReady; + +/** + * The mediation adapter ran into a remote server error. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeServerError; +@property (class, nonatomic, readonly) MAAdapterError *serverError; + +/** + * The mediation adapter ran into an unspecified internal error. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeInternalError; +@property (class, nonatomic, readonly) MAAdapterError *internalError; + +/** + * The mediation adapter has timed out while collecting a signal. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeSignalCollectionTimeout; +@property (class, nonatomic, readonly) MAAdapterError *signalCollectionTimeout; + +/** + * The mediation adapter does not support signal collection. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeSignalCollectionNotSupported; +@property (class, nonatomic, readonly) MAAdapterError *signalCollectionNotSupported; + +/** + * The mediation adapter ran into a WebView-related error. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeWebViewError; +@property (class, nonatomic, readonly) MAAdapterError *webViewError; + +/** + * The mediation adapter ran into an expired ad. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeAdExpired; +@property (class, nonatomic, readonly) MAAdapterError *adExpiredError; + +/** + * The mediation ad frequency capped. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeAdFrequencyCapped; +@property (class, nonatomic, readonly) MAAdapterError *adFrequencyCappedError; + +/** + * The mediation adapter ran into an error while displaying rewarded ad. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeRewardError; +@property (class, nonatomic, readonly) MAAdapterError *rewardError; + +/** + * The mediation adapter failed to load a native ad because of missing required assets. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeMissingRequiredNativeAdAssets; +@property (class, nonatomic, readonly) MAAdapterError *missingRequiredNativeAdAssets; + +/** + * The mediation ad failed to load because an Activity context was required, but missing. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeMissingViewController; +@property (class, nonatomic, readonly) MAAdapterError *missingViewController; + +/* + * The mediation adapter failed to display the ad. + */ +@property (class, nonatomic, readonly) NSInteger errorCodeAdDisplayFailedError; +@property (class, nonatomic, readonly) MAAdapterError *adDisplayFailedError; + ++ (instancetype)errorWithCode:(NSInteger)code; ++ (instancetype)errorWithCode:(NSInteger)code errorString:(NSString *)errorString; ++ (instancetype)errorWithNSError:(NSError *)error; ++ (instancetype)errorWithAdapterError:(MAAdapterError *)error + mediatedNetworkErrorCode:(NSInteger)mediatedNetworkErrorCode + mediatedNetworkErrorMessage:(NSString *)mediatedNetworkErrorMessage; ++ (instancetype)errorWithCode:(NSInteger)code + errorString:(NSString *)errorString + mediatedNetworkErrorCode:(NSInteger)mediatedNetworkErrorCode + mediatedNetworkErrorMessage:(NSString *)mediatedNetworkErrorMessage; +- (instancetype)init NS_UNAVAILABLE; + +@end + +@interface MAAdapterError(ALDeprecated) ++ (instancetype)errorWithAdapterError:(MAAdapterError *)error thirdPartySdkErrorCode:(NSInteger)thirdPartySdkErrorCode thirdPartySdkErrorMessage:(NSString *)thirdPartySdkErrorMessage +__deprecated_msg("This method has been deprecated in v11.4.0 and will be removed in a future SDK version. Please use -[MAAdapterError errorWithAdapterError:mediatedNetworkErrorCode:mediatedNetworkErrorMessage:] instead."); ++ (instancetype)errorWithCode:(NSInteger)code errorString:(NSString *)errorString thirdPartySdkErrorCode:(NSInteger)thirdPartySdkErrorCode thirdPartySdkErrorMessage:(NSString *)thirdPartySdkErrorMessage +__deprecated_msg("This method has been deprecated in v11.4.0 and will be removed in a future SDK version. Please use -[MAAdapterError errorWithCode:errorString:mediatedNetworkErrorCode:mediatedNetworkErrorMessage:] instead."); +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h new file mode 100644 index 0000000..09ea9ec --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h @@ -0,0 +1,19 @@ +// +// MAAdapterInitializationParameters.h +// AppLovinSDK +// +// Created by Thomas So on 8/27/18. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol contains parameters passed to a mediation adapter for initialization. + */ +@protocol MAAdapterInitializationParameters + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterParameters.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterParameters.h new file mode 100644 index 0000000..bb79a56 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterParameters.h @@ -0,0 +1,101 @@ +// +// MAAdapterParameters.h +// AppLovinSDK +// +// Created by Thomas So on 8/27/18. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines basic parameters passed to all adapter events. + */ +@protocol MAAdapterParameters + +/** + * ********************* + * AVAILABLE IN v11.0.0+ + * ********************* + *

+ * The MAX Ad Unit ID the adapter operation with these parameters are being performed for. + * + * @return The MAX Ad Unit ID to perform the adapter operation for. Guaranteed not to be null. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * ********************* + * AVAILABLE IN v11.0.0+ + * ********************* + *

+ * Local extra parameters to passed in from the integration code. + * + * @return Local extra parameters. Guaranteed not to be @c nil. + */ +@property (nonatomic, strong, readonly) NSDictionary *localExtraParameters; + +/** + * Get parameters passed from AppLovin server to the current adapter. + * + * @return Server parameters. Guaranteed not to be nil. + */ +@property (nonatomic, strong, readonly) NSDictionary *serverParameters; + +/** + * ********************* + * AVAILABLE IN v11.1.1+ + * ********************* + *

+ * Get custom parameters passed from AppLovin server to the current custom network SDK adapter. + * + * @return Custom parameters. Guaranteed not to be @c nil. + */ +@property (nonatomic, strong, readonly) NSDictionary *customParameters; + +/** + * Current state of user consent. + * + * @return @c 1 if the user has provided consent for information sharing. @c nil if not set. + */ +@property (nonatomic, strong, readonly, nullable, getter=hasUserConsent) NSNumber *userConsent; + +/** + * Current state of user age restrictions. + * + * @return @c 1 if the user is age restricted (i.e. under 16). @c nil if not set. + */ +@property (nonatomic, strong, readonly, nullable, getter=isAgeRestrictedUser) NSNumber *ageRestrictedUser; + +/** + * Current state of whether ot not the user has opted out of the sale of their personal information. + * + * @return @c 1 if the user has opted out of the sale of their personal information. @c nil if not set. + */ +@property (nonatomic, strong, readonly, nullable, getter=isDoNotSell) NSNumber *doNotSell; + +/** + * ********************* + * AVAILABLE IN v11.4.2+ + * ********************* + *

+ * The consent string to pass to networks that do not support a binary consent API (i.e. networks that use TCF-only) and do not automatically ingest the string from User Defaults. + */ +@property (nonatomic, copy, readonly, nullable) NSString *consentString; + +/** + * Check if this request is made for testing. + * + * @return @c YES if the ads should be retrieved for testing. + */ +@property (nonatomic, assign, readonly, getter=isTesting) BOOL testing; + +/** + * @return The view controller to present the fullscreen ad with. + */ +@property (nonatomic, weak, readonly, nullable) UIViewController *presentingViewController; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h new file mode 100644 index 0000000..f7bd71d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h @@ -0,0 +1,36 @@ +// +// MAAdapterResponseParameters.h +// AppLovinSDK +// +// Created by Thomas So on 8/27/18. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol contains parameters passed to a mediation adapter to load the next ad. + */ +@protocol MAAdapterResponseParameters + +/** + * Get zone ID / placement ID / ad unit ID for the adapter to use. This is different than {@link MAAd#adUnitIdentifier}, which is used by AppLovin's SDK specifically. + */ +@property (nonatomic, copy, readonly) NSString *thirdPartyAdPlacementIdentifier; + +/** + * For header bidding only: server bid response that was sent from third-party servers to the respective SDK. + */ +@property (nonatomic, copy, readonly) NSString *bidResponse; + +/** + * For header bidding only: server bid expiration time. + * + * @return Expiration time for the bidding server response. -1 is default meaning the bid never expires. + */ +@property (nonatomic, assign, readonly) long long /*ALTimeIntervalMillis*/ bidExpirationMillis; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAd.h new file mode 100644 index 0000000..9d9c92e --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAd.h @@ -0,0 +1,125 @@ +// +// MAAppOpenAd.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/26/22. +// + +#import +#import +#import +#import + +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a full-screen ad that can be shown upon opening an app. + */ +@interface MAAppOpenAd : NSObject + +/** + * Creates a new mediation app open ad. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Creates a new mediation app open ad. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about ad events. + */ +@property (nonatomic, weak, nullable) id delegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) id revenueDelegate; + +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + +/** + * A delegate that will be notified about Ad Review events. + */ +@property (nonatomic, weak, nullable) id adReviewDelegate; + +/** + * Load the ad for the current app open ad. Set @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about ad load state. + */ +- (void)loadAd; + +/** + * Show the loaded app open ad. + *

    + *
  • Use @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAAppOpenAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ */ +- (void)showAd; + +/** + * Show the loaded app open ad for a given placement to tie ad events to. + *
    + *
  • Use @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAAppOpenAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + */ +- (void)showAdForPlacement:(nullable NSString *)placement; + +/** + * Show the loaded app open ad for a given placement and custom data to tie ad events to. + *
    + *
  • Use @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAAppOpenAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + */ +- (void)showAdForPlacement:(nullable NSString *)placement customData:(nullable NSString *)customData; + +/** + * The ad unit identifier this @c MAAppOpenAd was initialized with and is loading ads for. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * Whether or not this ad is ready to be shown. + */ +@property (nonatomic, assign, readonly, getter=isReady) BOOL ready; + +/** + * Sets an extra key/value parameter for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAdapter.h new file mode 100644 index 0000000..4503f94 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAdapter.h @@ -0,0 +1,41 @@ +// +// MAAppOpenAdapter.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/26/22. +// + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines methods for app open ad adapters. + */ +@protocol MAAppOpenAdapter + +/** + * Load an app open ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to load the ad. + * @param delegate Delegate to be notified about ad events. + */ +- (void)loadAppOpenAdForParameters:(id)parameters andNotify:(id)delegate; + +/** + * Show the pre-loaded app open ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to show the ad. + * @param delegate Delegate to be notified about ad events. + */ +- (void)showAppOpenAdForParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAdapterDelegate.h new file mode 100644 index 0000000..8a491e0 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAAppOpenAdapterDelegate.h @@ -0,0 +1,83 @@ +// +// MAAppOpenAdapterDelegate.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/26/22. +// + +#import + +@class MAAdapterError; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for app open ads. + */ +@protocol MAAppOpenAdapterDelegate + +/** + * This method should called when an ad has been loaded. + */ +- (void)didLoadAppOpenAd; + +/** + * This method should called when an ad has been loaded. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when an ad could not be loaded. + * + * @param adapterError An error object that indicates the cause of ad failure. + */ +- (void)didFailToLoadAppOpenAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + */ +- (void)didDisplayAppOpenAd; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickAppOpenAd; + +/** + * This method should be called when the user has clicked adapter's ad. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didClickAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideAppOpenAd; + +/** + * This method should be called when adapter's ad has been dismissed. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didHideAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be displayed. + * + * @param adapterError An error object that indicates the cause of the failure. + */ +- (void)didFailToDisplayAppOpenAdWithError:(MAAdapterError *)adapterError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h new file mode 100644 index 0000000..e3c71b4 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h @@ -0,0 +1,33 @@ +// +// MACollectionViewAdPlacer.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 3/8/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class loads and places native ads into a corresponding @c UICollectionView. The collection view's original data source and delegate methods are wrapped by this class in order to automatically insert ad items, while maintaining the existing collection view's behavior. + * + * @note If you're using storyboards, the collection view's "Estimate Size" must be set to "None". + */ +@interface MACollectionViewAdPlacer : MACustomAdPlacer + +/** + * Initializes an ad placer for use with the provided collection view. + * + * @param collectionView A collection view to place ads in. + * @param settings An ad placer settings object. + */ ++ (instancetype)placerWithCollectionView:(UICollectionView *)collectionView settings:(MAAdPlacerSettings *)settings; + +- (instancetype)initWithSettings:(MAAdPlacerSettings *)settings NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACollectionViewAdPlacerCell.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACollectionViewAdPlacerCell.h new file mode 100644 index 0000000..4aa9f10 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACollectionViewAdPlacerCell.h @@ -0,0 +1,21 @@ +// +// MACollectionViewAdPlacerCell.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 3/8/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface MACollectionViewAdPlacerCell : UICollectionViewCell + +/** + * A container view for a native ad. + */ +@property (nonatomic, strong) UIView *containerView; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACustomAdPlacer.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACustomAdPlacer.h new file mode 100644 index 0000000..a83753b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MACustomAdPlacer.h @@ -0,0 +1,36 @@ +// +// MACustomAdPlacer.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 3/17/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This subclass of @c MAAdPlacer contains additional functionality that isn't necessarily needed for the use of @c MAAdPlacer on its own, i.e., auto-refresh and look-ahead. + * + * @warning @c MACustomAdPlacer should only be used via its subclasses, e.g., @c MACollectionViewAdPlacer and @c MATableViewAdPlacer, since it contains methods that must be implemented based on the specific UI component. + */ +@interface MACustomAdPlacer : MAAdPlacer + +/** + * The number of off-screen items after the last visible item to consider for ad placement in a content stream. This allows upcoming ad positions to be ready before they are visible to the user. + * + * This can be disabled by setting to 0. Defaults to 8. + */ +@property (nonatomic, assign) NSUInteger lookAhead; + +/** + * Allows updates to be made safely to a stream by temporarily disabling auto-reload during data modification. + */ +- (void)pauseForUpdates:(void (^)(void))updates; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAError.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAError.h new file mode 100644 index 0000000..bed7698 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAError.h @@ -0,0 +1,60 @@ +// +// MAError+Internal.h +// AppLovinSDK +// +// Created by Thomas So on 5/3/21. +// + +#import + +@class MAAdWaterfallInfo; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class encapsulates various data for MAX load and display errors. + */ +@interface MAError : NSObject + +/** + * The error code for the error. Will be one of the codes listed under the @c MAErrorCode enum. + */ +@property (nonatomic, assign, readonly) MAErrorCode code; + +/** + * The error message for the error. + */ +@property (nonatomic, copy, readonly) NSString *message; + +/** + * The mediated network's error code for the error. Available for errors returned in @c -[MAAdDelegate didFailToDisplayAd:withError:] only. + */ +@property (nonatomic, assign, readonly) NSInteger mediatedNetworkErrorCode; + +/** + * The mediated network's error message for the error. Defaults to an empty string. Available for errors returned in @c -[MAAdDelegate didFailToDisplayAd:withError:] only. + */ +@property (nonatomic, copy, readonly) NSString *mediatedNetworkErrorMessage; + +/** + * The underlying waterfall of ad responses. + */ +@property (nonatomic, strong, readonly, nullable) MAAdWaterfallInfo *waterfall; + +/** + * The latency of the mediation ad load request in seconds. + */ +@property (nonatomic, assign, readonly) NSTimeInterval requestLatency; + +- (instancetype)init NS_UNAVAILABLE; +- (instancetype)new NS_UNAVAILABLE; + +@end + +@interface MAError (ALDeprecated) +@property (nonatomic, assign, readonly) NSInteger errorCode __deprecated_msg("This property is deprecated and removed in a future SDK version. Please use `-[MAError code]` instead."); +@property (nonatomic, copy, readonly) NSString *errorMessage __deprecated_msg("This property is deprecated and removed in a future SDK version. Please use `-[MAError message]` instead."); +@property (nonatomic, copy, readonly, nullable) NSString *adLoadFailureInfo __deprecated_msg("The ad load failure info string is deprecated and removed in a future SDK version. Please use `-[MAError waterfall]` instead."); +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAErrorCode.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAErrorCode.h new file mode 100644 index 0000000..2c2b9a0 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAErrorCode.h @@ -0,0 +1,52 @@ +// +// MAErrorCode.h +// AppLovinSDK +// +// Created by Thomas So on 5/9/21. +// + +/** + * This enum contains various error codes that the SDK can return when a MAX ad fails to load or display. + */ +typedef NS_ENUM(NSInteger, MAErrorCode) +{ + /** + * This error code represents an error that could not be categorized into one of the other defined errors. See the message field in the error object for more details. + */ + MAErrorCodeUnspecified = -1, + + /** + * This error code indicates that MAX returned no eligible ads from any mediated networks for this app/device. + */ + MAErrorCodeNoFill = 204, + + /** + * This error code indicates that MAX returned eligible ads from mediated networks, but all ads failed to load. See the adLoadFailureInfo field in the error object for more details. + */ + MAErrorCodeAdLoadFailed = -5001, + + /** + * This error code indicates that the ad request failed due to a generic network error. See the message field in the error object for more details. + */ + MAErrorCodeNetworkError = -1000, + + /** + * This error code indicates that the ad request timed out due to a slow internet connection. + */ + MAErrorCodeNetworkTimeout = -1001, + + /** + * This error code indicates that the ad request failed because the device is not connected to the internet. + */ + MAErrorCodeNoNetwork = -1009, + + /** + * This error code indicates that you attempted to show a fullscreen ad while another fullscreen ad is still showing. + */ + MAErrorCodeFullscreenAdAlreadyShowing = -23, + + /** + * This error code indicates you are attempting to show a fullscreen ad before the one has been loaded. + */ + MAErrorCodeFullscreenAdNotReady = -24 +}; diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAErrorCodes.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAErrorCodes.h new file mode 100644 index 0000000..dcaa699 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAErrorCodes.h @@ -0,0 +1,36 @@ +// +// MAErrorCodes.h +// AppLovinSDK +// +// Created by Thomas So on 8/27/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +/** + * @file MAErrorCodes.h + */ + +/** + * No ads are currently eligible for your device. + */ +#define kMAErrorCodeNoFill 204 + +/** + * The system is in unexpected state. + */ +#define kMAErrorCodeUnspecifiedError -1 + +/** + * The internal state of the SDK is invalid. There are various ways this can occur. + */ +#define kMAErrorCodeInvalidInternalState -5201 + +/** + * The ad failed to load due to no networks being able to fill. + */ +#define kMAErrorCodeMediationAdapterLoadFailed -5001 + +/** + * An attempt to show a fullscreen ad (interstitial or rewarded) was made while another fullscreen ad is still showing. + */ +#define kMAErrorCodeFullscreenAdAlreadyShowing -23 diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAd.h new file mode 100644 index 0000000..7219663 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAd.h @@ -0,0 +1,148 @@ +// +// MAInterstitial.h +// AppLovinSDK +// +// Created by Thomas So on 8/9/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import +#import +#import + +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a full-screen interstitial ad. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Interstitials + */ +@interface MAInterstitialAd : NSObject + +/** + * Creates a new mediation interstitial. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Creates a new mediation interstitial. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about ad events. + */ +@property (nonatomic, weak, nullable) id delegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) id revenueDelegate; + +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + +/** + * A delegate that will be notified about Ad Review events. + */ +@property (nonatomic, weak, nullable) id adReviewDelegate; + +/** + * Load the ad for the current interstitial. Set @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about ad load state. + * + * @see MAX Integration Guide ⇒ iOs ⇒ Interstitials ⇒ Loading an Interstitial Ad + */ +- (void)loadAd; + +/** + * Show the loaded interstitial ad. + *
    + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @see MAX Integration Guide ⇒ iOs ⇒ Interstitials ⇒ Showing an Interstitial Ad + */ +- (void)showAd; + +/** + * Show the loaded interstitial ad for a given placement to tie ad events to. + *
    + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + */ +- (void)showAdForPlacement:(nullable NSString *)placement; + +/** + * Show the loaded interstitial ad for a given placement and custom data to tie ad events to. + *
    + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + */ +- (void)showAdForPlacement:(nullable NSString *)placement customData:(nullable NSString *)customData; + +/** + * Show the loaded interstitial ad for a given placement and custom data to tie ad events to, and a view controller to present the ad from. + *
    + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + * @param viewController The view controller to display the ad from. If @c nil, will be inferred from the key window's root view controller. + */ +- (void)showAdForPlacement:(nullable NSString *)placement + customData:(nullable NSString *)customData + viewController:(nullable UIViewController *)viewController; + +/** + * The ad unit identifier this @c MAInterstitialAd was initialized with and is loading ads for. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * Whether or not this ad is ready to be shown. + */ +@property (nonatomic, assign, readonly, getter=isReady) BOOL ready; + +/** + * Sets an extra key/value parameter for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h new file mode 100644 index 0000000..c97a68b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h @@ -0,0 +1,42 @@ +// +// MAInterstitialAdapter.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines methods for interstitial adapters. + */ +@protocol MAInterstitialAdapter + +/** + * Load a interstitial ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to load the ad. + * @param delegate Delegate to be notified about ad events. + */ +- (void)loadInterstitialAdForParameters:(id)parameters andNotify:(id)delegate; + +/** + * Show the pre-loaded interstitial. + * + * This is called once per adapter. + * + * @param parameters Parameters used to show the ad. + * @param delegate Delegate to be notified about ad events. + */ +- (void)showInterstitialAdForParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h new file mode 100644 index 0000000..9bab6fb --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h @@ -0,0 +1,80 @@ +// +// MAInterstitialAdapterDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import + +@class MAAdapterError; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for interstitial ads. + */ +@protocol MAInterstitialAdapterDelegate + +/** + * This method should called when an ad has been loaded. + */ +- (void)didLoadInterstitialAd; + +/** + * This method should called when an ad has been loaded. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when an ad could not be loaded. + * + * @param adapterError An error object that indicates the cause of ad failure. + */ +- (void)didFailToLoadInterstitialAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + */ +- (void)didDisplayInterstitialAd; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickInterstitialAd; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideInterstitialAd; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be displayed. + * + * @param adapterError An error object that indicates the cause of the failure. + */ +- (void)didFailToDisplayInterstitialAdWithError:(MAAdapterError *)adapterError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h new file mode 100644 index 0000000..c3c3cf6 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h @@ -0,0 +1,40 @@ +// +// MAMediatedNetworkInfo.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 2/8/21. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents information for a mediated network. + */ +@interface MAMediatedNetworkInfo : NSObject + +/** + * The name of the mediated network. + */ +@property (nonatomic, copy, readonly) NSString *name; + +/** + * The class name of the adapter for the mediated network. + */ +@property (nonatomic, copy, readonly) NSString *adapterClassName; + +/** + * The version of the adapter for the mediated network. + */ +@property (nonatomic, copy, readonly) NSString *adapterVersion; + +/** + * The version of the mediated network’s SDK. + */ +@property (nonatomic, copy, readonly) NSString *sdkVersion; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAd.h new file mode 100644 index 0000000..4c9fc24 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAd.h @@ -0,0 +1,181 @@ +// +// MANativeAd.h +// AppLovinSDK +// +// Created by Thomas So on 5/5/20. +// + +#import + +@class MAAdFormat; +@class MANativeAdBuilder; +@class MANativeAdImage; +@class MANativeAdView; + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); + +@interface MANativeAdBuilder : NSObject + +@property (nonatomic, copy, nullable) NSString *title; +@property (nonatomic, copy, nullable) NSString *advertiser; +@property (nonatomic, copy, nullable) NSString *body; +@property (nonatomic, copy, nullable) NSString *callToAction; +@property (nonatomic, strong, nullable) MANativeAdImage *icon; +@property (nonatomic, strong, nullable) MANativeAdImage *mainImage; +@property (nonatomic, strong, nullable) UIView *iconView; +@property (nonatomic, strong, nullable) UIView *optionsView; +@property (nonatomic, strong, nullable) UIView *mediaView; +@property (nonatomic, assign) CGFloat mediaContentAspectRatio; + +@end + +@interface MANativeAdImage : NSObject + +/** + * The native ad image. + */ +@property (nonatomic, strong, readonly, nullable) UIImage *image; + +/** + * The native ad image URL. + */ +@property (nonatomic, copy, readonly, nullable) NSURL *URL; + +- (instancetype)initWithImage:(UIImage *)image; +- (instancetype)initWithURL:(NSURL *)URL; +- (instancetype)init NS_UNAVAILABLE; + +@end + +/** + * Represents a native ad to be rendered for an instance of a @c MAAd. + */ +@interface MANativeAd : NSObject + +/** + * The native ad format. + */ +@property (nonatomic, weak, readonly) MAAdFormat *format; + +/** + * The native ad title text. + */ +@property (nonatomic, copy, readonly, nullable) NSString *title; + +/** + * The native ad advertiser text. + */ +@property (nonatomic, copy, readonly, nullable) NSString *advertiser; + +/** + * The native ad body text. + */ +@property (nonatomic, copy, readonly, nullable) NSString *body; + +/** + * The native ad CTA button text. + */ +@property (nonatomic, copy, readonly, nullable) NSString *callToAction; + +/** + * The native ad icon image. + */ +@property (nonatomic, strong, readonly, nullable) MANativeAdImage *icon; + +/** + * The native ad icon image view. + * + * This is only used for banners using native APIs. Native ads must provide a `MANativeAdImage` instead. + */ +@property (nonatomic, strong, readonly, nullable) UIView *iconView; + +/** + * The native ad options view. + */ +@property (nonatomic, strong, readonly, nullable) UIView *optionsView; + +/** + * The native ad media view. + */ +@property (nonatomic, strong, readonly, nullable) UIView *mediaView; + +/** + * The native ad main image (cover image). May or may not be a locally cached file:// resource file. + * + * Please make sure you continue to render your native ad using @c MANativeAdLoader so impression tracking is not affected. + * + * Supported adapter versions: + * + * BidMachine v1.9.4.1.1 + * Google Ad Manager v9.6.0.1 + * Google AdMob v9.6.0.2 + * Mintegral v7.1.7.0.2 + * myTarget v5.15.2.1 + * Pangle v4.5.2.4.1 + * Smaato v21.7.6.1 + * VerizonAds v2.0.0.4 + */ +@property (nonatomic, strong, readonly, nullable) MANativeAdImage *mainImage; + +/** + * The aspect ratio for the media view if provided by the network. Otherwise returns 0.0f. + */ +@property (nonatomic, assign, readonly) CGFloat mediaContentAspectRatio; + +/** + * Whether or not the ad is expired. + */ +@property (nonatomic, assign, readonly, getter=isExpired) BOOL expired; + +/** + * This method is called before the ad view is returned to the publisher. + * The adapters should override this method to register the rendered native ad view and make sure that the view is interactable. + * + * @param nativeAdView a rendered native ad view. + */ +- (void)prepareViewForInteraction:(MANativeAdView *)nativeAdView __deprecated_msg("This method has been deprecated and will be removed in a future SDK version. Please use -[MANativeAd prepareForInteractionClickableViews:withContainer:] instead."); + +/** + * ********************* + * AVAILABLE IN v11.5.2+ + * ********************* + * + * This method is called before the ad view is returned to the publisher. + * The adapters should override this method to register the rendered native ad view and make sure that the view is interactable. + * + * @param clickableViews The clickable views for the native ad. + * @param container The container for the native ad. + * + * @return @c YES if the call has been successfully handled by a subclass of @c MANativeAd. + */ +- (BOOL)prepareForInteractionClickableViews:(NSArray *)clickableViews withContainer:(UIView *)container; + +/** + * Whether or not to run the @code -[MANativeAd prepareForInteractionClickableViews:withContainer:] @endcode call on the main thread or background thread. + * + * @return @c YES to run the operation on the main thread, @c NO to run the operation on a background thread. Defaults to @c YES. + */ +- (BOOL)shouldPrepareViewForInteractionOnMainThread; + +/** + * ********************* + * AVAILABLE IN v11.6.0+ + * ********************* + * + * Whether or not container clickability is supported. + */ +- (BOOL)isContainerClickable; + +/** + * For supported mediated SDKs, manually invoke a click. + */ +- (void)performClick; + +- (instancetype)initWithFormat:(MAAdFormat *)format builderBlock:(NS_NOESCAPE MANativeAdBuilderBlock)builderBlock; +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdAdapter.h new file mode 100644 index 0000000..09c17f7 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdAdapter.h @@ -0,0 +1,31 @@ +// +// MANativeAdAdapter.h +// AppLovinSDK +// +// Created by Thomas So on 6/16/21. +// + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines methods for native adapters. + */ +@protocol MANativeAdAdapter + +/** + * Schedule loading of the next native ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to load the ads. + * @param delegate Delegate to be notified about ad events. + */ +- (void)loadNativeAdForParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h new file mode 100644 index 0000000..3968c8d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h @@ -0,0 +1,50 @@ +// +// MANativeAdAdapterDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 6/15/21. +// + +#import + +@class MAAdapterError; +@class MANativeAd; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for native ads. + */ +@protocol MANativeAdAdapterDelegate + +/** + * This method should called when an ad has been loaded. + * + * @param nativeAd Native ad container containing the assets from the mediated network's native ad. + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadAdForNativeAd:(MANativeAd *)nativeAd withExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be loaded. + * + * @param adapterError An error object that indicates the cause of ad failure. + */ +- (void)didFailToLoadNativeAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * Note: Display callbacks are not forwarded to the publisher, however revenue events that are associated with the display event are. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayNativeAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickNativeAd; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdDelegate.h new file mode 100644 index 0000000..1ec07ac --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdDelegate.h @@ -0,0 +1,64 @@ +// +// MANativeAdDelegate.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/14/21. +// + +@class MAAd; +@class MAError; +@class MANativeAdView; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a listener to be notified about native ad events. + */ +@protocol MANativeAdDelegate + +/** + * The SDK invokes this method when a new native ad has been loaded. + * + * @param nativeAdView The native ad view that the SDK successfully loaded. + * May be @c nil if a manual native ad is loaded without a view. + * You can create and render the native ad view using @code -[MANativeAdLoader renderNativeAdView:withAd:] @endcode. + * @param ad The ad that was loaded. + */ +- (void)didLoadNativeAd:(nullable MANativeAdView *)nativeAdView forAd:(MAAd *)ad; + +/** + * The SDK invokes this method when a native ad could not be retrieved. + * + * Common error codes: + * + * + *
204no ad is available
5xxinternal server error
negative numberinternal errors
+ * + * @param adUnitIdentifier The ad unit ID that the SDK failed to load an ad for. + * @param error An object that encapsulates the failure info. + */ +- (void)didFailToLoadNativeAdForAdUnitIdentifier:(NSString *)adUnitIdentifier withError:(MAError *)error; + +/** + * The SDK invokes this method when the native ad is clicked. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad The ad that was clicked. + */ +- (void)didClickNativeAd:(MAAd *)ad; + +@optional + +/** + * The SDK invokes this method when the native ad expires. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad The ad that expired. + */ +- (void)didExpireNativeAd:(MAAd *)ad; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdLoader.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdLoader.h new file mode 100644 index 0000000..b777e92 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdLoader.h @@ -0,0 +1,112 @@ +// +// MANativeAdLoader.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/14/21. +// + +#import +#import + +@class ALSdk; +@class MAAd; +@class MANativeAdView; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a loader for native ads. + */ +@interface MANativeAdLoader : NSObject + +/** + * Creates a new MAX native ad loader. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Creates a new MAX native ad loader. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about native ad events. + */ +@property (nonatomic, weak, nullable) id nativeAdDelegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) id revenueDelegate; + +/** + * Load a new MAX native ad. Set @code -[MANativeAdLoader nativeAdDelegate] @endcode to assign a delegate that should be notified about ad load state. + */ +- (void)loadAd; + +/** + * Load a new MAX native ad into the given native ad view. Set @code -[MANativeAdLoader nativeAdDelegate] @endcode to assign a delegate that should be notified about ad load state. + * + * @param adView a @c MANativeAdView into which the loaded native ad will be rendered. + */ +- (void)loadAdIntoAdView:(nullable MANativeAdView *)adView; + +/** + * Renders the given ad into the given ad view. + * + * Note: Make sure to only render the ad separately if the native ad view returned in our @code -[MANativeAdDelegate didLoadNativeAd:forAd:] @endcode is @c nil. + * + * @param adView The ad view into which to render the native ad. + * @param ad The ad to be rendered. + * + * @return @c YES if the ad view was rendered successfully. + */ +- (BOOL)renderNativeAdView:(MANativeAdView *)adView withAd:(MAAd *)ad; + +/** + * The placement name that you assign when you integrate each ad format, for granular reporting in ad events (e.g. "Rewarded_Store", "Rewarded_LevelEnd"). + */ +@property (nonatomic, copy, nullable) NSString *placement; + +/** + * The ad unit identifier this @c MANativeAdLoader was initialized with and is loading ads for. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * Destroy the native ad and fully remove it from memory. + */ +- (void)destroyAd:(MAAd *)nativeAd; + +/** + * Sets an extra key/value parameter for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +/** + * The custom data to tie the showing ad to, for ILRD and rewarded postbacks via the @c {CUSTOM_DATA} macro. Maximum size is 8KB. + */ +@property (nonatomic, copy, nullable) NSString *customData; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdView.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdView.h new file mode 100644 index 0000000..b4a8835 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdView.h @@ -0,0 +1,73 @@ +// +// MANativeAdView.h +// AppLovinSDK +// +// Created by Thomas So on 5/22/20. +// + +#import + +@class MANativeAd; +@class MANativeAdViewBinder; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Base view class containing native ad templates for banners, leaders, and mrecs. + * + * NOTE: The IBOutlets binding doesn't work in interface builder once the SDK is distributed as xcframeworks. Use the -[MANativeAdView bindViewsWithAdViewBinder:] to bind the native ad views. + * Alternatively, you can manually import this header file into your project to use interface builder outlets to bind the views. + */ +@interface MANativeAdView : UIView + +/** + * The native ad title label. + */ +@property (nonatomic, weak) IBOutlet UILabel *titleLabel; + +/** + * The native ad advertiser label. + */ +@property (nonatomic, weak) IBOutlet UILabel *advertiserLabel; + +/** + * The native ad body label. + */ +@property (nonatomic, weak) IBOutlet UILabel *bodyLabel; + +/** + * The native ad icon ImageView. + */ +@property (nonatomic, weak) IBOutlet UIImageView *iconImageView; + +/** + * The native ad icon view. + */ +@property (nonatomic, weak) IBOutlet UIView *iconContentView __deprecated_msg("iconContentView is deprecated and will be removed in the future. Use iconImageView instead."); + +/** + * The native ad options view. + */ +@property (nonatomic, weak) IBOutlet UIView *optionsContentView; + +/** + * The native ad media view for holding an arbitrary content view provided by the 3rd-party SDK. + */ +@property (nonatomic, weak) IBOutlet UIView *mediaContentView; + +/** + * The native ad CTA button. + */ +@property (nonatomic, weak, nullable) IBOutlet UIButton *callToActionButton; + +/** + * Binds the native asset ad views to this native ad using view tags. + */ +- (void)bindViewsWithAdViewBinder:(MANativeAdViewBinder *)adViewBinder; + ++ (instancetype)nativeAdViewFromAd:(MANativeAd *)ad; ++ (instancetype)nativeAdViewFromAd:(nullable MANativeAd *)ad withTemplate:(nullable NSString *)templateType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h new file mode 100644 index 0000000..518bf6c --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h @@ -0,0 +1,71 @@ +// +// MANativeAdViewBinder.h +// AppLovinSDK +// +// Created by Santosh Bagadi on 11/26/21. +// + +@class MANativeAdViewBinderBuilder; + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^MANativeAdViewBinderBuilderBlock) (MANativeAdViewBinderBuilder *builder); + +@interface MANativeAdViewBinderBuilder : NSObject + +@property (nonatomic, assign) NSInteger titleLabelTag; +@property (nonatomic, assign) NSInteger advertiserLabelTag; +@property (nonatomic, assign) NSInteger bodyLabelTag; +@property (nonatomic, assign) NSInteger iconImageViewTag; +@property (nonatomic, assign) NSInteger optionsContentViewTag; +@property (nonatomic, assign) NSInteger mediaContentViewTag; +@property (nonatomic, assign) NSInteger callToActionButtonTag; + +@end + +@interface MANativeAdViewBinder : NSObject + +/** + * A non-zero tag for the title label view to be rendered. The maximum length will be 50 characters. + */ +@property (nonatomic, assign, readonly) NSInteger titleLabelTag; + +/** + * A non-zero tag for advertiser label view to be rendered. The maximum length will be 25 characters. + */ +@property (nonatomic, assign, readonly) NSInteger advertiserLabelTag; + +/** + * A non-zero tag for body label view to be rendered. The maximum length will be 150 characters. + */ +@property (nonatomic, assign, readonly) NSInteger bodyLabelTag; + +/** + * A non-zero tag for icon image view to be rendered. + */ +@property (nonatomic, assign, readonly) NSInteger iconImageViewTag; + +/** + * A non-zero tag for options content view to be rendered. + */ +@property (nonatomic, assign, readonly) NSInteger optionsContentViewTag; + +/** + * A non-zero tag for media content view to be rendered. + */ +@property (nonatomic, assign, readonly) NSInteger mediaContentViewTag; + +/** + * A non-zero tag for call to action button view to be rendered. The maximum length will be 15 characters. + */ +@property (nonatomic, assign, readonly) NSInteger callToActionButtonTag; + +/** + * Instantiates a @c MANativeAdViewBinder from a builder. + */ +- (instancetype)initWithBuilderBlock:(MANativeAdViewBinderBuilderBlock)builder; +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h new file mode 100644 index 0000000..c75d613 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h @@ -0,0 +1,69 @@ +// +// MANetworkResponseInfo.h +// AppLovinSDK +// +// Created by Thomas So on 10/30/21. +// + +@class MAError; +@class MAMediatedNetworkInfo; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This enum contains possible states of an ad in the waterfall the adapter response info could represent. + */ +typedef NS_ENUM(NSInteger, MAAdLoadState) +{ + /** + * The AppLovin MAX SDK did not attempt to load an ad from this network in the waterfall because an ad higher in the waterfall loaded successfully. + */ + MAAdLoadStateAdLoadNotAttempted, + + /** + * An ad successfully loaded from this network. + */ + MAAdLoadStateAdLoaded, + + /** + * An ad failed to load from this network. + */ + MAAdLoadStateAdFailedToLoad, +}; + +/** + * This class represents an ad response in a waterfall. + */ +@interface MANetworkResponseInfo : NSObject + +/** + * The state of the ad that this @c MAAdapterResponseInfo object represents. For more info, see the @c MAAdLoadState enum. + */ +@property (nonatomic, assign, readonly) MAAdLoadState adLoadState; + +/** + * The mediated network that this adapter response info object represents. + */ +@property (nonatomic, strong, readonly) MAMediatedNetworkInfo *mediatedNetwork; + +/** + * The credentials used to load an ad from this adapter, as entered in the AppLovin MAX dashboard. + */ +@property (nonatomic, copy, readonly) NSDictionary *credentials; + +/** + * The amount of time the network took to load (either successfully or not) an ad, in seconds. If an attempt to load an ad has not been made (i.e. the @c loadState is @c MAAdLoadStateAdLoadNotAttempted), the value will be @c -1. + */ +@property (nonatomic, assign, readonly) NSTimeInterval latency; + +/** + * The ad load error this network response resulted in. Will be @c nil if an attempt to load an ad has not been made or an ad was loaded successfully (i.e. the @c loadState is NOT @c MAAdLoadStateAdFailedtoLoad). + */ +@property (nonatomic, strong, readonly, nullable) MAError *error; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAReward.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAReward.h new file mode 100644 index 0000000..8f9b55a --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MAReward.h @@ -0,0 +1,54 @@ +// +// MAReward.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This object represents a reward given to the user. + */ +@interface MAReward : NSObject + +/** + * The label that is used when a label is not given by the third-party network. + */ +@property (class, nonatomic, copy, readonly) NSString *defaultLabel; + +/** + * The amount that is used when no amount is given by the third-party network. + */ +@property (class, nonatomic, assign, readonly) NSInteger defaultAmount; + +/** + * The reward label or @code +[MAReward defaultLabel] @endcode if none specified. + */ +@property (nonatomic, copy, readonly) NSString *label; + +/** + * The rewarded amount or @code +[MAReward defaultAmount] @endcode if none specified. + */ +@property (nonatomic, assign, readonly) NSInteger amount; + +/** + * Create a reward object. + */ ++ (instancetype)reward; + +/** + * Create a reward object, with a label and an amount. + * + * @param amount The rewarded amount. + * @param label The reward label. + */ ++ (instancetype)rewardWithAmount:(NSInteger)amount label:(NSString *)label; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAd.h new file mode 100644 index 0000000..52daf7a --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAd.h @@ -0,0 +1,157 @@ +// +// MARewardedAd.h +// AppLovinSDK +// +// Created by Thomas So on 8/9/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import +#import +#import +#import + +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a full-screen rewarded ad. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads + */ +@interface MARewardedAd : NSObject + +/** + * Gets an instance of a MAX rewarded ad. + * + * @param adUnitIdentifier Ad unit ID for which to get the ad instance. + * + * @return An instance of a rewarded ad tied to the specified ad unit ID. + */ ++ (instancetype)sharedWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Get an instance of a MAX rewarded ad. + * + * @param adUnitIdentifier Ad unit ID for which to get the ad instance. + * @param sdk SDK to use. + * + * @return An instance of a rewarded ad tied to the specified ad unit ID. + */ ++ (instancetype)sharedWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about ad events. + */ +@property (nonatomic, weak, nullable) id delegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) id revenueDelegate; + +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + +/** + * A delegate that will be notified about Ad Review events. + */ +@property (nonatomic, weak, nullable) id adReviewDelegate; + +/** + * Load the current rewarded ad. Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about ad load state. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Loading a Rewarded Ad + */ +- (void)loadAd; + +/** + * Show the loaded rewarded ad. + *
    + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad + */ +- (void)showAd; + +/** + * Show the loaded rewarded ad for a given placement to tie ad events to. + *
    + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad + * + * @param placement The placement to tie the showing ad’s events to. + */ +- (void)showAdForPlacement:(nullable NSString *)placement; + +/** + * Show the loaded rewarded ad for a given placement and custom data to tie ad events to. + *
    + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad + * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + */ +- (void)showAdForPlacement:(nullable NSString *)placement customData:(nullable NSString *)customData; + +/** + * Show the loaded rewarded ad for a given placement and custom data to tie ad events to, and a view controller to present the ad from. + *
    + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad + * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + * @param viewController The view controller to display the ad from. If @c nil, will be inferred from the key window's root view controller. + */ +- (void)showAdForPlacement:(nullable NSString *)placement customData:(nullable NSString *)customData viewController:(nullable UIViewController *)viewController; + +/** + * The ad unit identifier this @c MARewardedAd was initialized with and is loading ads for. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * Whether or not this ad is ready to be shown. + */ +@property (nonatomic, assign, readonly, getter=isReady) BOOL ready; + +/** + * Set an extra key/value parameter for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h new file mode 100644 index 0000000..b1beb53 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h @@ -0,0 +1,41 @@ +// +// MARewardedAdDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2020 AppLovin Corporation. All rights reserved. +// + +#import + +@class MAAd; +@class MAReward; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This delegate is notified when a user watches a rewarded video and of whether a reward was granted or rejected. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads + */ +@protocol MARewardedAdDelegate + +/** + * The SDK invokes this method when a user should be granted a reward. + * + * @param ad Ad for which the reward ad was rewarded. + * @param reward The reward to be granted to the user. + */ +- (void)didRewardUserForAd:(MAAd *)ad withReward:(MAReward *)reward; + +@optional + +- (void)didStartRewardedVideoForAd:(MAAd *)ad +__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didDisplayAd:] instead"); + +- (void)didCompleteRewardedVideoForAd:(MAAd *)ad +__deprecated_msg("This function is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didHideAd:] instead"); + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdapter.h new file mode 100644 index 0000000..d167a15 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdapter.h @@ -0,0 +1,42 @@ +// +// MARewardedAdapter.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines methods for rewarded (incentivized) adapters. + */ +@protocol MARewardedAdapter + +/** + * Load a rewarded ad. + * + * This is called once per adapter. + * + * @param parameters Parameters that should be used for this current ad load. + * @param delegate Delegate to be notified about rewarded ad events. + */ +- (void)loadRewardedAdForParameters:(id)parameters andNotify:(id)delegate; + +/** + * Show the pre-loaded rewarded ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to show the ad. + * @param delegate Delegate to be notified about rewarded ad events. + */ +- (void)showRewardedAdForParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h new file mode 100644 index 0000000..4309f30 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h @@ -0,0 +1,98 @@ +// +// MARewardedAdapterDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import + +@class MAAdapterError; +@class MAReward; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for rewarded ads. + */ +@protocol MARewardedAdapterDelegate + +/** + * This method should called when an ad has been loaded. + */ +- (void)didLoadRewardedAd; + +/** + * This method should called when an ad has been loaded. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadRewardedAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when an ad could not be loaded. + * + * @param adapterError An error that indicates the cause of the failure. + */ +- (void)didFailToLoadRewardedAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + */ +- (void)didDisplayRewardedAd; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayRewardedAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be displayed. + * + * @param adapterError An error that indicates the cause of the failure + */ +- (void)didFailToDisplayRewardedAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickRewardedAd; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickRewardedAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideRewardedAd; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideRewardedAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be invoked when rewarded video has started video playback. + */ +- (void)didStartRewardedAdVideo; + +/** + * This method should be invoked when rewarded video has completed video playback. + */ +- (void)didCompleteRewardedAdVideo; + +/** + * This method should be invoked when a user should be granted a reward. + * + * @param reward The reward to be granted to the user. + */ +- (void)didRewardUserWithReward:(MAReward *)reward; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h new file mode 100644 index 0000000..100fd0b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h @@ -0,0 +1,137 @@ +// +// MARewardedInterstitialAd.h +// AppLovinSDK +// +// Created by Thomas So on 6/3/20. +// + +#import +#import +#import +#import +#import + +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a fullscreen ad that the user can skip or be granted a reward upon successful completion of the ad. + */ +@interface MARewardedInterstitialAd : NSObject + +/** + * Create a new MAX rewarded interstitial. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Create a new MAX rewarded interstitial. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about ad events. + */ +@property (nonatomic, weak, nullable) id delegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) id revenueDelegate; + +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + +/** + * A delegate that will be notified about Ad Review events. + */ +@property (nonatomic, weak, nullable) id adReviewDelegate; + +/** + * Load the current rewarded interstitial. Set @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about ad load + * state. + */ +- (void)loadAd; + +/** + * Show the loaded rewarded interstitial ad. + *
    + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ */ +- (void)showAd; + +/** + * Show the loaded rewarded interstitial ad for a given placement to tie ad events to. + *
    + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + */ +- (void)showAdForPlacement:(nullable NSString *)placement; + +/** + * Show the loaded rewarded interstitial ad for a given placement and custom data to tie ad events to. + *
    + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + */ +- (void)showAdForPlacement:(nullable NSString *)placement customData:(nullable NSString *)customData; + +/** + * Show the loaded rewarded interstitial ad for a given placement and custom data to tie ad events to, and a view controller to present the ad from.. + *
    + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + * @param viewController The view controller to display the ad from. If @c nil, will be inferred from the key window's root view controller. + */ +- (void)showAdForPlacement:(nullable NSString *)placement + customData:(nullable NSString *)customData + viewController:(nullable UIViewController *)viewController; + +/** + * Whether or not this ad is ready to be shown. + */ +@property (nonatomic, assign, readonly, getter=isReady) BOOL ready; + +/** + * Set an extra key/value parameter for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h new file mode 100644 index 0000000..6ae2e97 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h @@ -0,0 +1,41 @@ +// +// MARewardedInterstitialAdapter.h +// AppLovinSDK +// +// Created by Thomas So on 6/3/20. +// + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface defines methods for rewarded interstitial adapters. + */ +@protocol MARewardedInterstitialAdapter + +/** + * Load a rewarded interstitial ad. + * + * This is called once per adapter. + * + * @param parameters Parameters that should be used for this current ad load. + * @param delegate Delegate to be notified about rewarded ad events. + */ +- (void)loadRewardedInterstitialAdForParameters:(id)parameters andNotify:(id)delegate; + +/** + * Show the pre-loaded rewarded interstitial ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to show the ad. + * @param delegate Delegate to be notified about rewarded ad events. + */ +- (void)showRewardedInterstitialAdForParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h new file mode 100644 index 0000000..01449b1 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h @@ -0,0 +1,97 @@ +// +// MARewardedInterstitialAdapterDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 6/3/20. +// + +#import + +@class MAAdapterError; +@class MAReward; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for rewarded interstitial ads. + */ +@protocol MARewardedInterstitialAdapterDelegate + +/** + * This method should called when an ad has been loaded. + */ +- (void)didLoadRewardedInterstitialAd; + +/** + * This method should called when an ad has been loaded. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadRewardedInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when an ad could not be loaded. + * + * @param adapterError An error that indicates the cause of the failure. + */ +- (void)didFailToLoadRewardedInterstitialAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + */ +- (void)didDisplayRewardedInterstitialAd; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayRewardedInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be displayed. + * + * @param adapterError An error that indicates the cause of the failure + */ +- (void)didFailToDisplayRewardedInterstitialAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickRewardedInterstitialAd; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickRewardedInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideRewardedInterstitialAd; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideRewardedInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be invoked when rewarded video has started video playback. + */ +- (void)didStartRewardedInterstitialAdVideo; + +/** + * This method should be invoked when rewarded video has completed video playback. + */ +- (void)didCompleteRewardedInterstitialAdVideo; + +/** + * This method should be invoked when a user should be granted a reward. + * + * @param reward The reward to be granted to the user. + */ +- (void)didRewardUserWithReward:(MAReward *)reward; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h new file mode 100644 index 0000000..f9e2cd5 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h @@ -0,0 +1,27 @@ +// +// MASignalCollectionDelegate.h +// AppLovinSDK +// +// Created by Thomas So on 8/27/18. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward signal collection events to the MAX SDK. + */ +@protocol MASignalCollectionDelegate + +/** + * This method must be called when signal collection has completed. + */ +- (void)didCollectSignal:(nullable NSString *)signal; + +/** + * This method should be called when signal collection has failed. + */ +- (void)didFailToCollectSignalWithErrorMessage:(nullable NSString *)errorMessage; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h new file mode 100644 index 0000000..aca5b25 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h @@ -0,0 +1,26 @@ +// +// MASignalCollectionParameters.h +// AppLovinSDK +// +// Created by Thomas So on 8/27/18. +// + +#import + +@class MAAdFormat; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol contains parameters passed to a mediation adapter to load the signal. + */ +@protocol MASignalCollectionParameters + +/** + * The ad format we are currently collecting the signal for. + */ +@property (nonatomic, strong, readonly) MAAdFormat *adFormat; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalProvider.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalProvider.h new file mode 100644 index 0000000..ae8ab43 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MASignalProvider.h @@ -0,0 +1,29 @@ +// +// MASignalProvider.h +// AppLovinSDK +// +// Created by Thomas So on 8/10/18. +// Copyright © 2019 AppLovin Corporation. All rights reserved. +// + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol describes a mediation adapter that provides bid signals. + */ +@protocol MASignalProvider + +/** + * Retrieve the signal that should be passed up to the server. + * + * @param parameters Parameters that should be used to retrieve the signal. + * @param delegate Delegate that must be notified when signal collection has completed (or failed). + */ +- (void)collectSignalWithParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h new file mode 100644 index 0000000..ac2e7c9 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h @@ -0,0 +1,31 @@ +// +// MATableViewAdPlacer.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 2/18/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class loads and places native ads into a corresponding @c UITableView. The table view's original data source and delegate methods are wrapped by this class in order to automatically insert ad rows, while maintaining the existing table view's behavior. + */ +@interface MATableViewAdPlacer : MACustomAdPlacer + +/** + * Initializes an ad placer for use with the provided table view. + * + * @param tableView A table view to place ads in. + * @param settings An ad placer settings object. + */ ++ (instancetype)placerWithTableView:(UITableView *)tableView settings:(MAAdPlacerSettings *)settings; + +- (instancetype)initWithSettings:(MAAdPlacerSettings *)settings NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MATableViewAdPlacerCell.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MATableViewAdPlacerCell.h new file mode 100644 index 0000000..df1820b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/MATableViewAdPlacerCell.h @@ -0,0 +1,21 @@ +// +// MATableViewAdPlacerCell.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 2/18/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface MATableViewAdPlacerCell : UITableViewCell + +/** + * A container view for a native ad. + */ +@property (nonatomic, strong) UIView *containerView; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h new file mode 100644 index 0000000..855a3f9 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h @@ -0,0 +1,223 @@ +// +// UICollectionView+MACollectionViewAdPlacer.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 3/8/22. +// + +#import + +@class MACollectionViewAdPlacer; + +NS_ASSUME_NONNULL_BEGIN + +/** + * When using an @c MACollectionViewAdPlacer, you should replace the usage of the original @c UICollectionView properties/methods in your code with the prefixed version from this category. + * These methods help simplify your application logic by automatically returning "original" index paths (by accounting for added ad index paths in the stream) as well as serving to inform the ad placer of changes to its associated collection view. + */ +@interface UICollectionView (MACollectionViewAdPlacer) + +/** + * The ad placer associated with this collection view. + * + * This value is automatically set when initializing @c MACollectionViewAdPlacer. + */ +@property (nonatomic, weak, nullable) MACollectionViewAdPlacer *adPlacer; + +/** + * The object that acts as the original data source of the collection view. + * + * Initializing an @c MACollectionViewAdPlacer will replace the original data source. This property allows access to the original data source object if needed. + */ +@property (nonatomic, weak, nullable, setter=al_setDataSource:) id al_dataSource; + +/** + * The object that acts as the original delegate of the collection view. + * + * Initializing an @c MACollectionViewAdPlacer will replace the original delegate. This property allows access to the original delegate object if needed. + */ +@property (nonatomic, weak, nullable, setter=al_setDelegate:) id al_delegate; + +#pragma mark - Creating Cells + +/** + * Dequeues a reusable cell object located by its identifier. + * + * @param identifier The reuse identifier for the specified cell. This parameter must not be @c nil. + * @param indexPath The index path specifying the location of the cell. The data source receives this information when it is asked for the cell and should just pass it along. This method uses the index path to perform additional configuration based on the cell’s position in the collection view. + */ +- (__kindof UICollectionViewCell *)al_dequeueReusableCellWithReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath; + +#pragma mark - Getting the State of the Collection View + +/** + * An array of visible non-ad cells currently displayed by the collection view. + * + * @return An array of @c UICollectionViewCell objects. If no cells are visible, this method returns an empty array. + */ +@property (nonatomic, readonly) NSArray<__kindof UICollectionViewCell *> *al_visibleCells; + +#pragma mark - Inserting, Deleting, and Moving Items + +/** + * Inserts new items at the specified index paths, and notifies the associated ad placer. + * + * @param indexPaths An array of @c NSIndexPath objects, each of which contains a section index and item index at which to insert a new cell. This parameter must not be @c nil. + */ +- (void)al_insertItemsAtIndexPaths:(NSArray *)indexPaths; + +/** + * Deletes the items at the specified index paths, and notifies the associated ad placer.. + * + * @param indexPaths An array of @c NSIndexPath objects, each of which contains a section index and item index for the item you want to delete from the collection view. This parameter must not be @c nil. + */ +- (void)al_deleteItemsAtIndexPaths:(NSArray *)indexPaths; + +/** + * Moves an item from one location to another in the collection view, and notifies the associated ad placer. + * + * @param indexPath The index path of the item you want to move. This parameter must not be @c nil. + * @param newIndexPath The index path of the item’s new location. This parameter must not be @c nil. + */ +- (void)al_moveItemAtIndexPath:(NSIndexPath *)indexPath toIndexPath:(NSIndexPath *)newIndexPath; + +#pragma mark - Inserting, Deleting, and Moving Sections + +/** + * Inserts new sections at the specified indexes, and notifies the associated ad placer. + * + * @param sections An index set containing the indexes of the sections you want to insert. This parameter must not be @c nil. + */ +- (void)al_insertSections:(NSIndexSet *)sections; + +/** + * Deletes the sections at the specified indexes, and notifies the associated ad placer. + * + * @param sections The indexes of the sections you want to delete. This parameter must not be @c nil. + */ +- (void)al_deleteSections:(NSIndexSet *)sections; + +/** + * Moves a section from one location to another in the collection view, and notifies the associated ad placer. + * + * @param section The index of the section you want to move. + * @param newSection The index in the collection view that is the destination of the move for the section. The existing section at that location moves up or down to an adjoining index position to make room for it. + */ +- (void)al_moveSection:(NSInteger)section toSection:(NSInteger)newSection; + +#pragma mark - Selecting Cells + +/** + * The original index paths for the selected items. + */ +@property (nonatomic, readonly, nullable) NSArray *al_indexPathsForSelectedItems; + +/** + * Selects the item at the specified index path and optionally scrolls it into view. + * + * @param indexPath The index path of the item to select. Specifying @c nil for this parameter clears the current selection. + * @param animated Specify @c YES to animate the change in the selection or @c NO to make the change + * without animating it. + * @param scrollPosition An option that specifies where the item should be positioned when scrolling + * finishes. + */ +- (void)al_selectItemAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UICollectionViewScrollPosition)scrollPosition; + +/** + * Deselects the item at the specified index. + * + * @param indexPath The index path of the item to select. Specifying @c nil results in no change to the current selection. + * @param animated Specify @c YES to animate the change in the selection or @c NO to make the change without animating it. + */ +- (void)al_deselectItemAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated; + +#pragma mark - Locating Items and Views + +/** + * An array of the visible non-ad items in the collection view. + */ +@property (nonatomic, readonly) NSArray *al_indexPathsForVisibleItems; + +/** + * Gets the index path of the item at the specified point in the collection view. + * + * @param point A point in the collection view’s coordinate system. + * + * @return The index path of the item at the specified point or @c nil if an ad or no item was found at the specified point. + */ +- (NSIndexPath *)al_indexPathForItemAtPoint:(CGPoint)point; + +/** + * Gets the index path of the specified cell. + * + * @param cell The cell object whose index path you want. + * + * @return The index path of the cell or @c nil if the specified cell contains an ad or is not in the collection view. + */ +- (NSIndexPath *)al_indexPathForCell:(UICollectionViewCell *)cell; + +/** + * Gets the cell object at the index path you specify. + * + * @param indexPath The index path that specifies the section and item number of the cell. + * + * @return The cell object at the corresponding index path. In versions of iOS earlier than iOS 15, this method returns @c nil if the cell isn't visible or if @c indexPath is out of range. In iOS 15 and later, this method returns a non-nil cell if the collection view retains a prepared cell at the specified index path, even if the cell isn't currently visible. + */ +- (UICollectionViewCell *)al_cellForItemAtIndexPath:(NSIndexPath *)indexPath; + +#pragma mark - Getting Layout Information + +/** + * Gets the layout information for the item at the specified index path. + * + * @param indexPath The index path of the item. + * + * @return The layout attributes for the item or @c nil if no item exists at the specified path. + */ +- (UICollectionViewLayoutAttributes *)al_layoutAttributesForItemAtIndexPath:(NSIndexPath *)indexPath; + +#pragma mark - Scrolling an Item Into View + +/** + * Scrolls the collection view contents until the specified item is visible. + * + * @param indexPath The index path of the item to scroll into view. + * @param scrollPosition An option that specifies where the item should be positioned when scrolling finishes. For a list of possible values, see @c UICollectionViewScrollPosition. + * @param animated Specify @c YES to animate the scrolling behavior or @c NO to adjust the scroll view’s visible content immediately. + */ +- (void)al_scrollToItemAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UICollectionViewScrollPosition)scrollPosition animated:(BOOL)animated; + +#pragma mark - Animating Multiple Changes to the Collection View + +/** + * Animates multiple insert, delete, reload, and move operations as a group. + * + * @param updates The block that performs the relevant insert, delete, reload, or move operations. + * @param completion A completion handler block to execute when all of the operations are finished. This block takes a single Boolean parameter that contains the value YES if all of the related animations completed successfully or NO if they were interrupted. This parameter may be nil. + */ +- (void)al_performBatchUpdates:(void (NS_NOESCAPE ^ _Nullable)(void))updates completion:(void (^ _Nullable)(BOOL finished))completion; + +#pragma mark - Reloading Content + +/** + * Reloads all of the data for the collection view. + */ +- (void)al_reloadData; + +/** + * Reloads the data in the specified sections of the collection view. + * + * @param sections The indexes of the sections to reload. + */ +- (void)al_reloadSections:(NSIndexSet *)sections; + +/** + * Reloads just the items at the specified index paths. + * + * @param indexPaths An array of @c NSIndexPath objects identifying the items you want to update. + */ +- (void)al_reloadItemsAtIndexPaths:(NSArray *)indexPaths; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h new file mode 100644 index 0000000..bdef946 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h @@ -0,0 +1,243 @@ +// +// UITableView+MATableViewAdPlacer.h +// AppLovinSDK +// +// Created by Ritam Sarmah on 2/22/22. +// + +#import + +@class MATableViewAdPlacer; + +NS_ASSUME_NONNULL_BEGIN + +/** + * When using an @c MATableViewAdPlacer, you should replace the usage of the original @c UITableView properties/methods in your code with the prefixed version from this category. + * These methods help simplify your application logic by automatically returning "original" index paths (by accounting for added ad index paths in the stream) as well as serving to inform the ad placer of changes to its associated table view. + */ +@interface UITableView (MATableViewAdPlacer) + +/** + * The ad placer associated with this collection view. + * + * This value is automatically set when initializing @c MATableViewAdPlacer. + */ +@property (nonatomic, weak, nullable) MATableViewAdPlacer *adPlacer; + +/** + * The object that acts as the original data source of the collection view. + * + * Initializing an @c MATableViewAdPlacer will replace the original data source. This property allows access to the original data source object if needed. + */ +@property (nonatomic, weak, nullable, setter=al_setDataSource:) id al_dataSource; + +/** + * The object that acts as the original delegate of the collection view. + * + * Initializing an @c MATableViewAdPlacer will replace the original delegate. This property allows access to the original delegate object if needed. + */ +@property (nonatomic, weak, nullable, setter=al_setDelegate:) id al_delegate; + +#pragma mark - Recycling Table View Cells + +/** + * Returns a reusable table-view cell object for the specified reuse identifier and adds it to the table. + * @param identifier A string identifying the cell object to be reused. This parameter must not be nil. + * @param indexPath The index path specifying the location of the cell. Always specify the index path provided to you by your data source object. This method uses the index path to perform additional configuration based on the cell’s position in the table view. + */ +- (__kindof UITableViewCell *)al_dequeueReusableCellWithIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath; + +#pragma mark - Getting Cells and Section-Based Views + +/** + * The non-ad table cells that are visible in the table view. + */ +@property (nonatomic, readonly) NSArray<__kindof UITableViewCell *> *al_visibleCells; + +/** + * An array of index paths, each identifying a visible non-ad row in the table view. + */ +@property (nonatomic, readonly, nullable) NSArray *al_indexPathsForVisibleRows; + +/** + * Returns the table cell at the index path you specify. + * + * @param indexPath The index path locating the row in the table view. + * + * @return The cell object at the corresponding index path. In versions of iOS earlier than iOS 15, this method returns @c nil if the cell isn’t visible or if @c indexPath is out of range. In iOS 15 and later, this method returns a non-nil cell if the table view retains a prepared cell at the specified index path, even if the cell isn’t currently visible. + */ +- (nullable __kindof UITableViewCell *)al_cellForRowAtIndexPath:(NSIndexPath *)indexPath; + +/** + * Returns an index path that represents the row and section of a specified table view cell. + * + * @param cell A cell object of the table view. + * + * @return An index path representing the row and section of the cell, or @c nil if the index path is invalid or is for an ad row. + */ +- (nullable NSIndexPath *)al_indexPathForCell:(UITableViewCell *)cell; + +/** + * Returns an index path that identifies the original row and section at the specified point. + * + * @param point A point in the local coordinate system of the table view (the table view’€™s bounds). + * + * @return An index path representing the row and section associated with point, or @c nil if the point is out of the bounds of any row. + */ +- (nullable NSIndexPath *)al_indexPathForRowAtPoint:(CGPoint)point; + +/** + * Returns an index path that identifies the row and section at the specified point. + * + * @param rect A rectangle defining an area of the table view in local coordinates. + * + * @return An array of @c NSIndexPath objects each representing a row and section index identifying a non-ad row within @c rect. Returns an empty array if there aren’t any rows to return. + */ +- (nullable NSArray *)al_indexPathsForRowsInRect:(CGRect)rect; + +#pragma mark - Selecting Rows + +/** + * An original index path that identifies the row and section of the selected row. + */ +@property (nonatomic, readonly, nullable) NSIndexPath *al_indexPathForSelectedRow; + +/** + * The original index paths that represent the selected rows. + */ +@property (nonatomic, readonly, nullable) NSArray *al_indexPathsForSelectedRows; + +/** + * Selects a row in the table view that an index path identifies, optionally scrolling the row to a location in the table view. + * + * @param indexPath An index path identifying a row in the table view. + * @param animated @c YES if you want to animate the selection and any change in position; @c NO if the change should be immediate. + * @param scrollPosition A constant that identifies a relative position in the table view (top, middle, bottom) for the row when scrolling concludes. See @c UITableViewScrollPosition for descriptions of valid constants. + */ +- (void)al_selectRowAtIndexPath:(nullable NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UITableViewScrollPosition)scrollPosition; + +/** + * Deselects a row that an index path identifies, with an option to animate the deselection. + * + * @param indexPath An index path identifying a row in the table view. + * @param animated @c YES if you want to animate the deselection, and @c NO if the change should be immediate. + */ +- (void)al_deselectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated; + +#pragma mark - Inserting, Deleting, and Moving Rows +/** + * Inserts rows in the table view at the locations that an array of index paths identifies, with an option to animate the insertion. Notifies the associated ad placer. + * + * @param indexPaths An array of index path objects, each representing a row index and section index that together identify a row in the table view. + * @param animation A constant that either specifies the kind of animation to perform when inserting the cell or requests no animation. See @c UITableViewRowAnimation for descriptions of the constants. + */ +- (void)al_insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation; + +/** + * Deletes the rows that an array of index paths identifies, with an option to animate the deletion. Notifies the associated ad placer. + * + * @param indexPaths An array of NSIndexPath objects identifying the rows to delete. + * @param animation A constant that indicates how the deletion is to be animated, for example, fade out or slide out from the bottom. See @c UITableViewRowAnimation for descriptions of these constants. + */ +- (void)al_deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation; + +/** + * Moves the row at a specified location to a destination location. Notifies the associated ad placer. + * + * @param indexPath An index path identifying the row to move. + * @param newIndexPath An index path identifying the row that is the destination of the row at @c indexPath. The existing row at that location slides up or down to an adjoining index position to make room for it. + */ +- (void)al_moveRowAtIndexPath:(NSIndexPath *)indexPath toIndexPath:(NSIndexPath *)newIndexPath; + +#pragma mark - Inserting, Deleting, and Moving Sections + +/** + * Inserts one or more sections in the table view, with an option to animate the insertion. Notifies the associated ad placer. + * + * @param sections An index set that specifies the sections to insert in the table view. If a section already exists at the specified index location, it is moved down one index location. + * @param animation A constant that indicates how the insertion is to be animated, for example, fade in or slide in from the left. See @c UITableViewRowAnimation for descriptions of these constants. + */ +- (void)al_insertSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation; + +/** + * Deletes one or more sections in the table view, with an option to animate the deletion. Notifies the associated ad placer. + * + * @param sections An index set that specifies the sections to delete from the table view. If a section exists after the specified index location, it is moved up one index location. + * @param animation A constant that either specifies the kind of animation to perform when deleting the section or requests no animation. See @c UITableViewRowAnimation for descriptions of the constants. + */ +- (void)al_deleteSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation; + +/** + * Moves a section to a new location in the table view. + * + * @param section The index of the section to move. + * @param newSection The index in the table view that is the destination of the move for the section. The existing section at that location slides up or down to an adjoining index position to make room for it. + */ +- (void)al_moveSection:(NSInteger)section toSection:(NSInteger)newSection; + +#pragma mark - Reloading and Updating + +/** + * Animates multiple insert, delete, reload, and move operations as a group. + * + * @param updates The block that performs the relevant insert, delete, reload, or move operations. In addition to modifying the table's rows, update your table's data source to reflect your changes. This block has no return value and takes no parameters. + * @param completion A completion handler block to execute when all of the operations are finished. + */ +- (void)al_performBatchUpdates:(void (NS_NOESCAPE ^ _Nullable)(void))updates completion:(void (^ _Nullable)(BOOL finished))completion API_AVAILABLE(ios(11.0), tvos(11.0)); + +/** + * Begins a series of method calls that insert, delete, or select rows and sections of the table view. + */ +- (void)al_beginUpdates; + +/** + * Concludes a series of method calls that insert, delete, select, or reload rows and sections of the table view. + */ +- (void)al_endUpdates; + +/** + * Reloads the rows and sections of the table view. + */ +- (void)al_reloadData; + +/** + * Reloads the specified sections using the provided animation effect. + * + * @param sections An index set identifying the sections to reload. + * @param animation A constant that indicates how the reloading is to be animated, for example, fade out or slide out from the bottom. See @c UITableViewRowAnimation for descriptions of these constants. The animation constant affects the direction in which both the old and the new section rows slide. For example, if the animation constant is @c UITableViewRowAnimationRight, the old rows slide out to the right and the new cells slide in from the right. + */ +- (void)al_reloadSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation; + +/** + * Reloads the specified rows using the provided animation effect. + * + * @param indexPaths An array of @c NSIndexPath objects identifying the rows to reload. + * @param animation A constant that indicates how the reloading is to be animated, for example, fade out or slide out from the bottom. See @c UITableViewRowAnimation for descriptions of these constants. The animation constant affects the direction in which both the old and the new rows slide. For example, if the animation constant is @c UITableViewRowAnimationRight, the old rows slide out to the right and the new cells slide in from the right. + */ +- (void)al_reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation; + +#pragma mark - Scrolling the Table View + +/** + * Scrolls through the table view until a row that an index path identifies is at a particular location on the screen. + * + * @param indexPath An index path that identifies a row in the table view by its row index and its section index. @c NSNotFound is a valid row index for scrolling to a section with zero rows. + * @param scrollPosition A constant that identifies a relative position in the table view (top, middle, bottom) for row when scrolling concludes. See @c UITableViewScrollPosition for descriptions of valid constants. + * @param animated @c YES if you want to animate the change in position; @c NO if it should be immediate. + */ +- (void)al_scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated; + +#pragma mark - Getting the Drawing Areas for the Table + +/** + * Returns the drawing area for a row that an index path identifies. + * + * @param indexPath An index path object that identifies a row by its index and its section index. + * + * @return A rectangle defining the area in which the table view draws the row or CGRectZero if indexPath is invalid. + */ +- (CGRect)al_rectForRowAtIndexPath:(NSIndexPath *)indexPath; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Info.plist b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Info.plist index 2ae9111..b8624de 100644 Binary files a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Info.plist and b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Info.plist differ diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Modules/module.modulemap b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..725d8de --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/Modules/module.modulemap @@ -0,0 +1,20 @@ +framework module AppLovinSDK { + umbrella header "AppLovinSDK.h" + + export * + module * { + export * + } + + link framework "AdSupport" + link framework "AVFoundation" + link framework "CoreGraphics" + link framework "CoreMedia" + link framework "CoreTelephony" + link framework "Foundation" + link framework "StoreKit" + link framework "SafariServices" + link framework "SystemConfiguration" + link framework "UIKit" + link framework "WebKit" +} diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeDirectory b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..af6690b Binary files /dev/null and b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeDirectory differ diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeRequirements b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeRequirements differ diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeRequirements-1 b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..65ba5e0 Binary files /dev/null and b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeResources b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..259f883 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeResources @@ -0,0 +1,1482 @@ + + + + + files + + Headers/ALAd.h + + qEqIB+b4SrZYPQ98WrzQOB3iNYM= + + Headers/ALAdDisplayDelegate.h + + WZzl+5yAhuKAsLDqj8RMejrxKOY= + + Headers/ALAdLoadDelegate.h + + wl9iPnp57uX4t2kwn1cOIQlqqBQ= + + Headers/ALAdRewardDelegate.h + + kCjoPJ8NMlg9XObIv633JxrcK2w= + + Headers/ALAdService.h + + JbVarfZnDq3HanLDbu4YBUF4PfY= + + Headers/ALAdSize.h + + FPq4FvpNe+a2Q1nlx8bTQVYCJlM= + + Headers/ALAdType.h + + 0uLHDaYG2W2rrREc4PTjjbZkph0= + + Headers/ALAdVideoPlaybackDelegate.h + + yzJCkjDB5+K5/fb60703W2gS4vI= + + Headers/ALAdView.h + + f+JW7vcjJmFidELcNi6v7ZrMYWs= + + Headers/ALAdViewEventDelegate.h + + 5NprJEjEcDcjdzXiPNFx8nC5hgg= + + Headers/ALAtomicBoolean.h + + HuZTv0v7ubV4kly5mqH06yYccFs= + + Headers/ALCCommunicator.h + + qBe9UHdIQ2+XHhIrfGsgzKNX2b0= + + Headers/ALCEntity.h + + nPoiF7OhVSHAdFWjHgJO5xUiHxg= + + Headers/ALCMessage.h + + +xBE1FMgyKTuz3efSMKDVqH/sK8= + + Headers/ALCMessagingService.h + + S4p4mffM8S273410GeQhAMpjGjU= + + Headers/ALCPublisher.h + + GChM3K33zpeyn19e78vB84eeds4= + + Headers/ALCSubscriber.h + + n1Ww1NUppkO8vvOw+SWhW33ILGI= + + Headers/ALErrorCodes.h + + l+Hdmt0vgwlJcwuwb5A00qJvzYc= + + Headers/ALEventService.h + + ix3uhkTn2Rz8at9Jsb+Gv36utjc= + + Headers/ALEventTypes.h + + +cKbmJf55NE+EL8iR5O27u30Mbg= + + Headers/ALIncentivizedInterstitialAd.h + + F2i297nZxBikms048T1QGlSZ6OM= + + Headers/ALInterstitialAd.h + + 1P2XGwNgJ0SmQlCMP6C6WCTm4Ic= + + Headers/ALMacros.h + + POVScGk5eQFL/6FomWFpR9i8v4k= + + Headers/ALMediationAdapter.h + + dNz7jnYZdkTa/Q7iW+VBG7zqxZ0= + + Headers/ALMediationAdapterRouter.h + + iHqwfZVKRvTOEMYtr+6NNr67Jzc= + + Headers/ALMediationProvider.h + + YNy4ZYe3GKUAHzHjFaTnqIc8hqw= + + Headers/ALPostbackDelegate.h + + 9UioMv61yI38gPRSDuwPNhIacaw= + + Headers/ALPrivacySettings.h + + GtvUV3iJX3Ehm+9laRM+6udhmBE= + + Headers/ALSdk.h + + maIP8hBNpkLGSHc/ZDsqyK5oQpY= + + Headers/ALSdkConfiguration.h + + Y+aF7evl16Ya0NIfx1XCaZ3t5eY= + + Headers/ALSdkSettings.h + + YFrR6boUq5SNJ179imZtBLwKpek= + + Headers/ALTargetingData.h + + dAGGT9DZsRnp5ORGCEDSRpJI6Dk= + + Headers/ALUserSegment.h + + IC88oXLZqMm53B86/eS4zUP051M= + + Headers/ALUtils.h + + PcmqSvPfEIYsMtYmQE9sCH4mCww= + + Headers/ALVariableService.h + + vOz0kE6/7YE4XC3hehI71gmJ0tg= + + Headers/AppLovinSDK.h + + kMK1HRQjeVD/mHG3fz7QxBo19Z4= + + Headers/MAAd.h + + +j2t4DydyqKekC/P1q5XrdkKlDY= + + Headers/MAAdDelegate.h + + cEBJtCQ4JRFGiSM+Ft/nfuceZno= + + Headers/MAAdFormat.h + + BhFjvmRgBma5Xhl8Q0ONwX3c7hI= + + Headers/MAAdPlacer.h + + mIFmJJvCjpnEOjC+2VRXNl6uhZw= + + Headers/MAAdPlacerSettings.h + + Jl6YgO6Fdvuc50x4ZUDoUU2DPS4= + + Headers/MAAdRequestDelegate.h + + EbXVBko6RmJ4On/Z1p2/Ml6+6DU= + + Headers/MAAdRevenueDelegate.h + + 3cgP8gTdpi4I9j3RR0485xG7Ql8= + + Headers/MAAdReviewDelegate.h + + QQ0TtzhAYZm9eJi33ywDBfC+oLE= + + Headers/MAAdView.h + + Vndxkel7BveKtQqQZUmhwTUncgA= + + Headers/MAAdViewAdDelegate.h + + dMLKqRbBVM04rIsvpyQaZQYppf8= + + Headers/MAAdViewAdapter.h + + XQkf6RMeJEtkFngph9YGg/YtZJk= + + Headers/MAAdViewAdapterDelegate.h + + PnZ5kjXTklMYuBZAN0Cfco/awLA= + + Headers/MAAdWaterfallInfo.h + + m10PuziIiNi8cy0wMPn4fqGhorM= + + Headers/MAAdapter.h + + +dmI91U0VzIyGCRad11RBbU+ukc= + + Headers/MAAdapterDelegate.h + + HIN188LLAVfjvdi5AxxpnkwQwvo= + + Headers/MAAdapterError.h + + 8lJeUsjWVYNXpOpueJqg9Bk96PY= + + Headers/MAAdapterInitializationParameters.h + + XqUSifftz4+A9ZmUIs5oHp1hqXA= + + Headers/MAAdapterParameters.h + + GqChq1prhzTSyVcdCqsKSt1NNEA= + + Headers/MAAdapterResponseParameters.h + + ZdW2/r9t7EZZVSnVnq9pWCmtm0E= + + Headers/MAAppOpenAd.h + + qUeCz8ea40Wlvqk6pW81JNshub4= + + Headers/MAAppOpenAdapter.h + + 9J0nBRWiqgmYgBWtrURuvXzcK4M= + + Headers/MAAppOpenAdapterDelegate.h + + 7nZZfQoLGeP3F94oSX0j7SKV/SU= + + Headers/MACollectionViewAdPlacer.h + + m8xK48h2y7A6Hgbs4MY1WAkIWy4= + + Headers/MACollectionViewAdPlacerCell.h + + 1BDHjfIErS7oCizkYVrZcoKXUF0= + + Headers/MACustomAdPlacer.h + + mum6lIDYf9bglrWo3vj1ldHBt0A= + + Headers/MAError.h + + 7EYZbyvkoFaHf8Wg12+o9NmpcLE= + + Headers/MAErrorCode.h + + aSH8ZYxCTsjJ27sSEpu/k1wCTp4= + + Headers/MAErrorCodes.h + + GRa+SjQl+lW6P8io1IxF7+kHXJA= + + Headers/MAInterstitialAd.h + + YX0xPmA3jzXNqOXCJd5DeGZi0DI= + + Headers/MAInterstitialAdapter.h + + QBLQGaX73tLY8DRL3UGBzloQ/gI= + + Headers/MAInterstitialAdapterDelegate.h + + rGtSuRjkUuxPw/zqnOkqYF8VZ0Y= + + Headers/MAMediatedNetworkInfo.h + + rBouk7Tmn2Dv4IINinIt8BerBnY= + + Headers/MANativeAd.h + + 0OxjTrWAix1tsEnIKiZYeeWuHms= + + Headers/MANativeAdAdapter.h + + WCxtiLsxDFeA9JXsp/0TqzgVQZg= + + Headers/MANativeAdAdapterDelegate.h + + rP3LGwTFeQYt4f+v1XSIFCNRhDY= + + Headers/MANativeAdDelegate.h + + 2/u+hzlQ/LbZCyONTzEmgIeJaXA= + + Headers/MANativeAdLoader.h + + 93gfMGjNPGgPtb7MzdXalQNZlo8= + + Headers/MANativeAdView.h + + lnBOuCzcR/IyBkJ95NUb2Mb0qSo= + + Headers/MANativeAdViewBinder.h + + PXI4yxlOjLrEqmIW6rAzM8Q12N0= + + Headers/MANetworkResponseInfo.h + + j4WqbDc6rMYM9nhwYOVcfo56KXA= + + Headers/MAReward.h + + OFIS7nM2Phniw/oUEk5YNl20guc= + + Headers/MARewardedAd.h + + o1/FV16vAV8WZiGs4cpO3715SE0= + + Headers/MARewardedAdDelegate.h + + daH2ZpRQ6GnGUTgXM4z+wdFh7i0= + + Headers/MARewardedAdapter.h + + Q8YH5X+UGikIZJbeDM9UG7c5+sY= + + Headers/MARewardedAdapterDelegate.h + + fBnH53lP4YlpGJsAKLpoKdR8Vlc= + + Headers/MARewardedInterstitialAd.h + + 15VPEsK2oAlCe0GA7rf4J0O7w9U= + + Headers/MARewardedInterstitialAdapter.h + + F/CgL5OIAyRG3iavP/3LSKaPDXg= + + Headers/MARewardedInterstitialAdapterDelegate.h + + KwSkHzTYrkWzW+Y/CNY/lou8akk= + + Headers/MASignalCollectionDelegate.h + + znszegVcmQLy6Ehe/CjMFwZBKEI= + + Headers/MASignalCollectionParameters.h + + N8fhX8ILdv/WiYzykgzF5CR9bG8= + + Headers/MASignalProvider.h + + lKuyASjGLY4obO2UUlnwlmP50QA= + + Headers/MATableViewAdPlacer.h + + BtSlKHQK925gfQC9VwU2HmQmzNw= + + Headers/MATableViewAdPlacerCell.h + + skyyITKAzay8wzBGbhH3BUU7AOQ= + + Headers/UICollectionView+MACollectionViewAdPlacer.h + + fzODSrX15J+65FHt50ZDoZ/5bpA= + + Headers/UITableView+MATableViewAdPlacer.h + + HP9179VTQbTlAfYfqm09ou0/J0I= + + Info.plist + + 50nVIdxLek+Jozr/00ks+eg8wvQ= + + Modules/module.modulemap + + 3kfjKU5Zw3pKyvUX2kva8bu7/28= + + + files2 + + Headers/ALAd.h + + hash + + qEqIB+b4SrZYPQ98WrzQOB3iNYM= + + hash2 + + /Y4HOFHFajutVSSvTPpL+4UvFfsH12QlhxvfacrSXh8= + + + Headers/ALAdDisplayDelegate.h + + hash + + WZzl+5yAhuKAsLDqj8RMejrxKOY= + + hash2 + + DL8+t8pdSu4Zq5mCWclqJhbi1ve0TpxXGzPS898JeYI= + + + Headers/ALAdLoadDelegate.h + + hash + + wl9iPnp57uX4t2kwn1cOIQlqqBQ= + + hash2 + + qzMMuU50vpG9A1AMi/mTUCpREtTdx1icwKSsKYEYNlI= + + + Headers/ALAdRewardDelegate.h + + hash + + kCjoPJ8NMlg9XObIv633JxrcK2w= + + hash2 + + SYFkkQnuqNefpLZNg9N/pSXyG5um91OskiPOUHkzeGs= + + + Headers/ALAdService.h + + hash + + JbVarfZnDq3HanLDbu4YBUF4PfY= + + hash2 + + gn7ZWCH2yAs238CKQ5Cm23ngGVdBeQCRHtDmkr0WjHM= + + + Headers/ALAdSize.h + + hash + + FPq4FvpNe+a2Q1nlx8bTQVYCJlM= + + hash2 + + f/kpO9PASEG1t1nOWBLOmPRGEBPhjZgx5KG5du9WLfY= + + + Headers/ALAdType.h + + hash + + 0uLHDaYG2W2rrREc4PTjjbZkph0= + + hash2 + + YoP4O4273gN3gwQILXaU9sfEJBH7TWrL5/RDGlPbFB8= + + + Headers/ALAdVideoPlaybackDelegate.h + + hash + + yzJCkjDB5+K5/fb60703W2gS4vI= + + hash2 + + fnq5Er4UzCamR5bLXc6xiIUwUddUpWH0yN3pOnkPhoc= + + + Headers/ALAdView.h + + hash + + f+JW7vcjJmFidELcNi6v7ZrMYWs= + + hash2 + + hmwBvwOWwmmBLRCYmHVAIOr5DuTAN+oj2uORT/6nFTs= + + + Headers/ALAdViewEventDelegate.h + + hash + + 5NprJEjEcDcjdzXiPNFx8nC5hgg= + + hash2 + + kq2naQvtj41gnf23iGc6riKwpkRQYaH5Zc4J3b0AqHs= + + + Headers/ALAtomicBoolean.h + + hash + + HuZTv0v7ubV4kly5mqH06yYccFs= + + hash2 + + 0oFWILrsubMwX5UqMIJGm24Raj0JmKSKuKTdmtg8JFY= + + + Headers/ALCCommunicator.h + + hash + + qBe9UHdIQ2+XHhIrfGsgzKNX2b0= + + hash2 + + gmpbRa/ONBGGuzBpQTnV8uimW5TVqUmCrvTp6djsFpA= + + + Headers/ALCEntity.h + + hash + + nPoiF7OhVSHAdFWjHgJO5xUiHxg= + + hash2 + + d72nbJGVjD1YdfTQBVvRjN0KTv06CMY7gc+KdjxefZc= + + + Headers/ALCMessage.h + + hash + + +xBE1FMgyKTuz3efSMKDVqH/sK8= + + hash2 + + rxpDbbZPWvHFM1iEG6mkjtJoVfBAZF4MEJD6NOU6gWk= + + + Headers/ALCMessagingService.h + + hash + + S4p4mffM8S273410GeQhAMpjGjU= + + hash2 + + +3/Mu2D6/BsaTY/ImJjMgMyj7qZDqUcafsvyUruIxQo= + + + Headers/ALCPublisher.h + + hash + + GChM3K33zpeyn19e78vB84eeds4= + + hash2 + + cjq4tYrUbFOxoHoQRx93U5bPA24z8mOhQ2GqO0a4f7k= + + + Headers/ALCSubscriber.h + + hash + + n1Ww1NUppkO8vvOw+SWhW33ILGI= + + hash2 + + h+XCR3P53+em0ulDy3kG21IZ+qouVQf3IynxiopbLWo= + + + Headers/ALErrorCodes.h + + hash + + l+Hdmt0vgwlJcwuwb5A00qJvzYc= + + hash2 + + 3iyM1w2c1MBOQrRiun+FFhnJxKaguc+8KIswKY7L90s= + + + Headers/ALEventService.h + + hash + + ix3uhkTn2Rz8at9Jsb+Gv36utjc= + + hash2 + + zII+eztXrpsKVPHhyZTEXB4lA42N79ypu7ovXzEoTbw= + + + Headers/ALEventTypes.h + + hash + + +cKbmJf55NE+EL8iR5O27u30Mbg= + + hash2 + + 6fCpeqRpD/3nxqS7K0I1Ad7U8R7KQBaK7gCKBgM3kL4= + + + Headers/ALIncentivizedInterstitialAd.h + + hash + + F2i297nZxBikms048T1QGlSZ6OM= + + hash2 + + btWKf5dGcDuLLdu0rYalCDpFNcv7xIDO2l936952884= + + + Headers/ALInterstitialAd.h + + hash + + 1P2XGwNgJ0SmQlCMP6C6WCTm4Ic= + + hash2 + + Gcv343Yl2uLvnj22uu23GRyKsD13jelEoxlLv/mJxww= + + + Headers/ALMacros.h + + hash + + POVScGk5eQFL/6FomWFpR9i8v4k= + + hash2 + + NDWt6JIImKHKafHnhoUVqw8WEEsT/3btdBglYK49HUc= + + + Headers/ALMediationAdapter.h + + hash + + dNz7jnYZdkTa/Q7iW+VBG7zqxZ0= + + hash2 + + M8a2GkdC8kkHdVti7EuLLoSOuz7yLdyYD0gUBBEKCFc= + + + Headers/ALMediationAdapterRouter.h + + hash + + iHqwfZVKRvTOEMYtr+6NNr67Jzc= + + hash2 + + agtLZAwxtLuzMeOsgVJitrzFkAqSJqhn7HYrCqVnCDU= + + + Headers/ALMediationProvider.h + + hash + + YNy4ZYe3GKUAHzHjFaTnqIc8hqw= + + hash2 + + gG7kj1QjEygrcDC0uxuce2hgp2rW08/iZrEoYuoXqwo= + + + Headers/ALPostbackDelegate.h + + hash + + 9UioMv61yI38gPRSDuwPNhIacaw= + + hash2 + + 7a2gianJYTa7S+NPjd3qIiHMRH+p9zE9Hx1nKScjWkA= + + + Headers/ALPrivacySettings.h + + hash + + GtvUV3iJX3Ehm+9laRM+6udhmBE= + + hash2 + + wMjJjW1mMa5vg77aBT5bzPuskP5m481w4QyUhrzrLok= + + + Headers/ALSdk.h + + hash + + maIP8hBNpkLGSHc/ZDsqyK5oQpY= + + hash2 + + ORNoW1F/IFXJzeY8T9zIOKY4L6KX8ROcjwGpFnw/LJY= + + + Headers/ALSdkConfiguration.h + + hash + + Y+aF7evl16Ya0NIfx1XCaZ3t5eY= + + hash2 + + qhv/tW3w30o+jI9yoYrM6xjrOc0FOhWGQNty2bwqiYY= + + + Headers/ALSdkSettings.h + + hash + + YFrR6boUq5SNJ179imZtBLwKpek= + + hash2 + + yJNOEYkozx0U84pP8e0Lny7FS5WsqjKOYzBhdj6I6QE= + + + Headers/ALTargetingData.h + + hash + + dAGGT9DZsRnp5ORGCEDSRpJI6Dk= + + hash2 + + vY1IAeCY+6wkNs9NOracPOm8WuwXD4dzQ6BqgYw+R6Y= + + + Headers/ALUserSegment.h + + hash + + IC88oXLZqMm53B86/eS4zUP051M= + + hash2 + + o+FSL5eW3jJwL53iu1azWg8xv8QX1KOmZYzm2NG5Gc4= + + + Headers/ALUtils.h + + hash + + PcmqSvPfEIYsMtYmQE9sCH4mCww= + + hash2 + + p6GYp8+VwDgeC73L+s/uplho/K0rtBa+r6jKNYdfmcA= + + + Headers/ALVariableService.h + + hash + + vOz0kE6/7YE4XC3hehI71gmJ0tg= + + hash2 + + Ks9pnOGS13ZDAl56i8CCgiv9yWDpTpLjKwRAY/Ezp1E= + + + Headers/AppLovinSDK.h + + hash + + kMK1HRQjeVD/mHG3fz7QxBo19Z4= + + hash2 + + UGttejOKZy8KicfTgulu85K9hOkLq2xGRAdM8X3CmXQ= + + + Headers/MAAd.h + + hash + + +j2t4DydyqKekC/P1q5XrdkKlDY= + + hash2 + + g3yGV8YTtle540SX6vTkHZUw9ENNTlpB1Wad6eo+Na8= + + + Headers/MAAdDelegate.h + + hash + + cEBJtCQ4JRFGiSM+Ft/nfuceZno= + + hash2 + + +9OPcEvmnVFAglS7pU90yWH27f+tZRHnP8e1Ng2qrpg= + + + Headers/MAAdFormat.h + + hash + + BhFjvmRgBma5Xhl8Q0ONwX3c7hI= + + hash2 + + 9OyGyRbzgP9tDajLK3yTF3cLWcD/Wos5Q7ADPDx8/jU= + + + Headers/MAAdPlacer.h + + hash + + mIFmJJvCjpnEOjC+2VRXNl6uhZw= + + hash2 + + BwGIPAqSbp/n+bxpNfJOlvRWckVRRe+TA2EzULvUI0U= + + + Headers/MAAdPlacerSettings.h + + hash + + Jl6YgO6Fdvuc50x4ZUDoUU2DPS4= + + hash2 + + 1200okuLgZwrQbMBPH7vgFCUWtYUT56Gbw4/wKUY63c= + + + Headers/MAAdRequestDelegate.h + + hash + + EbXVBko6RmJ4On/Z1p2/Ml6+6DU= + + hash2 + + CjJPAZTkl3I7TMQlLjU7yw3S2F3OJ7o4y61rd/3Diss= + + + Headers/MAAdRevenueDelegate.h + + hash + + 3cgP8gTdpi4I9j3RR0485xG7Ql8= + + hash2 + + KA5NZkaolnGug1REGmoF4fDgh2cx17p7FcJfF7+mCh4= + + + Headers/MAAdReviewDelegate.h + + hash + + QQ0TtzhAYZm9eJi33ywDBfC+oLE= + + hash2 + + r4psYvSddbHRcRiB7yxZCSZbhzZEffT9QgSHpUYB56I= + + + Headers/MAAdView.h + + hash + + Vndxkel7BveKtQqQZUmhwTUncgA= + + hash2 + + vWvDyHt1Pjje0S/emK7DwfL6MD68VFX3h8sckBQWsmM= + + + Headers/MAAdViewAdDelegate.h + + hash + + dMLKqRbBVM04rIsvpyQaZQYppf8= + + hash2 + + TeTjPPLFOan+IKUE8KuuaP/aL1+CaekwnhLdLwxMSZ0= + + + Headers/MAAdViewAdapter.h + + hash + + XQkf6RMeJEtkFngph9YGg/YtZJk= + + hash2 + + +6BxbzdSakr7WgAUc6jGiGXm0CCOPcbZPEWRZeB2j/k= + + + Headers/MAAdViewAdapterDelegate.h + + hash + + PnZ5kjXTklMYuBZAN0Cfco/awLA= + + hash2 + + 8hf0vLvW2kaK+Ke6GZKEHh8baRrOfz+jTnJX1sbeyBg= + + + Headers/MAAdWaterfallInfo.h + + hash + + m10PuziIiNi8cy0wMPn4fqGhorM= + + hash2 + + ZDcDWZivft5qeG3qtQvqpIeHFCFZKcqNMneN31fCOeM= + + + Headers/MAAdapter.h + + hash + + +dmI91U0VzIyGCRad11RBbU+ukc= + + hash2 + + XHAXBBXzs13Q5RQrD2BQ6HdWB+c1ftAETuqMX34oAu4= + + + Headers/MAAdapterDelegate.h + + hash + + HIN188LLAVfjvdi5AxxpnkwQwvo= + + hash2 + + 5kJGU5Xi4oe3X2LZLmmVVGuKYKFxnHVeeiAPjLvCu+E= + + + Headers/MAAdapterError.h + + hash + + 8lJeUsjWVYNXpOpueJqg9Bk96PY= + + hash2 + + zhvNbe98UGoecQmAPOJURxcdEd2n1ISSDWEI59GSnfE= + + + Headers/MAAdapterInitializationParameters.h + + hash + + XqUSifftz4+A9ZmUIs5oHp1hqXA= + + hash2 + + uP94zPC213c1OlJAqWqocPgc55/zCNos/N7HpiTFWiY= + + + Headers/MAAdapterParameters.h + + hash + + GqChq1prhzTSyVcdCqsKSt1NNEA= + + hash2 + + /l/AxMEiH51HpNTrp7ppHKwpAK2fEMKKpQjDE4j08vI= + + + Headers/MAAdapterResponseParameters.h + + hash + + ZdW2/r9t7EZZVSnVnq9pWCmtm0E= + + hash2 + + k8Fy+RtvAX81gWSpBsiNF5W3CDkKcRSUV97z5TJBIFM= + + + Headers/MAAppOpenAd.h + + hash + + qUeCz8ea40Wlvqk6pW81JNshub4= + + hash2 + + ISsdlc2J7LRi8loTH5TtPN5gX0/UdZWbX3sn+AkT4hU= + + + Headers/MAAppOpenAdapter.h + + hash + + 9J0nBRWiqgmYgBWtrURuvXzcK4M= + + hash2 + + tU1GPpdoRRXG9arMci7qT7LsY3ubrkv1kLpvGzngbOU= + + + Headers/MAAppOpenAdapterDelegate.h + + hash + + 7nZZfQoLGeP3F94oSX0j7SKV/SU= + + hash2 + + Sq/S2rtaZg1jAAxxku+W7jzFRVjrXlNNlqLMOMa/KDk= + + + Headers/MACollectionViewAdPlacer.h + + hash + + m8xK48h2y7A6Hgbs4MY1WAkIWy4= + + hash2 + + soJzrsVqK27kdrT9BI+Tgx0Fv7Q7QBCnyOeSLMfc2So= + + + Headers/MACollectionViewAdPlacerCell.h + + hash + + 1BDHjfIErS7oCizkYVrZcoKXUF0= + + hash2 + + dcBF/lOKwH50O7614xW3Mz0pXmPtjw/moAi6ippD6L8= + + + Headers/MACustomAdPlacer.h + + hash + + mum6lIDYf9bglrWo3vj1ldHBt0A= + + hash2 + + f3sk5zreDl9FfDi4+6QL5sxNS0cWjDdluSuupD7xz1U= + + + Headers/MAError.h + + hash + + 7EYZbyvkoFaHf8Wg12+o9NmpcLE= + + hash2 + + 2vOo/siyFzDEurQojpizqfln3BAfhM5o/tQKZySISn8= + + + Headers/MAErrorCode.h + + hash + + aSH8ZYxCTsjJ27sSEpu/k1wCTp4= + + hash2 + + 3mopuEYR9w5Qh53TxrODQjjwS/umNyA1HmzuautSgHI= + + + Headers/MAErrorCodes.h + + hash + + GRa+SjQl+lW6P8io1IxF7+kHXJA= + + hash2 + + ZMHGHLNjS2F7N8veJROjwEEZJJUmNgqr4n9vn1XiOUg= + + + Headers/MAInterstitialAd.h + + hash + + YX0xPmA3jzXNqOXCJd5DeGZi0DI= + + hash2 + + rZMb+Xl0QJ2AWAmwMbt4H2wLKKpY3gj+uCCKbseJKPs= + + + Headers/MAInterstitialAdapter.h + + hash + + QBLQGaX73tLY8DRL3UGBzloQ/gI= + + hash2 + + 719GyFybiXVs3niekJEr28mI78D7ovcIaHRc/t+TCxM= + + + Headers/MAInterstitialAdapterDelegate.h + + hash + + rGtSuRjkUuxPw/zqnOkqYF8VZ0Y= + + hash2 + + kDZ/eDyaYFfFaolwDvjHt51LlFpycdKLkQkYZ8L84EM= + + + Headers/MAMediatedNetworkInfo.h + + hash + + rBouk7Tmn2Dv4IINinIt8BerBnY= + + hash2 + + AKAH88Geb6+L+UVAoqejYSjAyA5YEDKvkm2UdsMkKNA= + + + Headers/MANativeAd.h + + hash + + 0OxjTrWAix1tsEnIKiZYeeWuHms= + + hash2 + + 2CkcjqJyrnG5o9raupz8Ny8IzH34csEKrN+XCx8YEZw= + + + Headers/MANativeAdAdapter.h + + hash + + WCxtiLsxDFeA9JXsp/0TqzgVQZg= + + hash2 + + x1guUepMEzSxqKMSeJ8oMFIEUYl7nL7+X73AR8w9qPo= + + + Headers/MANativeAdAdapterDelegate.h + + hash + + rP3LGwTFeQYt4f+v1XSIFCNRhDY= + + hash2 + + U4Yi66Eb5g5wENXLhQIxfVQGNaywwfLGFtTrTnxa+zg= + + + Headers/MANativeAdDelegate.h + + hash + + 2/u+hzlQ/LbZCyONTzEmgIeJaXA= + + hash2 + + 6jVM4zfOq4pQgv5xWDnp4MY5+4UBMnaCRYy3lw36/lQ= + + + Headers/MANativeAdLoader.h + + hash + + 93gfMGjNPGgPtb7MzdXalQNZlo8= + + hash2 + + NKPQl/TopQTSJolDOw7JvnkUj390gIvjiZjWOrfxBSg= + + + Headers/MANativeAdView.h + + hash + + lnBOuCzcR/IyBkJ95NUb2Mb0qSo= + + hash2 + + d410pHhUhdqlpYvI1Q5iUSDqVym4O74nnYa4NX69vxk= + + + Headers/MANativeAdViewBinder.h + + hash + + PXI4yxlOjLrEqmIW6rAzM8Q12N0= + + hash2 + + QQBrhNFxp6QfTdKDU499o2zdC4uhCMswrVVDxRsQGK8= + + + Headers/MANetworkResponseInfo.h + + hash + + j4WqbDc6rMYM9nhwYOVcfo56KXA= + + hash2 + + WZh8hoUzJtC/M2idxJYNuehYXMqPeQMY8Z9psuwaq7Q= + + + Headers/MAReward.h + + hash + + OFIS7nM2Phniw/oUEk5YNl20guc= + + hash2 + + smJC5Shr7Go89hVHYn1fTnQNj2LLxPYYj7QVyLcI0FA= + + + Headers/MARewardedAd.h + + hash + + o1/FV16vAV8WZiGs4cpO3715SE0= + + hash2 + + J1vTpT8Zqx5W8DRGiK2HZnKE0P2R6i1/Rs6blGMyJYQ= + + + Headers/MARewardedAdDelegate.h + + hash + + daH2ZpRQ6GnGUTgXM4z+wdFh7i0= + + hash2 + + 0NziwFCvk7kdk7Kx2D/H8zTnNIiAB6rGfGzfjKxRMxI= + + + Headers/MARewardedAdapter.h + + hash + + Q8YH5X+UGikIZJbeDM9UG7c5+sY= + + hash2 + + qPJdJXQoRuQoXqY9p8vTJt90JuE+nmvUs6zeNiDCf/s= + + + Headers/MARewardedAdapterDelegate.h + + hash + + fBnH53lP4YlpGJsAKLpoKdR8Vlc= + + hash2 + + fVxWd7927DtGk3bVn9N6s2C+zahAguocEQlv6ouwmVg= + + + Headers/MARewardedInterstitialAd.h + + hash + + 15VPEsK2oAlCe0GA7rf4J0O7w9U= + + hash2 + + CVz8m7HRaZ5Zp7j5kYgIaRKw4ofgFFiphS+rzx/V7FI= + + + Headers/MARewardedInterstitialAdapter.h + + hash + + F/CgL5OIAyRG3iavP/3LSKaPDXg= + + hash2 + + aNgkWU9ukh8rw7/g1gOaTQ/h8oLM21+5ft1F8yG1eGY= + + + Headers/MARewardedInterstitialAdapterDelegate.h + + hash + + KwSkHzTYrkWzW+Y/CNY/lou8akk= + + hash2 + + lVTB580bVCf5LYLedb8OdtvqzvCx1zPxqgbYv/AkcCQ= + + + Headers/MASignalCollectionDelegate.h + + hash + + znszegVcmQLy6Ehe/CjMFwZBKEI= + + hash2 + + h8T0PcDCiL24XZdcEEdlm2oQQ8s6Y1AZcdk7YYdJB7Y= + + + Headers/MASignalCollectionParameters.h + + hash + + N8fhX8ILdv/WiYzykgzF5CR9bG8= + + hash2 + + jDT+R82zms6rWln67fGlnrrkmhccqIwDwjqKIwRym3M= + + + Headers/MASignalProvider.h + + hash + + lKuyASjGLY4obO2UUlnwlmP50QA= + + hash2 + + TPk7lVpcU2zOJLXBks5Ry7TQzUICA+8gfups7JVBMrs= + + + Headers/MATableViewAdPlacer.h + + hash + + BtSlKHQK925gfQC9VwU2HmQmzNw= + + hash2 + + Dxm1tplOiQ7OCevgfNy7dkrHrKdnHyPbJ29SCRaFIg4= + + + Headers/MATableViewAdPlacerCell.h + + hash + + skyyITKAzay8wzBGbhH3BUU7AOQ= + + hash2 + + 0Z3bq4ue4uiriHsk91beozslcKBk/EgURMzJ/YHaeSI= + + + Headers/UICollectionView+MACollectionViewAdPlacer.h + + hash + + fzODSrX15J+65FHt50ZDoZ/5bpA= + + hash2 + + cLYRJ09597huJ8ZA8pjFUN0cXJiwXaf9isLrWW0/Iw4= + + + Headers/UITableView+MATableViewAdPlacer.h + + hash + + HP9179VTQbTlAfYfqm09ou0/J0I= + + hash2 + + g70BBWdoUacMyfMqb0WcA3p2+VaWylUTp7Vw2jpOcDA= + + + Modules/module.modulemap + + hash + + 3kfjKU5Zw3pKyvUX2kva8bu7/28= + + hash2 + + UNhjkQ5YM5xxedAqt9OQSna8vXTG8hG/pQuEP/ls2Ig= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeSignature b/plugins/2018.3326/iphone-sim/AppLovinSDK.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/plugins/2018.3326/iphone-sim/libAPDAppLovinAdapter.a b/plugins/2018.3326/iphone-sim/libAPDAppLovinAdapter.a index dd31fed..33e1ac5 100644 Binary files a/plugins/2018.3326/iphone-sim/libAPDAppLovinAdapter.a and b/plugins/2018.3326/iphone-sim/libAPDAppLovinAdapter.a differ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/AppLovinSDK b/plugins/2018.3326/iphone/AppLovinSDK.framework/AppLovinSDK index e749e07..f8a61df 100644 Binary files a/plugins/2018.3326/iphone/AppLovinSDK.framework/AppLovinSDK and b/plugins/2018.3326/iphone/AppLovinSDK.framework/AppLovinSDK differ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAd.h index 5beaba9..3895713 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAd.h @@ -5,15 +5,15 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALAdSize.h" -#import "ALAdType.h" +@class ALAdSize; +@class ALAdType; NS_ASSUME_NONNULL_BEGIN /** * Represents an ad that has been served from the AppLovin server. */ -@interface ALAd : NSObject +@interface ALAd : NSObject /** * The size category of this ad. @@ -61,7 +61,6 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, strong, readonly) NSNumber *adIdNumber; - - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h index fc912a6..86ba36b 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdDisplayDelegate.h @@ -6,8 +6,9 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import -#import "ALAd.h" +#import + +@class ALAd; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h index 2c3c64e..3f6cda3 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdLoadDelegate.h @@ -6,15 +6,11 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALAd.h" +@class ALAd; +@class ALAdService; NS_ASSUME_NONNULL_BEGIN -/** - * This service loads an ad. - */ -@class ALAdService; - /** * This protocol defines a listener for ad load events. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h index 2defa0f..ebd806e 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdRewardDelegate.h @@ -6,7 +6,7 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALAd.h" +@class ALAd; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdService.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdService.h index 2e9c86d..2146cc0 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdService.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdService.h @@ -6,11 +6,12 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALAd.h" -#import "ALAdSize.h" -#import "ALAdLoadDelegate.h" -#import "ALAdDisplayDelegate.h" -#import "ALAdVideoPlaybackDelegate.h" +#import +#import +#import + +@class ALAd; +@class ALAdSize; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdSize.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdSize.h index 4a3adb3..b158768 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdSize.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdSize.h @@ -6,9 +6,6 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import -#import - NS_ASSUME_NONNULL_BEGIN /** diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdType.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdType.h index 0ca8ab2..dd4d975 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdType.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdType.h @@ -17,6 +17,11 @@ NS_ASSUME_NONNULL_BEGIN */ @property (class, nonatomic, strong, readonly) ALAdType *regular; +/** + * Represents a standard advertisement that does not provide a reward to the user and is shown upon opening the app. + */ +@property (class, nonatomic, strong, readonly) ALAdType *appOpen; + /** * A rewarded ad, which will provide the user virtual currency upon completion. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h index 083e0ad..f64d502 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdVideoPlaybackDelegate.h @@ -5,15 +5,11 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALAd.h" +@class ALAd; +@class ALAdService; NS_ASSUME_NONNULL_BEGIN -/** - * This service defines a listener for ad video playback events. Ads that do not contain videos will not trigger these callbacks. - */ -@class ALAdService; - /** * This protocol defines a listener for ad video playback events. Ads that do not contain videos will not trigger these callbacks. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdView.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdView.h index 7f032e3..c2d7683 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdView.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdView.h @@ -7,10 +7,14 @@ // #import +#import +#import +#import -#import "ALSdk.h" -#import "ALAdService.h" -#import "ALAdViewEventDelegate.h" +@class ALAd; +@class ALSdk; +@class ALAdSize; +@class ALAdType; NS_ASSUME_NONNULL_BEGIN @@ -75,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Loads and displays an ad into the view. This method returns immediately. * - * Note: To load the ad but not display it, use @code +[ALSdk shared] @endcode ⇒ @code [ALSDK adService] @endcode + * Note: To load the ad but not display it, use @code +[ALSdk shared] @endcode ⇒ @code -[ALSDK adService] @endcode * ⇒ @code -[ALAdService loadNextAd:andNotify:] @endcode, then @code -[ALAdView render:] @endcode to render it. */ - (void)loadNextAd; @@ -94,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Initializes the ad view with a given size. * - * @param size @c ALAdSize that represents the size of this ad. For example, @code [ALAdSize banner] @endcode. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. * * @return A new instance of @c ALAdView. */ @@ -103,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Initializes the ad view for a given size and zone. * - * @param size @c ALAdSize that represents the size of this ad. For example, @code [ALAdSize banner] @endcode. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. * @param zoneIdentifier Identifier for the zone this @c ALAdView should load ads for. * * @return A new instance of @c ALAdView. @@ -114,7 +118,7 @@ NS_ASSUME_NONNULL_BEGIN * Initializes the ad view with a given SDK and size. * * @param sdk Instance of @c ALSdk to use. - * @param size @c ALAdSize that represents the size of this ad. For example, @code [ALAdSize banner] @endcode. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. * * @return A new instance of @c ALAdView. */ @@ -124,7 +128,7 @@ NS_ASSUME_NONNULL_BEGIN * Initializes the ad view with a given SDK, size, and zone. * * @param sdk Instance of @c ALSdk to use. - * @param size @c ALAdSize that represents the size of this ad. For example, @code [ALAdSize banner] @endcode. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. * @param zoneIdentifier Identifier for the zone that this @c ALAdView should load ads for. * * @return A new instance of @c ALAdView. @@ -135,7 +139,7 @@ NS_ASSUME_NONNULL_BEGIN * Initializes the ad view with a given frame, ad size, and SDK instance. * * @param frame Describes the position and dimensions of the ad. - * @param size @c ALAdSize that represents the size of this ad. For example, @code [ALAdSize banner] @endcode. + * @param size @c ALAdSize that represents the size of this ad. For example, @code +[ALAdSize banner] @endcode. * @param sdk Instance of @c ALSdk to use. * * @return A new instance of @c ALAdView. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h index af6031b..91e8ddf 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAdViewEventDelegate.h @@ -6,8 +6,7 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALAd.h" - +@class ALAd; @class ALAdView; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAtomicBoolean.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAtomicBoolean.h index b2b2e92..67e3d17 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAtomicBoolean.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALAtomicBoolean.h @@ -5,8 +5,6 @@ // Created by Thomas So on 3/5/17. // -#import - NS_ASSUME_NONNULL_BEGIN /** diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCCommunicator.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCCommunicator.h index 4c80e36..9315f54 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCCommunicator.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCCommunicator.h @@ -5,10 +5,10 @@ // Created by Thomas So on 7/4/19. // -#import -#import "ALCSubscriber.h" -#import "ALCMessage.h" -#import "ALCMessagingService.h" +#import + +@class ALCCommunicator; +@class ALCMessagingService; NS_ASSUME_NONNULL_BEGIN @@ -52,7 +52,6 @@ NS_ASSUME_NONNULL_BEGIN */ @property (class, strong, readonly) ALCCommunicator *defaultCommunicator; - - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCEntity.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCEntity.h index 85f09ee..83abb1a 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCEntity.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCEntity.h @@ -5,8 +5,6 @@ // Created by Thomas So on 7/21/19. // -#import - NS_ASSUME_NONNULL_BEGIN /** diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessage.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessage.h index 06071f7..2e8c032 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessage.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessage.h @@ -5,8 +5,7 @@ // Created by Thomas So on 7/4/19. // -#import -#import "ALCPublisher.h" +#import NS_ASSUME_NONNULL_BEGIN @@ -16,26 +15,29 @@ NS_ASSUME_NONNULL_BEGIN @interface ALCMessage : NSNotification /** - * Convenience property for retrieving the raw data of the message. This will also be available via the "data" key of the @c userInfo property. + * The unique id of the message. */ -@property (nonatomic, strong, readonly) NSDictionary *data; +@property (nonatomic, copy, readonly) NSString *uniqueIdentifier; /** - * Convenience property for retrieving the topic of the message. This will also be available via the "topic" key of the @c userInfo property. - * A full list of supported topics may be found in ALCTopic.h. + * The topic of the message. A full list of supported topics may be found in ALCTopic.h. */ @property (nonatomic, copy, readonly) NSString *topic; /** - * Convenience method for retrieving the id of the publisher of the message. This will also be available via the "pub_id" key of the @c userInfo property. + * The id of the publisher of the message. */ @property (nonatomic, copy, readonly) NSString *publisherIdentifier; +/** + * The raw data of the message. + */ +@property (nonatomic, copy, readonly) NSDictionary *data; + /** * Initialize a message with data in a pre-determined format for a given topic. */ - (instancetype)initWithData:(NSDictionary *)data topic:(NSString *)topic fromPublisher:(id)publisher; -- (instancetype)initWithData:(NSDictionary *)data topic:(NSString *)topic fromPublisher:(id)publisher sticky:(BOOL)sticky; - (instancetype)initWithName:(NSNotificationName)name object:(nullable id)object userInfo:(nullable NSDictionary *)userInfo NS_UNAVAILABLE; - (instancetype)initWithCoder:(NSCoder *)decoder NS_UNAVAILABLE; - (instancetype)init NS_UNAVAILABLE; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessagingService.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessagingService.h index 3043539..2bf3c40 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessagingService.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCMessagingService.h @@ -5,7 +5,7 @@ // Created by Thomas So on 7/16/19. // -#import +@class ALCMessage; NS_ASSUME_NONNULL_BEGIN @@ -19,7 +19,6 @@ NS_ASSUME_NONNULL_BEGIN */ - (void)publishMessage:(ALCMessage *)message; - - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCPublisher.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCPublisher.h index 8f7af58..abb8142 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCPublisher.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCPublisher.h @@ -5,8 +5,7 @@ // Created by Thomas So on 7/4/19. // -#import -#import "ALCEntity.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCSubscriber.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCSubscriber.h index d808cfc..2c78d5c 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCSubscriber.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALCSubscriber.h @@ -5,8 +5,9 @@ // Created by Thomas So on 7/4/19. // -#import -#import "ALCMessage.h" +#import + +@class ALCMessage; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventService.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventService.h index e462e2d..1ff0afd 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventService.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventService.h @@ -6,8 +6,6 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALEventTypes.h" - NS_ASSUME_NONNULL_BEGIN /** @@ -58,9 +56,9 @@ NS_ASSUME_NONNULL_BEGIN * AppLovin recommends that you use one of the predefined strings provided in ALEventTypes.h for the parameter keys, when one of those strings applies * to the event. At a minimum, provide the following parameters: @c kALEventParameterProductIdentifierKey, @c kALEventParameterRevenueAmountKey, and * @c kALEventParameterRevenueCurrencyKey. If you pass a value for @c kALEventParameterStoreKitReceiptKey, AppLovin will use that value for validation. - * Otherwise, AppLovin will collect @code [NSBundle mainBundle] @endcode ⇒ @code [NSBundle appStoreReceiptURL] @endcode and use it for validation. + * Otherwise, AppLovin will collect @code +[NSBundle mainBundle] @endcode ⇒ @code -[NSBundle appStoreReceiptURL] @endcode and use it for validation. * - * @param transactionIdentifier Value of the @code [SKTransaction transactionIdentifier] @endcode property. + * @param transactionIdentifier Value of the @code -[SKTransaction transactionIdentifier] @endcode property. * @param parameters A dictionary that contains key-value pairs that further describe this event. */ - (void)trackInAppPurchaseWithTransactionIdentifier:(NSString *)transactionIdentifier parameters:(nullable NSDictionary *)parameters; @@ -73,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kALEventParameterRevenueCurrencyKey. * * @param transactionIdentifier An optional unique identifier for this transaction, generated by you. For Apple Pay transactions, AppLovin suggests that you use - * the value of the @code [PKPaymentToken transactionIdentifier] @endcode property. + * the value of the @code -[PKPaymentToken transactionIdentifier] @endcode property. * @param parameters A dictionary that contains key-value pairs that further describe this event. */ - (void)trackCheckoutWithTransactionIdentifier:(nullable NSString *)transactionIdentifier parameters:(nullable NSDictionary *)parameters; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventTypes.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventTypes.h index 744dcda..c51b586 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventTypes.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALEventTypes.h @@ -5,7 +5,6 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // - #ifndef ALEventTypes_h #define ALEventTypes_h @@ -283,7 +282,7 @@ extern NSString *const kALEventParameterCheckoutTransactionIdentifierKey; * The dictionary key for @code -[ALEventService trackEvent:parameters:] @endcode that represents the StoreKit transaction ID associated with the revenue keys. * Expects a corresponding value of type @c NSString. * - * This identifier should match the value of @code [SKPaymentTransaction transactionIdentifier] @endcode. + * This identifier should match the value of @code -[SKPaymentTransaction transactionIdentifier] @endcode. */ extern NSString *const kALEventParameterStoreKitTransactionIdentifierKey; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h index a73bf18..636a3e3 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALIncentivizedInterstitialAd.h @@ -5,11 +5,13 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALInterstitialAd.h" -#import "ALAdVideoPlaybackDelegate.h" -#import "ALAdDisplayDelegate.h" -#import "ALAdLoadDelegate.h" -#import "ALAdRewardDelegate.h" +#import +#import +#import +#import + +@class ALAd; +@class ALSdk; NS_ASSUME_NONNULL_BEGIN @@ -25,13 +27,13 @@ NS_ASSUME_NONNULL_BEGIN * An object that conforms to the @c ALAdDisplayDelegate protocol. If you provide a value for @c adDisplayDelegate in your instance, the SDK will * notify this delegate of ad show/hide events. */ -@property (strong, nonatomic, nullable) id adDisplayDelegate; +@property (nonatomic, strong, nullable) id adDisplayDelegate; /** * An object that conforms to the @c ALAdVideoPlaybackDelegate protocol. If you provide a value for @c adVideoPlaybackDelegate in your instance, * the SDK will notify this delegate of video start/stop events. */ -@property (strong, nonatomic, nullable) id adVideoPlaybackDelegate; +@property (nonatomic, strong, nullable) id adVideoPlaybackDelegate; #pragma mark - Integration, Class Methods @@ -130,7 +132,7 @@ NS_ASSUME_NONNULL_BEGIN /** * The zone identifier this incentivized ad was initialized with and is loading ads for, if any. */ -@property (copy, nonatomic, readonly, nullable) NSString *zoneIdentifier; +@property (nonatomic, copy, readonly, nullable) NSString *zoneIdentifier; /** * Pre-loads an incentivized interstitial, and notifies your provided Ad Load Delegate. @@ -160,7 +162,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return @c YES if an ad has been loaded into this incentivized interstitial and is ready to display. @c NO otherwise. */ -@property (readonly, atomic, getter=isReadyForDisplay) BOOL readyForDisplay; +@property (atomic, readonly, getter=isReadyForDisplay) BOOL readyForDisplay; /** * Shows an incentivized interstitial over the current key window, by using the most recently pre-loaded ad. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALInterstitialAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALInterstitialAd.h index 4f84656..d37b440 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALInterstitialAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALInterstitialAd.h @@ -4,7 +4,12 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import +#import +#import +#import + +@class ALAd; +@class ALSdk; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMacros.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMacros.h index 2306d36..352395e 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMacros.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMacros.h @@ -5,8 +5,6 @@ // Created by Thomas So on 1/1/22. // -#import - NS_ASSUME_NONNULL_BEGIN NS_INLINE BOOL isMainQueue (void) diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapter.h index dd723cd..c631c45 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapter.h @@ -6,18 +6,15 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import -#import "MAAdViewAdapter.h" -#import "MAInterstitialAdapter.h" -#import "MARewardedAdapter.h" -#import "MARewardedInterstitialAdapter.h" -#import "MANativeAdAdapter.h" -#import "MASignalProvider.h" -#import "ALSdk.h" +#import +#import + +@class ALSdk; +@class MAReward; NS_ASSUME_NONNULL_BEGIN -@interface ALMediationAdapter : NSObject +@interface ALMediationAdapter : NSObject /** * Left here for backwards-compatibility purposes - to be removed when enough time passes @@ -26,7 +23,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, copy, readonly) NSString *mediationTag; // The AppLovin mediation tag to send to mediated ad networks. -@property (nonatomic, copy, readonly, class) NSString *mediationTag; +@property (class, nonatomic, copy, readonly) NSString *mediationTag; // Parent objects @property (atomic, weak, readonly) ALSdk *sdk; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h index 5777fd2..c692f9d 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALMediationAdapterRouter.h @@ -5,8 +5,15 @@ // Created by Christopher Cong on 10/25/18. // -#import "ALMediationAdapter.h" -#import "MAAdapterDelegate.h" +#import +#import +#import +#import +#import +#import + +@class MAAdapterError; +@class MAReward; NS_ASSUME_NONNULL_BEGIN @@ -36,6 +43,17 @@ NS_ASSUME_NONNULL_BEGIN delegate:(id)delegate forPlacementIdentifier:(NSString *)placementIdentifier; +/** + * Mediation adapters should call this when loading an app open ad. + * + * @param adapter Mediation adapter responsible for the mediated ad request. + * @param delegate Delegate that is listening to the mediation adapter events. + * @param placementIdentifier Placement identifier requested for the ad load. + */ +- (void)addAppOpenAdapter:(id)adapter + delegate:(id)delegate + forPlacementIdentifier:(NSString *)placementIdentifier; + /** * Mediation adapters should call this when loading a rewarded ad. * diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALPostbackDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALPostbackDelegate.h index 87ed1e9..2dc5e2d 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALPostbackDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALPostbackDelegate.h @@ -5,13 +5,10 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -NS_ASSUME_NONNULL_BEGIN - -/** - * The postback service dispatches postbacks to a developer-specified URL. - */ @class ALPostbackService; +NS_ASSUME_NONNULL_BEGIN + /** * This protocol allows you to monitor the dispatching of postbacks to a developer-specified URL by the postback service. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdk.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdk.h index 3967d34..d4009a6 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdk.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdk.h @@ -6,18 +6,14 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import -#import "ALSdkSettings.h" -#import "ALAdService.h" -#import "ALEventService.h" -#import "ALVariableService.h" -#import "ALSdkConfiguration.h" -#import "ALErrorCodes.h" -#import "ALMediationProvider.h" -#import "ALUserSegment.h" -#import "ALTargetingData.h" -#import "MAMediatedNetworkInfo.h" -#import "MAAdFormat.h" +@class ALAdService; +@class ALEventService; +@class ALSdkConfiguration; +@class ALSdkSettings; +@class ALTargetingData; +@class ALUserSegment; +@class ALVariableService; +@class MAMediatedNetworkInfo; NS_ASSUME_NONNULL_BEGIN @@ -78,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, strong, readonly) ALUserSegment *userSegment; /** - * Targeting Data allows you to provide user or app data that will improve how we target ads. + * A class which allows you to send any demographic or interest-based targeting data. */ @property (nonatomic, strong, readonly) ALTargetingData *targetingData; @@ -125,6 +121,22 @@ NS_ASSUME_NONNULL_BEGIN */ - (void)showMediationDebugger; +/** + * Present the mediation debugger UI. + * This debugger tool provides the status of your integration for each third-party ad network. + * + * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Mediation Debugger + * + * @param amazonAdSizes A map of the MAX Ad Unit ID to Amazon Publisher Services' @c DTBAdSize. + */ +- (void)showMediationDebuggerWithAmazonAdSize:(nullable NSDictionary *)amazonAdSizes; + +/** + * Present the Creative Debugger UI. + * This debugger tool provides information for recently displayed ads. + */ +- (void)showCreativeDebugger; + #pragma mark - SDK Initialization /** diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkConfiguration.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkConfiguration.h index f6e29f2..18a1217 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkConfiguration.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkConfiguration.h @@ -13,30 +13,6 @@ NS_ASSUME_NONNULL_BEGIN */ @interface ALSdkConfiguration : NSObject -/** - * This enum represents whether or not the consent dialog should be shown for this user. - * The state where no such determination could be made is represented by @c ALConsentDialogStateUnknown. - * - * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ General Data Protection Regulation ("GDPR") - */ -typedef NS_ENUM(NSInteger, ALConsentDialogState) -{ - /** - * The consent dialog state could not be determined. This is likely due to the SDK failing to initialize. - */ - ALConsentDialogStateUnknown, - - /** - * This user should be shown a consent dialog. - */ - ALConsentDialogStateApplies, - - /** - * This user should not be shown a consent dialog. - */ - ALConsentDialogStateDoesNotApply -}; - /** * AppLovin SDK-defined app tracking transparency status values (extended to include "unavailable" state on iOS before iOS14). */ @@ -46,22 +22,22 @@ typedef NS_ENUM(NSInteger, ALAppTrackingTransparencyStatus) * Device is on iOS before iOS14, AppTrackingTransparency.framework is not available. */ ALAppTrackingTransparencyStatusUnavailable = -1, - + /** * The user has not yet received an authorization request to authorize access to app-related data that can be used for tracking the user or the device. */ ALAppTrackingTransparencyStatusNotDetermined, - + /** * Authorization to access app-related data that can be used for tracking the user or the device is restricted. */ ALAppTrackingTransparencyStatusRestricted, - + /** * The user denies authorization to access app-related data that can be used for tracking the user or the device. */ ALAppTrackingTransparencyStatusDenied, - + /** * The user authorizes access to app-related data that can be used for tracking the user or the device. */ @@ -69,18 +45,22 @@ typedef NS_ENUM(NSInteger, ALAppTrackingTransparencyStatus) }; /** - * The consent dialog state for this user. If no determination could be made, the value of this property will be @c ALConsentDialogStateUnknown. + * Gets the country code for this user. The value of this property will be an empty string if no country code is available for this user. * - * @see MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ General Data Protection Regulation ("GDPR") + * @warning Do not confuse this with the currency code which is "USD" in most cases. */ -@property (nonatomic, assign, readonly) ALConsentDialogState consentDialogState; +@property (nonatomic, copy, readonly) NSString *countryCode; /** - * Gets the country code for this user. The value of this property will be an empty string if no country code is available for this user. + * Get the list of those Ad Unit IDs that are in the waterfall that is currently active for a particular user and + * for which Amazon Publisher Services is enabled. * - * @warning Do not confuse this with the currency code which is "USD" in most cases. + * Which waterfall is currently active for a user depends on things like A/B tests, keyword targeting, or DNT. + * + * @return @c nil when configuration fetching fails (e.g. in the case of no connection) or + * an empty array if no Ad Unit IDs have Amazon Publisher Services enabled. */ -@property (nonatomic, copy, readonly) NSString *countryCode; +@property (nonatomic, strong, readonly, nullable) NSArray *enabledAmazonAdUnitIdentifiers; /** * Indicates whether or not the user authorizes access to app-related data that can be used for tracking the user or the device. @@ -95,3 +75,15 @@ typedef NS_ENUM(NSInteger, ALAppTrackingTransparencyStatus) @end NS_ASSUME_NONNULL_END + +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, ALConsentDialogState) +{ + ALConsentDialogStateUnknown, + ALConsentDialogStateApplies, + ALConsentDialogStateDoesNotApply +}; + +@interface ALSdkConfiguration (ALDeprecated) +@property (nonatomic, assign, readonly) ALConsentDialogState consentDialogState __deprecated_msg("This API has been deprecated and will be removed in a future release."); +@end diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkSettings.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkSettings.h index 9072381..ca3b35c 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkSettings.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALSdkSettings.h @@ -5,8 +5,6 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import - NS_ASSUME_NONNULL_BEGIN /** @@ -62,21 +60,21 @@ NS_ASSUME_NONNULL_BEGIN * * @see MAX Integration Guide ⇒ iOS ⇒ Advanced Settings ⇒ Enable Verbose Logging */ -@property (nonatomic, assign) BOOL isVerboseLogging; +@property (nonatomic, assign, getter=isVerboseLoggingEnabled) BOOL verboseLoggingEnabled; /** * Whether to begin video ads in a muted state or not. Defaults to @c NO unless you change this in the dashboard. * * @see MAX Integration Guide ⇒ iOS ⇒ Advanced Settings ⇒ Mute Audio */ -@property (nonatomic, assign) BOOL muted; +@property (nonatomic, assign, getter=isMuted) BOOL muted; /** - * Whether the creative debugger will be displayed on fullscreen ads after flipping the device screen down twice. Defaults to @c YES. + * Whether the Creative Debugger will be displayed after flipping the device screen down twice. Defaults to @c YES. * * @see MAX Integration Guide ⇒ iOS ⇒ Testing Networks ⇒ Creative Debugger */ -@property (nonatomic, assign) BOOL creativeDebuggerEnabled; +@property (nonatomic, assign, getter=isCreativeDebuggerEnabled) BOOL creativeDebuggerEnabled; /** * Enable devices to receive test ads by passing in the advertising identifier (IDFA) of each test device. @@ -114,4 +112,8 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface ALSdkSettings (ALDeprecated) +@property (nonatomic, assign) BOOL isVerboseLogging __deprecated_msg("This property is deprecated and will be removed in a future SDK version. Please use `-[ALSdkSettings isVerboseLoggingEnabled]` instead."); +@end + NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALTargetingData.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALTargetingData.h index 069331d..d03720d 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALTargetingData.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALTargetingData.h @@ -6,8 +6,6 @@ // Copyright © 2022 AppLovin Corporation. All rights reserved. // -#import - NS_ASSUME_NONNULL_BEGIN /** diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUserSegment.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUserSegment.h index 396491f..07e6f58 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUserSegment.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUserSegment.h @@ -5,8 +5,6 @@ // Created by Thomas So on 10/30/20. // -#import - NS_ASSUME_NONNULL_BEGIN /** @@ -20,7 +18,6 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, copy, nullable) NSString *name; - - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUtils.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUtils.h index 24b4268..d49b80e 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUtils.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALUtils.h @@ -5,8 +5,6 @@ // Created by Thomas So on 1/1/22. // - -#import #import NS_ASSUME_NONNULL_BEGIN @@ -26,13 +24,18 @@ NS_ASSUME_NONNULL_BEGIN */ + (UIInterfaceOrientationMask)currentOrientationMask; +/** + * @return If the app is running in an iOS simulator. + */ +@property (class, nonatomic, readonly, getter=isSimulator) BOOL simulator; + - (instancetype)init NS_UNAVAILABLE; @end @interface NSString (ALSdk) @property (nonatomic, assign, readonly, getter=al_isValidString) BOOL al_validString; -@property (readonly, assign, getter=al_isValidURL) BOOL al_validURL; +@property (nonatomic, assign, readonly, getter=al_isValidURL) BOOL al_validURL; - (BOOL)al_isEqualToStringIgnoringCase:(NSString *)otherString; @end @@ -64,4 +67,8 @@ NS_ASSUME_NONNULL_BEGIN + (NSTimeInterval)al_timeIntervalNow; @end +@interface UIImageView (ALSdk) +- (void)al_setImageWithURL:(NSURL *)URL; +@end + NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALVariableService.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALVariableService.h index f26f6bf..dfd3769 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALVariableService.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/ALVariableService.h @@ -6,10 +6,10 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -NS_ASSUME_NONNULL_BEGIN - @class ALVariableService; +NS_ASSUME_NONNULL_BEGIN + /** * Use this service to retrieve values of variables that were pre-defined on AppLovin’s dashboard. */ @@ -57,7 +57,6 @@ NS_ASSUME_NONNULL_BEGIN */ - (nullable NSString *)stringForKey:(NSString *)key defaultValue:(nullable NSString *)defaultValue; - - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -68,7 +67,7 @@ __attribute__ ((deprecated)) - (void)variableService:(ALVariableService *)variableService didUpdateVariables:(NSDictionary *)variables __deprecated_msg("This API has been deprecated. Please use our SDK's initialization callback to retrieve variables instead."); @end -@interface ALVariableService(ALDeprecated) +@interface ALVariableService (ALDeprecated) @property (nonatomic, weak, nullable) id delegate __deprecated_msg("This API has been deprecated. Please use our SDK's initialization callback to retrieve variables instead."); - (void)loadVariables __deprecated_msg("This API has been deprecated. Please use our SDK's initialization callback to retrieve variables instead."); @end diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/AppLovinSDK.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/AppLovinSDK.h old mode 100755 new mode 100644 index 626eca1..162c920 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/AppLovinSDK.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/AppLovinSDK.h @@ -4,23 +4,29 @@ // // Created by Thomas So on 8/10/16. // -// +#import +#import #import -#import -#import -#import #import #import #import -#import #import -#import +#import +#import +#import +#import +#import +#import +#import #import -#import #import +#import #import #import +#import +#import +#import #import #import #import @@ -29,69 +35,41 @@ #import #import #import +#import #import - -#import -#import +#import +#import #import #import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#import -#import -#import - -#import -#import +#import #import -#import -#import #import -#import +#import #import -#import -#import -#import -#import -#import -#import +#import +#import +#import +#import #import #import #import +#import +#import #import +#import +#import +#import +#import +#import +#import #import #import -#import +#import #import - -#import -#import -#import +#import +#import +#import #import #import -#import -#import -#import #import - -#import -#import -#import -#import -#import -#import +#import diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAd.h index 99aad60..f15bdec 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAd.h @@ -6,10 +6,11 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "MAAdFormat.h" -#import "MAMediatedNetworkInfo.h" -#import "MAAdWaterfallInfo.h" -#import "MANativeAd.h" +#import + +@class MAAdFormat; +@class MAAdWaterfallInfo; +@class MANativeAd; NS_ASSUME_NONNULL_BEGIN @@ -66,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, copy, readonly, nullable) NSString *adReviewCreativeIdentifier; /** - * The ad’s revenue amount, or 0 if no revenue amount exists. + * The ad’s revenue amount. In the case where no revenue amount exists, or it is not available yet, will return a value of 0. */ @property (nonatomic, assign, readonly) double revenue; @@ -91,11 +92,26 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, strong, readonly) MAAdWaterfallInfo *waterfall; +/** + * The latency of the mediation ad load request in seconds. + */ +@property (nonatomic, assign, readonly) NSTimeInterval requestLatency; + /** * For Native ads only. Get an instance of the @c MANativeAd containing the assets used to render the native ad view. */ @property (nonatomic, strong, readonly, nullable) MANativeAd *nativeAd; +/** + * The DSP network that provided the loaded ad when the ad is served through AppLovin Exchange. + */ +@property (nonatomic, copy, readonly, nullable) NSString *DSPName; + +/** + * The DSP id network that provided the loaded ad when the ad is served through AppLovin Exchange. + */ +@property (nonatomic, copy, readonly, nullable) NSString *DSPIdentifier; + /** * Gets the ad value for a given key. * diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdDelegate.h index 3057abf..b7a260f 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdDelegate.h @@ -6,15 +6,15 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "MAAd.h" -#import "MAError.h" +@class MAAd; +@class MAError; NS_ASSUME_NONNULL_BEGIN /** * This protocol defines a listener to be notified about ad events. */ -@protocol MAAdDelegate +@protocol MAAdDelegate /** * The SDK invokes this method when a new ad has been loaded. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdFormat.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdFormat.h index a10ffd0..0ca8fee 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdFormat.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdFormat.h @@ -11,50 +11,55 @@ NS_ASSUME_NONNULL_BEGIN /** * This class defines a format of an ad. */ -@interface MAAdFormat : NSObject +@interface MAAdFormat : NSObject /** * Represents a 320×50 banner advertisement. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *banner; +@property (class, nonatomic, strong, readonly) MAAdFormat *banner; /** * Represents a 300×250 rectangular advertisement. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *mrec; +@property (class, nonatomic, strong, readonly) MAAdFormat *mrec; /** * Represents a 728×90 leaderboard advertisement (for tablets). */ -@property (nonatomic, strong, readonly, class) MAAdFormat *leader; +@property (class, nonatomic, strong, readonly) MAAdFormat *leader; /** * Represents a cross-promo advertisement. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *crossPromo; +@property (class, nonatomic, strong, readonly) MAAdFormat *crossPromo; /** * Represents a full-screen advertisement. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *interstitial; +@property (class, nonatomic, strong, readonly) MAAdFormat *interstitial; /** - * Similar to @code [MAAdFormat interstitial] @endcode except that users are given a reward at the end of the advertisement. + * Similar to @code +[MaxAdFormat interstitial] @endcode, except that it is shown upon opening the app. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *rewarded; +@property (class, nonatomic, strong, readonly) MAAdFormat *appOpen; + +/** + * Similar to @code +[MAAdFormat interstitial] @endcode except that users are given a reward at the end of the advertisement. + */ +@property (class, nonatomic, strong, readonly) MAAdFormat *rewarded; /** * Represents a fullscreen ad that the user can skip or be granted a reward upon successful completion of the ad. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *rewardedInterstitial; +@property (class, nonatomic, strong, readonly) MAAdFormat *rewardedInterstitial; /** * Represents a native advertisement. */ -@property (nonatomic, strong, readonly, class) MAAdFormat *native; +@property (class, nonatomic, strong, readonly) MAAdFormat *native; /** - * String representing the name of this ad format. Sample values include "BANNER", "INTER", "REWARDED", etc. + * String representing the name of this ad format. Sample values include "BANNER", "MREC", "INTER", "REWARDED", etc. */ @property (nonatomic, copy, readonly) NSString *label; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacer.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacer.h index ca461d9..e254718 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacer.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacer.h @@ -5,14 +5,23 @@ // Created by Ritam Sarmah on 2/16/22. // -#import #import +#import + +@class MAAd; +@class MANativeAdViewBinder; NS_ASSUME_NONNULL_BEGIN -@protocol MAAdPlacerDelegate; -@class MAAdPlacerSettings; -@class MANativeAdViewBinder; +@protocol MAAdPlacerDelegate + +@optional +- (void)didLoadAdAtIndexPath:(NSIndexPath *)indexPath; +- (void)didRemoveAdsAtIndexPaths:(NSArray *)indexPaths; +- (void)didClickAd:(MAAd *)ad; +- (void)didPayRevenueForAd:(MAAd *)ad; + +@end /** * This class loads native ads and calculates ad positioning info within a content stream. @@ -27,19 +36,49 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, weak, nullable) id delegate; -/// Set native ad view nib if using manual template ads. +#pragma mark - Ad Rendering Properties + +/** + * The desired size for the ad view. + * + * If you're using default templates and this value is not set, ad views automatically size to 360x120 for "Small" and 360x300 for "Medium". + */ +@property (nonatomic, assign) CGSize adSize; + +/** + * The native ad view nib to use for rendering manual template ads. + */ @property (nonatomic, strong, nullable) UINib *nativeAdViewNib; -/// Set native ad view binder if using manual template ads. +/** + * The native ad view binder to use for rendering manual template ads. + */ @property (nonatomic, strong, nullable) MANativeAdViewBinder *nativeAdViewBinder; #pragma mark - Ads /** - * Load MAX native ads for stream. Set @code [MAAdPlacer delegate] @endcode to assign a delegate that should be notified about ad load state. + * Load MAX native ads for stream. Set @code -[MAAdPlacer delegate] @endcode to assign a delegate that should be notified about ad load state. */ - (void)loadAds; +/** + * Clears all ads placed in the stream, as well as any ads queued up for placement. + */ +- (void)clearAds; + +/** + * Clears ads placed in specified sections. + */ +- (void)clearAdsInSections:(NSIndexSet *)sections; + +/** + * Clears ads placed after the specified index path in its corresponding section. + * + * @return An array of cleared ad index paths. + */ +- (NSArray *)clearAdsInSectionAfterIndexPath:(NSIndexPath *)indexPath; + /** * Whether an index path represents an ad position. */ @@ -52,8 +91,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Returns the size for an ad at a given index path. If an ad is not ready for that index path, returns @c CGSizeZero. + * + * If you're using default templates and @c adSize is not set, ad views automatically size to 360x120 for "Small" and 360x300 for "Medium". If the desired width is larger than the @c maximumWidth, the @c maximumWidth will be used while preserving the height for "Small" templates and the aspect ratio for "Medium". The size for manual templates will not be resized to fit. */ -- (CGSize)sizeForAdAtIndexPath:(NSIndexPath *)indexPath; +- (CGSize)sizeForAdAtIndexPath:(NSIndexPath *)indexPath withMaximumWidth:(CGFloat)maximumWidth; /** * Renders an ad into the provided container view if an ad is loaded for that index path. @@ -161,14 +202,4 @@ NS_ASSUME_NONNULL_BEGIN @end -@protocol MAAdPlacerDelegate - -@optional -- (void)didLoadAdAtIndexPath:(NSIndexPath *)indexPath; -- (void)didRemoveAdsAtIndexPaths:(NSArray *)indexPaths; -- (void)didClickAd:(MAAd *)ad; -- (void)didPayRevenueForAd:(MAAd *)ad; - -@end - NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h index a52342b..4474094 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdPlacerSettings.h @@ -5,14 +5,12 @@ // Created by Ritam Sarmah on 2/16/22. // -#import - NS_ASSUME_NONNULL_BEGIN /** * This class contains settings to configure an Ad Placer. * - * @c MAAdPlacerSettings must be initialized with a valid native ad unit identifier. By default, ad positioning info is retrieved from the server, as configured for the ad unit via the UI. You may override the server-side configuration with @c addFixedPosition: or @c resetFixedPositions, or by setting @c repeatingInterval before initializing an @c MAAdPlacer with the settings. + * @c MAAdPlacerSettings must be initialized with a valid native ad unit identifier. Add fixed positions using @c addFixedPosition: or set the @c repeatingInterval before initializing an @c MAAdPlacer with the settings. */ @interface MAAdPlacerSettings : NSObject @@ -22,12 +20,12 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, copy, readonly) NSString *adUnitIdentifier; /** - * The fixed index paths to place ads at in a stream in sorted order. Defaults to any positions configured server-side for the ad unit. Can be modified client-side using @c addFixedPosition: and @c resetFixedPositions. + * The fixed index paths to place ads at in a stream in sorted order. Can be modified using @c addFixedPosition: and @c resetFixedPositions. */ @property (nonatomic, strong, readonly) NSOrderedSet *fixedPositions; /** - * An interval to repeatedly place ads at in a stream. Defaults to a value configured server-side for the ad unit. You may override this property by setting it to a value greater than or equal to 2. A value less than 2 will disable it. + * An interval to repeatedly place ads at in a stream. A valid repeating interval is any value greater than or equal to 2. A value less than 2 will disable it. * * Repeating ads are added only in sections with fixed positions, after the last fixed position in each section. If no fixed positions are set, repeating ads are added to the first section starting after @c repeatingInterval items. */ @@ -56,14 +54,14 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, assign, readonly, getter=hasValidPositioning) BOOL validPositioning; /** - * Add a fixed position for an ad in a stream. If fixed positions were configured server-side, the position will be added to the list. + * Add a fixed position for an ad in a stream. * * @param indexPath An index path to place an ad at. */ - (void)addFixedPosition:(NSIndexPath *)indexPath; /** - * Remove all fixed positions. This would override any fixed positions configured server-side. + * Remove all fixed positions. */ - (void)resetFixedPositions; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRequestDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRequestDelegate.h new file mode 100644 index 0000000..93a708e --- /dev/null +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRequestDelegate.h @@ -0,0 +1,26 @@ +// +// MAAdRequestDelegate.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/8/22. +// + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines a delegate to be notified about ad request events. + */ +@protocol MAAdRequestDelegate + +/** + * The SDK invokes this callback when it sends a request for an ad, which can be for the initial ad load and upcoming ad refreshes. + * + * The SDK invokes this callback on the UI thread. + * + * @param adUnitIdentifier The ad unit identifier that the SDK requested an ad for. + */ +- (void)didStartAdRequestForAdUnitIdentifier:(NSString *)adUnitIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h index 3e77973..b808b3d 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdRevenueDelegate.h @@ -5,14 +5,14 @@ // Created by Andrew Tian on 6/3/21. // -#import "MAAd.h" +@class MAAd; NS_ASSUME_NONNULL_BEGIN /** - * This protocol defines a listener to be notified about ad revenue events. + * This protocol defines a delegate to be notified about ad revenue events. */ -@protocol MAAdRevenueDelegate +@protocol MAAdRevenueDelegate /** * The SDK invokes this callback when it detects a revenue event for an ad. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h index 82bff5b..e1d5036 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdReviewDelegate.h @@ -5,14 +5,14 @@ // Created by Nana Amoah on 3/29/22. // -#import "MAAd.h" +@class MAAd; NS_ASSUME_NONNULL_BEGIN /** * This protocol defines a delegate to be notified when the Ad Review SDK successfully generates a creative id. */ -@protocol MAAdReviewDelegate +@protocol MAAdReviewDelegate /** * The SDK invokes this callback when the Ad Review SDK successfully generates a creative id. @@ -27,4 +27,3 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END - diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdView.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdView.h index d27ff29..c5b0f69 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdView.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdView.h @@ -7,10 +7,13 @@ // #import -#import "ALSdk.h" -#import "MAAdViewAdDelegate.h" -#import "MAAdRevenueDelegate.h" -#import "MAAdReviewDelegate.h" +#import +#import +#import +#import + +@class ALSdk; +@class MAAdFormat; NS_ASSUME_NONNULL_BEGIN @@ -69,13 +72,18 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, weak, nullable) IBOutlet id revenueDelegate; +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) IBOutlet id requestDelegate; + /** * A delegate that will be notified about Ad Review events. */ @property (nonatomic, weak, nullable) IBOutlet id adReviewDelegate; /** - * Loads the ad for the current ad view. Set @code [MAAdView delegate] @endcode to assign a delegate that should be notified about ad load state. + * Loads the ad for the current ad view. Set @code -[MAAdView delegate] @endcode to assign a delegate that should be notified about ad load state. * * @see MAX Integration Guide ⇒ iOS ⇒ Banners ⇒ Loading a Banner * @see MAX Integration Guide ⇒ iOS ⇒ MRECs ⇒ Loading an MREC diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h index 85bf13e..3f8d804 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdDelegate.h @@ -6,9 +6,9 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "MAAd.h" -#import "MAAdDelegate.h" -#import "MAAdRevenueDelegate.h" +#import + +@class MAAd; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN * @see MAX Integration Guide ⇒ iOS ⇒ Banners * @see MAX Integration Guide ⇒ iOS ⇒ MRECs */ -@protocol MAAdViewAdDelegate +@protocol MAAdViewAdDelegate /** * The SDK invokes this method when the @c MAAdView has expanded to the full screen. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapter.h index 2f4912f..fe95346 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapter.h @@ -6,17 +6,18 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapter.h" -#import "MAAdapterResponseParameters.h" -#import "MAAdViewAdapterDelegate.h" -#import "MAAdFormat.h" +#import +#import +#import + +@class MAAdFormat; NS_ASSUME_NONNULL_BEGIN /** * This protocol defines methods for ad view-based adapters (banners, mrecs, and leaders). */ -@protocol MAAdViewAdapter +@protocol MAAdViewAdapter /** * Schedule loading of the next ad view ad. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h index dd9cfc0..18ccc91 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdViewAdapterDelegate.h @@ -6,15 +6,17 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapterDelegate.h" -#import "MAAdapterError.h" +#import +#import + +@class MAAdapterError; NS_ASSUME_NONNULL_BEGIN /** * Protocol for adapters to forward ad load and display events to the MAX SDK for adview ads. */ -@protocol MAAdViewAdapterDelegate +@protocol MAAdViewAdapterDelegate /** * This method should called when an ad has been loaded. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h index d3e7478..2d004f3 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdWaterfallInfo.h @@ -5,10 +5,8 @@ // Created by Thomas So on 10/30/21. // -#import -#import "MANetworkResponseInfo.h" - @class MAAd; +@class MANetworkResponseInfo; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapter.h index 188b8fa..1d3fe91 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapter.h @@ -6,7 +6,7 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapterInitializationParameters.h" +#import NS_ASSUME_NONNULL_BEGIN @@ -49,7 +49,7 @@ typedef NS_ENUM(NSInteger, MAAdapterInitializationStatus) /** * This protocol defines a mediation adapter which wraps a third-party ad SDK and will be used by AppLovin to load and display ads. */ -@protocol MAAdapter +@protocol MAAdapter /** * Initialize current adapter. This method will be called at the beginning of the adapter lifecycle. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterDelegate.h index 3f13afa..452c147 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterDelegate.h @@ -1,5 +1,5 @@ // -// MAAdapterDelegateProtocol.h +// MAAdapterDelegate.h // AppLovinSDK // // Created by Christopher Cong on 10/29/18. @@ -10,7 +10,7 @@ NS_ASSUME_NONNULL_BEGIN /** * This protocol defines a common adapter protocol intended to be notified about mediated ad events. */ -@protocol MAAdapterDelegate +@protocol MAAdapterDelegate @end NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterError.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterError.h index a103d1d..3b6c798 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterError.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterError.h @@ -5,7 +5,7 @@ // Created by Thomas So on 11/13/18. // -#import "MAError.h" +#import NS_ASSUME_NONNULL_BEGIN @@ -17,135 +17,142 @@ NS_ASSUME_NONNULL_BEGIN /** * The mediation adapter can not load an ad because of no fill. */ -@property (nonatomic, class, readonly) NSInteger errorCodeNoFill; -@property (nonatomic, class, readonly) MAAdapterError *noFill; +@property (class, nonatomic, readonly) NSInteger errorCodeNoFill; +@property (class, nonatomic, readonly) MAAdapterError *noFill; /** * The mediation adapter failed to load an ad for an unspecified reason. */ -@property (nonatomic, class, readonly) NSInteger errorCodeUnspecified; -@property (nonatomic, class, readonly) MAAdapterError *unspecified; +@property (class, nonatomic, readonly) NSInteger errorCodeUnspecified; +@property (class, nonatomic, readonly) MAAdapterError *unspecified; /** * The mediation adapter can not load an ad because it is currently in an invalid state. */ -@property (nonatomic, class, readonly) NSInteger errorCodeInvalidLoadState; -@property (nonatomic, class, readonly) MAAdapterError *invalidLoadState; +@property (class, nonatomic, readonly) NSInteger errorCodeInvalidLoadState; +@property (class, nonatomic, readonly) MAAdapterError *invalidLoadState; /** * The mediation adapter can not load an ad because it is currently not configured correctly. */ -@property (nonatomic, class, readonly) NSInteger errorCodeInvalidConfiguration; -@property (nonatomic, class, readonly) MAAdapterError *invalidConfiguration; +@property (class, nonatomic, readonly) NSInteger errorCodeInvalidConfiguration; +@property (class, nonatomic, readonly) MAAdapterError *invalidConfiguration; /** * The mediation adapter can not load an ad because of a bad request. */ -@property (nonatomic, class, readonly) NSInteger errorCodeBadRequest; -@property (nonatomic, class, readonly) MAAdapterError *badRequest; +@property (class, nonatomic, readonly) NSInteger errorCodeBadRequest; +@property (class, nonatomic, readonly) MAAdapterError *badRequest; /** * The mediation adapter can not load an ad because the SDK is not initialized yet. */ -@property (nonatomic, class, readonly) NSInteger errorCodeNotInitialized; -@property (nonatomic, class, readonly) MAAdapterError *notInitialized; +@property (class, nonatomic, readonly) NSInteger errorCodeNotInitialized; +@property (class, nonatomic, readonly) MAAdapterError *notInitialized; /** * The mediation adapter can not load an ad because of a timeout. */ -@property (nonatomic, class, readonly) NSInteger errorCodeTimeout; -@property (nonatomic, class, readonly) MAAdapterError *timeout; +@property (class, nonatomic, readonly) NSInteger errorCodeTimeout; +@property (class, nonatomic, readonly) MAAdapterError *timeout; /** * The mediation adapter can not load an ad because it can not detect an active internet connection. */ -@property (nonatomic, class, readonly) NSInteger errorCodeNoConnection; -@property (nonatomic, class, readonly) MAAdapterError *noConnection; +@property (class, nonatomic, readonly) NSInteger errorCodeNoConnection; +@property (class, nonatomic, readonly) MAAdapterError *noConnection; /** * The mediation adapter did not have an ad ready in time for showing. */ -@property (nonatomic, class, readonly) NSInteger errorCodeAdNotReady; -@property (nonatomic, class, readonly) MAAdapterError *adNotReady; +@property (class, nonatomic, readonly) NSInteger errorCodeAdNotReady; +@property (class, nonatomic, readonly) MAAdapterError *adNotReady; /** * The mediation adapter ran into a remote server error. */ -@property (nonatomic, class, readonly) NSInteger errorCodeServerError; -@property (nonatomic, class, readonly) MAAdapterError *serverError; +@property (class, nonatomic, readonly) NSInteger errorCodeServerError; +@property (class, nonatomic, readonly) MAAdapterError *serverError; /** * The mediation adapter ran into an unspecified internal error. */ -@property (nonatomic, class, readonly) NSInteger errorCodeInternalError; -@property (nonatomic, class, readonly) MAAdapterError *internalError; +@property (class, nonatomic, readonly) NSInteger errorCodeInternalError; +@property (class, nonatomic, readonly) MAAdapterError *internalError; /** * The mediation adapter has timed out while collecting a signal. */ -@property (nonatomic, class, readonly) NSInteger errorCodeSignalCollectionTimeout; -@property (nonatomic, class, readonly) MAAdapterError *signalCollectionTimeout; +@property (class, nonatomic, readonly) NSInteger errorCodeSignalCollectionTimeout; +@property (class, nonatomic, readonly) MAAdapterError *signalCollectionTimeout; /** * The mediation adapter does not support signal collection. */ -@property (nonatomic, class, readonly) NSInteger errorCodeSignalCollectionNotSupported; -@property (nonatomic, class, readonly) MAAdapterError *signalCollectionNotSupported; +@property (class, nonatomic, readonly) NSInteger errorCodeSignalCollectionNotSupported; +@property (class, nonatomic, readonly) MAAdapterError *signalCollectionNotSupported; /** * The mediation adapter ran into a WebView-related error. */ -@property (nonatomic, class, readonly) NSInteger errorCodeWebViewError; -@property (nonatomic, class, readonly) MAAdapterError *webViewError; +@property (class, nonatomic, readonly) NSInteger errorCodeWebViewError; +@property (class, nonatomic, readonly) MAAdapterError *webViewError; /** * The mediation adapter ran into an expired ad. */ -@property (nonatomic, class, readonly) NSInteger errorCodeAdExpired; -@property (nonatomic, class, readonly) MAAdapterError *adExpiredError; +@property (class, nonatomic, readonly) NSInteger errorCodeAdExpired; +@property (class, nonatomic, readonly) MAAdapterError *adExpiredError; /** * The mediation ad frequency capped. */ -@property (nonatomic, class, readonly) NSInteger errorCodeAdFrequencyCapped; -@property (nonatomic, class, readonly) MAAdapterError *adFrequencyCappedError; +@property (class, nonatomic, readonly) NSInteger errorCodeAdFrequencyCapped; +@property (class, nonatomic, readonly) MAAdapterError *adFrequencyCappedError; /** * The mediation adapter ran into an error while displaying rewarded ad. */ -@property (nonatomic, class, readonly) NSInteger errorCodeRewardError; -@property (nonatomic, class, readonly) MAAdapterError *rewardError; +@property (class, nonatomic, readonly) NSInteger errorCodeRewardError; +@property (class, nonatomic, readonly) MAAdapterError *rewardError; /** * The mediation adapter failed to load a native ad because of missing required assets. */ -@property (nonatomic, class, readonly) NSInteger errorCodeMissingRequiredNativeAdAssets; -@property (nonatomic, class, readonly) MAAdapterError *missingRequiredNativeAdAssets; - -/* - * The mediation adapter failed to display the ad. - */ -@property (nonatomic, class, readonly) NSInteger errorCodeAdDsiplayFailedError; -@property (nonatomic, class, readonly) MAAdapterError *adDisplayFailederror; +@property (class, nonatomic, readonly) NSInteger errorCodeMissingRequiredNativeAdAssets; +@property (class, nonatomic, readonly) MAAdapterError *missingRequiredNativeAdAssets; /** - * The error code provided by the third party SDK. + * The mediation ad failed to load because an Activity context was required, but missing. */ -@property (nonatomic, assign, readonly) NSInteger thirdPartySdkErrorCode; +@property (class, nonatomic, readonly) NSInteger errorCodeMissingViewController; +@property (class, nonatomic, readonly) MAAdapterError *missingViewController; -/** - * The error message provided by the third party SDK. +/* + * The mediation adapter failed to display the ad. */ -@property (nonatomic, copy, readonly) NSString *thirdPartySdkErrorMessage; +@property (class, nonatomic, readonly) NSInteger errorCodeAdDisplayFailedError; +@property (class, nonatomic, readonly) MAAdapterError *adDisplayFailedError; + (instancetype)errorWithCode:(NSInteger)code; -+ (instancetype)errorWithCode:(NSInteger)code adapterErrorCode:(NSInteger)adapterErrorCode; + (instancetype)errorWithCode:(NSInteger)code errorString:(NSString *)errorString; + (instancetype)errorWithNSError:(NSError *)error; -+ (instancetype)errorWithAdapterError:(MAAdapterError *)error thirdPartySdkErrorCode:(NSInteger)thirdPartySdkErrorCode thirdPartySdkErrorMessage:(NSString *)thirdPartySdkErrorMessage; -+ (instancetype)errorWithCode:(NSInteger)code errorString:(NSString *)errorString thirdPartySdkErrorCode:(NSInteger)thirdPartySdkErrorCode thirdPartySdkErrorMessage:(NSString *)thirdPartySdkErrorMessage; ++ (instancetype)errorWithAdapterError:(MAAdapterError *)error + mediatedNetworkErrorCode:(NSInteger)mediatedNetworkErrorCode + mediatedNetworkErrorMessage:(NSString *)mediatedNetworkErrorMessage; ++ (instancetype)errorWithCode:(NSInteger)code + errorString:(NSString *)errorString + mediatedNetworkErrorCode:(NSInteger)mediatedNetworkErrorCode + mediatedNetworkErrorMessage:(NSString *)mediatedNetworkErrorMessage; - (instancetype)init NS_UNAVAILABLE; @end +@interface MAAdapterError(ALDeprecated) ++ (instancetype)errorWithAdapterError:(MAAdapterError *)error thirdPartySdkErrorCode:(NSInteger)thirdPartySdkErrorCode thirdPartySdkErrorMessage:(NSString *)thirdPartySdkErrorMessage +__deprecated_msg("This method has been deprecated in v11.4.0 and will be removed in a future SDK version. Please use -[MAAdapterError errorWithAdapterError:mediatedNetworkErrorCode:mediatedNetworkErrorMessage:] instead."); ++ (instancetype)errorWithCode:(NSInteger)code errorString:(NSString *)errorString thirdPartySdkErrorCode:(NSInteger)thirdPartySdkErrorCode thirdPartySdkErrorMessage:(NSString *)thirdPartySdkErrorMessage +__deprecated_msg("This method has been deprecated in v11.4.0 and will be removed in a future SDK version. Please use -[MAAdapterError errorWithCode:errorString:mediatedNetworkErrorCode:mediatedNetworkErrorMessage:] instead."); +@end + NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h index cdbd582..09ea9ec 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterInitializationParameters.h @@ -5,14 +5,14 @@ // Created by Thomas So on 8/27/18. // -#import "MAAdapterParameters.h" +#import NS_ASSUME_NONNULL_BEGIN /** * This protocol contains parameters passed to a mediation adapter for initialization. */ -@protocol MAAdapterInitializationParameters +@protocol MAAdapterInitializationParameters @end diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterParameters.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterParameters.h index e0ee14d..bb79a56 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterParameters.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterParameters.h @@ -5,12 +5,14 @@ // Created by Thomas So on 8/27/18. // +#import + NS_ASSUME_NONNULL_BEGIN /** * This protocol defines basic parameters passed to all adapter events. */ -@protocol MAAdapterParameters +@protocol MAAdapterParameters /** * ********************* @@ -46,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN * AVAILABLE IN v11.1.1+ * ********************* *

- * Get custom parameters passed from AppLovin server to the current adapter. + * Get custom parameters passed from AppLovin server to the current custom network SDK adapter. * * @return Custom parameters. Guaranteed not to be @c nil. */ @@ -73,6 +75,15 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, strong, readonly, nullable, getter=isDoNotSell) NSNumber *doNotSell; +/** + * ********************* + * AVAILABLE IN v11.4.2+ + * ********************* + *

+ * The consent string to pass to networks that do not support a binary consent API (i.e. networks that use TCF-only) and do not automatically ingest the string from User Defaults. + */ +@property (nonatomic, copy, readonly, nullable) NSString *consentString; + /** * Check if this request is made for testing. * diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h index 5464a3d..f7bd71d 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAdapterResponseParameters.h @@ -5,14 +5,14 @@ // Created by Thomas So on 8/27/18. // -#import "MAAdapterParameters.h" +#import NS_ASSUME_NONNULL_BEGIN /** * This protocol contains parameters passed to a mediation adapter to load the next ad. */ -@protocol MAAdapterResponseParameters +@protocol MAAdapterResponseParameters /** * Get zone ID / placement ID / ad unit ID for the adapter to use. This is different than {@link MAAd#adUnitIdentifier}, which is used by AppLovin's SDK specifically. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAd.h new file mode 100644 index 0000000..9d9c92e --- /dev/null +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAd.h @@ -0,0 +1,125 @@ +// +// MAAppOpenAd.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/26/22. +// + +#import +#import +#import +#import + +@class ALSdk; + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class represents a full-screen ad that can be shown upon opening an app. + */ +@interface MAAppOpenAd : NSObject + +/** + * Creates a new mediation app open ad. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier; + +/** + * Creates a new mediation app open ad. + * + * @param adUnitIdentifier Ad unit ID to load ads for. + * @param sdk SDK to use. You can obtain an instance of the SDK by calling @code +[ALSdk shared] @endcode. + */ +- (instancetype)initWithAdUnitIdentifier:(NSString *)adUnitIdentifier sdk:(ALSdk *)sdk; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + * A delegate that will be notified about ad events. + */ +@property (nonatomic, weak, nullable) id delegate; + +/** + * A delegate that will be notified about ad revenue events. + */ +@property (nonatomic, weak, nullable) id revenueDelegate; + +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + +/** + * A delegate that will be notified about Ad Review events. + */ +@property (nonatomic, weak, nullable) id adReviewDelegate; + +/** + * Load the ad for the current app open ad. Set @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about ad load state. + */ +- (void)loadAd; + +/** + * Show the loaded app open ad. + *

    + *
  • Use @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAAppOpenAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ */ +- (void)showAd; + +/** + * Show the loaded app open ad for a given placement to tie ad events to. + *
    + *
  • Use @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAAppOpenAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + */ +- (void)showAdForPlacement:(nullable NSString *)placement; + +/** + * Show the loaded app open ad for a given placement and custom data to tie ad events to. + *
    + *
  • Use @code -[MAAppOpenAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAAppOpenAd ready] @endcode to check if an ad was successfully loaded.
  • + *
+ * + * @param placement The placement to tie the showing ad’s events to. + * @param customData The custom data to tie the showing ad’s events to. Maximum size is 8KB. + */ +- (void)showAdForPlacement:(nullable NSString *)placement customData:(nullable NSString *)customData; + +/** + * The ad unit identifier this @c MAAppOpenAd was initialized with and is loading ads for. + */ +@property (nonatomic, copy, readonly) NSString *adUnitIdentifier; + +/** + * Whether or not this ad is ready to be shown. + */ +@property (nonatomic, assign, readonly, getter=isReady) BOOL ready; + +/** + * Sets an extra key/value parameter for the ad. + * + * @param key Parameter key. + * @param value Parameter value. + */ +- (void)setExtraParameterForKey:(NSString *)key value:(nullable NSString *)value; + +/** + * Set a local extra parameter to pass to the adapter instances. Will not be available in the @code -[MAAdapter initializeWithParameters:withCompletionHandler:] @endcode method. + * + * @param key Parameter key. Must not be null. + * @param value Parameter value. May be null. + */ +- (void)setLocalExtraParameterForKey:(NSString *)key value:(nullable id)value; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAdapter.h new file mode 100644 index 0000000..4503f94 --- /dev/null +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAdapter.h @@ -0,0 +1,41 @@ +// +// MAAppOpenAdapter.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/26/22. +// + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This protocol defines methods for app open ad adapters. + */ +@protocol MAAppOpenAdapter + +/** + * Load an app open ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to load the ad. + * @param delegate Delegate to be notified about ad events. + */ +- (void)loadAppOpenAdForParameters:(id)parameters andNotify:(id)delegate; + +/** + * Show the pre-loaded app open ad. + * + * This is called once per adapter. + * + * @param parameters Parameters used to show the ad. + * @param delegate Delegate to be notified about ad events. + */ +- (void)showAppOpenAdForParameters:(id)parameters andNotify:(id)delegate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAdapterDelegate.h new file mode 100644 index 0000000..8a491e0 --- /dev/null +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAAppOpenAdapterDelegate.h @@ -0,0 +1,83 @@ +// +// MAAppOpenAdapterDelegate.h +// AppLovinSDK +// +// Created by Andrew Tian on 7/26/22. +// + +#import + +@class MAAdapterError; + +NS_ASSUME_NONNULL_BEGIN + +/** + * Protocol for adapters to forward ad load and display events to the MAX SDK for app open ads. + */ +@protocol MAAppOpenAdapterDelegate + +/** + * This method should called when an ad has been loaded. + */ +- (void)didLoadAppOpenAd; + +/** + * This method should called when an ad has been loaded. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didLoadAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when an ad could not be loaded. + * + * @param adapterError An error object that indicates the cause of ad failure. + */ +- (void)didFailToLoadAppOpenAdWithError:(MAAdapterError *)adapterError; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + */ +- (void)didDisplayAppOpenAd; + +/** + * This method should be called when the adapter has successfully displayed an ad to the user. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didDisplayAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when the user has clicked adapter's ad. + */ +- (void)didClickAppOpenAd; + +/** + * This method should be called when the user has clicked adapter's ad. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didClickAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method should be called when adapter's ad has been dismissed. + */ +- (void)didHideAppOpenAd; + +/** + * This method should be called when adapter's ad has been dismissed. + * + * @param extraInfo Extra info passed from the adapter. + */ +- (void)didHideAppOpenAdWithExtraInfo:(nullable NSDictionary *)extraInfo; + +/** + * This method is should be called when an ad could not be displayed. + * + * @param adapterError An error object that indicates the cause of the failure. + */ +- (void)didFailToDisplayAppOpenAdWithError:(MAAdapterError *)adapterError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h index 6c03705..e3c71b4 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACollectionViewAdPlacer.h @@ -5,9 +5,7 @@ // Created by Ritam Sarmah on 3/8/22. // -#import -#import -#import "MACustomAdPlacer.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACustomAdPlacer.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACustomAdPlacer.h index 9c86602..a83753b 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACustomAdPlacer.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MACustomAdPlacer.h @@ -5,8 +5,7 @@ // Created by Ritam Sarmah on 3/17/22. // -#import -#import "MAAdPlacer.h" +#import NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAError.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAError.h index 107dc37..bed7698 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAError.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAError.h @@ -5,9 +5,9 @@ // Created by Thomas So on 5/3/21. // -#import -#import "MAErrorCode.h" -#import "MAAdWaterfallInfo.h" +#import + +@class MAAdWaterfallInfo; NS_ASSUME_NONNULL_BEGIN @@ -26,17 +26,32 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, copy, readonly) NSString *message; +/** + * The mediated network's error code for the error. Available for errors returned in @c -[MAAdDelegate didFailToDisplayAd:withError:] only. + */ +@property (nonatomic, assign, readonly) NSInteger mediatedNetworkErrorCode; + +/** + * The mediated network's error message for the error. Defaults to an empty string. Available for errors returned in @c -[MAAdDelegate didFailToDisplayAd:withError:] only. + */ +@property (nonatomic, copy, readonly) NSString *mediatedNetworkErrorMessage; + /** * The underlying waterfall of ad responses. */ @property (nonatomic, strong, readonly, nullable) MAAdWaterfallInfo *waterfall; +/** + * The latency of the mediation ad load request in seconds. + */ +@property (nonatomic, assign, readonly) NSTimeInterval requestLatency; + - (instancetype)init NS_UNAVAILABLE; - (instancetype)new NS_UNAVAILABLE; @end -@interface MAError(ALDeprecated) +@interface MAError (ALDeprecated) @property (nonatomic, assign, readonly) NSInteger errorCode __deprecated_msg("This property is deprecated and removed in a future SDK version. Please use `-[MAError code]` instead."); @property (nonatomic, copy, readonly) NSString *errorMessage __deprecated_msg("This property is deprecated and removed in a future SDK version. Please use `-[MAError message]` instead."); @property (nonatomic, copy, readonly, nullable) NSString *adLoadFailureInfo __deprecated_msg("The ad load failure info string is deprecated and removed in a future SDK version. Please use `-[MAError waterfall]` instead."); diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAErrorCode.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAErrorCode.h index 24acb57..2c2b9a0 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAErrorCode.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAErrorCode.h @@ -5,8 +5,6 @@ // Created by Thomas So on 5/9/21. // -#import - /** * This enum contains various error codes that the SDK can return when a MAX ad fails to load or display. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAd.h index 9074735..7219663 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAd.h @@ -6,10 +6,13 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALSdk.h" -#import "MAAdDelegate.h" -#import "MAAdRevenueDelegate.h" -#import "MAAdReviewDelegate.h" +#import +#import +#import +#import +#import + +@class ALSdk; NS_ASSUME_NONNULL_BEGIN @@ -48,13 +51,18 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, weak, nullable) id revenueDelegate; +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + /** * A delegate that will be notified about Ad Review events. */ @property (nonatomic, weak, nullable) id adReviewDelegate; /** - * Load the ad for the current interstitial. Set @code [MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about ad load state. + * Load the ad for the current interstitial. Set @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about ad load state. * * @see MAX Integration Guide ⇒ iOs ⇒ Interstitials ⇒ Loading an Interstitial Ad */ @@ -63,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded interstitial ad. *
    - *
  • Use @code [MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @see MAX Integration Guide ⇒ iOs ⇒ Interstitials ⇒ Showing an Interstitial Ad @@ -74,8 +82,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded interstitial ad for a given placement to tie ad events to. *
    - *
  • Use @code [MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @param placement The placement to tie the showing ad’s events to. @@ -85,8 +93,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded interstitial ad for a given placement and custom data to tie ad events to. *
    - *
  • Use @code [MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @param placement The placement to tie the showing ad’s events to. @@ -97,8 +105,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded interstitial ad for a given placement and custom data to tie ad events to, and a view controller to present the ad from. *
    - *
  • Use @code [MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MAInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MAInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @param placement The placement to tie the showing ad’s events to. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h index 3765e8b..c97a68b 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapter.h @@ -6,16 +6,16 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapter.h" -#import "MAAdapterResponseParameters.h" -#import "MAInterstitialAdapterDelegate.h" +#import +#import +#import NS_ASSUME_NONNULL_BEGIN /** * This protocol defines methods for interstitial adapters. */ -@protocol MAInterstitialAdapter +@protocol MAInterstitialAdapter /** * Load a interstitial ad. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h index 28be0b2..9bab6fb 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAInterstitialAdapterDelegate.h @@ -6,15 +6,16 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapterDelegate.h" -#import "MAAdapterError.h" +#import + +@class MAAdapterError; NS_ASSUME_NONNULL_BEGIN /** * Protocol for adapters to forward ad load and display events to the MAX SDK for interstitial ads. */ -@protocol MAInterstitialAdapterDelegate +@protocol MAInterstitialAdapterDelegate /** * This method should called when an ad has been loaded. @@ -55,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /** * This method should be called when the user has clicked adapter's ad. */ --(void)didClickInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; +- (void)didClickInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; /** * This method should be called when adapter's ad has been dismissed. @@ -65,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /** * This method should be called when adapter's ad has been dismissed. */ --(void)didHideInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; +- (void)didHideInterstitialAdWithExtraInfo:(nullable NSDictionary *)extraInfo; /** * This method is should be called when an ad could not be displayed. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h index b0b0c45..c3c3cf6 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAMediatedNetworkInfo.h @@ -5,8 +5,6 @@ // Created by Ritam Sarmah on 2/8/21. // -#import - NS_ASSUME_NONNULL_BEGIN /** diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAd.h index cd8be30..4c9fc24 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAd.h @@ -5,26 +5,29 @@ // Created by Thomas So on 5/5/20. // -#import "MAAdFormat.h" - -NS_ASSUME_NONNULL_BEGIN +#import +@class MAAdFormat; @class MANativeAdBuilder; @class MANativeAdImage; @class MANativeAdView; +NS_ASSUME_NONNULL_BEGIN + typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); @interface MANativeAdBuilder : NSObject -@property (nonatomic, copy) NSString *title; +@property (nonatomic, copy, nullable) NSString *title; @property (nonatomic, copy, nullable) NSString *advertiser; @property (nonatomic, copy, nullable) NSString *body; @property (nonatomic, copy, nullable) NSString *callToAction; @property (nonatomic, strong, nullable) MANativeAdImage *icon; +@property (nonatomic, strong, nullable) MANativeAdImage *mainImage; @property (nonatomic, strong, nullable) UIView *iconView; @property (nonatomic, strong, nullable) UIView *optionsView; @property (nonatomic, strong, nullable) UIView *mediaView; +@property (nonatomic, assign) CGFloat mediaContentAspectRatio; @end @@ -38,7 +41,7 @@ typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); /** * The native ad image URL. */ -@property (nonatomic, copy, readonly, nullable) NSURL *URL; +@property (nonatomic, copy, readonly, nullable) NSURL *URL; - (instancetype)initWithImage:(UIImage *)image; - (instancetype)initWithURL:(NSURL *)URL; @@ -46,6 +49,9 @@ typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); @end +/** + * Represents a native ad to be rendered for an instance of a @c MAAd. + */ @interface MANativeAd : NSObject /** @@ -80,6 +86,8 @@ typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); /** * The native ad icon image view. + * + * This is only used for banners using native APIs. Native ads must provide a `MANativeAdImage` instead. */ @property (nonatomic, strong, readonly, nullable) UIView *iconView; @@ -94,9 +102,32 @@ typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); @property (nonatomic, strong, readonly, nullable) UIView *mediaView; /** - * For internal use only. + * The native ad main image (cover image). May or may not be a locally cached file:// resource file. + * + * Please make sure you continue to render your native ad using @c MANativeAdLoader so impression tracking is not affected. + * + * Supported adapter versions: + * + * BidMachine v1.9.4.1.1 + * Google Ad Manager v9.6.0.1 + * Google AdMob v9.6.0.2 + * Mintegral v7.1.7.0.2 + * myTarget v5.15.2.1 + * Pangle v4.5.2.4.1 + * Smaato v21.7.6.1 + * VerizonAds v2.0.0.4 */ -- (void)performClick; +@property (nonatomic, strong, readonly, nullable) MANativeAdImage *mainImage; + +/** + * The aspect ratio for the media view if provided by the network. Otherwise returns 0.0f. + */ +@property (nonatomic, assign, readonly) CGFloat mediaContentAspectRatio; + +/** + * Whether or not the ad is expired. + */ +@property (nonatomic, assign, readonly, getter=isExpired) BOOL expired; /** * This method is called before the ad view is returned to the publisher. @@ -104,7 +135,43 @@ typedef void (^MANativeAdBuilderBlock) (MANativeAdBuilder *builder); * * @param nativeAdView a rendered native ad view. */ -- (void)prepareViewForInteraction:(MANativeAdView *)nativeAdView; +- (void)prepareViewForInteraction:(MANativeAdView *)nativeAdView __deprecated_msg("This method has been deprecated and will be removed in a future SDK version. Please use -[MANativeAd prepareForInteractionClickableViews:withContainer:] instead."); + +/** + * ********************* + * AVAILABLE IN v11.5.2+ + * ********************* + * + * This method is called before the ad view is returned to the publisher. + * The adapters should override this method to register the rendered native ad view and make sure that the view is interactable. + * + * @param clickableViews The clickable views for the native ad. + * @param container The container for the native ad. + * + * @return @c YES if the call has been successfully handled by a subclass of @c MANativeAd. + */ +- (BOOL)prepareForInteractionClickableViews:(NSArray *)clickableViews withContainer:(UIView *)container; + +/** + * Whether or not to run the @code -[MANativeAd prepareForInteractionClickableViews:withContainer:] @endcode call on the main thread or background thread. + * + * @return @c YES to run the operation on the main thread, @c NO to run the operation on a background thread. Defaults to @c YES. + */ +- (BOOL)shouldPrepareViewForInteractionOnMainThread; + +/** + * ********************* + * AVAILABLE IN v11.6.0+ + * ********************* + * + * Whether or not container clickability is supported. + */ +- (BOOL)isContainerClickable; + +/** + * For supported mediated SDKs, manually invoke a click. + */ +- (void)performClick; - (instancetype)initWithFormat:(MAAdFormat *)format builderBlock:(NS_NOESCAPE MANativeAdBuilderBlock)builderBlock; - (instancetype)init NS_UNAVAILABLE; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapter.h index 8cf5970..09c17f7 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapter.h @@ -5,17 +5,16 @@ // Created by Thomas So on 6/16/21. // -#import "MAAdapter.h" -#import "MAAdapterResponseParameters.h" -#import "MANativeAdAdapterDelegate.h" -#import "MAAdFormat.h" +#import +#import +#import NS_ASSUME_NONNULL_BEGIN /** * This protocol defines methods for native adapters. */ -@protocol MANativeAdAdapter +@protocol MANativeAdAdapter /** * Schedule loading of the next native ad. @@ -30,4 +29,3 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END - diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h index 641fb06..3968c8d 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdAdapterDelegate.h @@ -5,16 +5,17 @@ // Created by Thomas So on 6/15/21. // -#import "MAAdapterDelegate.h" -#import "MAAdapterError.h" -#import "MANativeAd.h" +#import + +@class MAAdapterError; +@class MANativeAd; NS_ASSUME_NONNULL_BEGIN /** * Protocol for adapters to forward ad load and display events to the MAX SDK for native ads. */ -@protocol MANativeAdAdapterDelegate +@protocol MANativeAdAdapterDelegate /** * This method should called when an ad has been loaded. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdDelegate.h index 2a52bd2..1ec07ac 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdDelegate.h @@ -5,16 +5,16 @@ // Created by Andrew Tian on 7/14/21. // -#import "MAAd.h" -#import "MANativeAdView.h" -#import "MAError.h" +@class MAAd; +@class MAError; +@class MANativeAdView; NS_ASSUME_NONNULL_BEGIN /** * This protocol defines a listener to be notified about native ad events. */ -@protocol MANativeAdDelegate +@protocol MANativeAdDelegate /** * The SDK invokes this method when a new native ad has been loaded. @@ -48,6 +48,17 @@ NS_ASSUME_NONNULL_BEGIN */ - (void)didClickNativeAd:(MAAd *)ad; +@optional + +/** + * The SDK invokes this method when the native ad expires. + * + * The SDK invokes this method on the main UI thread. + * + * @param ad The ad that expired. + */ +- (void)didExpireNativeAd:(MAAd *)ad; + @end NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdLoader.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdLoader.h index a61a0d8..b777e92 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdLoader.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdLoader.h @@ -5,11 +5,11 @@ // Created by Andrew Tian on 7/14/21. // -#import "ALSdk.h" -#import "MAAdRevenueDelegate.h" -#import "MANativeAdDelegate.h" -#import +#import +#import +@class ALSdk; +@class MAAd; @class MANativeAdView; NS_ASSUME_NONNULL_BEGIN @@ -48,12 +48,12 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, weak, nullable) id revenueDelegate; /** - * Load a new MAX native ad. Set @code [MANativeAdLoader nativeAdDelegate] @endcode to assign a delegate that should be notified about ad load state. + * Load a new MAX native ad. Set @code -[MANativeAdLoader nativeAdDelegate] @endcode to assign a delegate that should be notified about ad load state. */ - (void)loadAd; /** - * Load a new MAX native ad into the given native ad view. Set @code [MANativeAdLoader nativeAdDelegate] @endcode to assign a delegate that should be notified about ad load state. + * Load a new MAX native ad into the given native ad view. Set @code -[MANativeAdLoader nativeAdDelegate] @endcode to assign a delegate that should be notified about ad load state. * * @param adView a @c MANativeAdView into which the loaded native ad will be rendered. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdView.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdView.h index 31e8658..b4a8835 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdView.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdView.h @@ -6,9 +6,9 @@ // #import -#import "MANativeAdViewBinder.h" @class MANativeAd; +@class MANativeAdViewBinder; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h index 65b77d3..518bf6c 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANativeAdViewBinder.h @@ -5,12 +5,10 @@ // Created by Santosh Bagadi on 11/26/21. // -#import +@class MANativeAdViewBinderBuilder; NS_ASSUME_NONNULL_BEGIN -@class MANativeAdViewBinderBuilder; - typedef void (^MANativeAdViewBinderBuilderBlock) (MANativeAdViewBinderBuilder *builder); @interface MANativeAdViewBinderBuilder : NSObject diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h index 37dfc38..c75d613 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MANetworkResponseInfo.h @@ -5,11 +5,8 @@ // Created by Thomas So on 10/30/21. // -#import -#import "MAMediatedNetworkInfo.h" -#import "MAErrorCode.h" - @class MAError; +@class MAMediatedNetworkInfo; NS_ASSUME_NONNULL_BEGIN diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAReward.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAReward.h index b83d471..8f9b55a 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAReward.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MAReward.h @@ -16,24 +16,23 @@ NS_ASSUME_NONNULL_BEGIN /** * The label that is used when a label is not given by the third-party network. */ -@property (nonatomic, copy, readonly, class) NSString *defaultLabel; +@property (class, nonatomic, copy, readonly) NSString *defaultLabel; /** * The amount that is used when no amount is given by the third-party network. */ -@property (nonatomic, assign, readonly, class) NSInteger defaultAmount; +@property (class, nonatomic, assign, readonly) NSInteger defaultAmount; /** - * The reward label or @code [MAReward defaultLabel] @endcode if none specified. + * The reward label or @code +[MAReward defaultLabel] @endcode if none specified. */ @property (nonatomic, copy, readonly) NSString *label; /** - * The rewarded amount or @code [MAReward defaultAmount] @endcode if none specified. + * The rewarded amount or @code +[MAReward defaultAmount] @endcode if none specified. */ @property (nonatomic, assign, readonly) NSInteger amount; - /** * Create a reward object. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAd.h index 0c11ea4..52daf7a 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAd.h @@ -6,10 +6,14 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "ALSdk.h" -#import "MAAdRevenueDelegate.h" -#import "MARewardedAdDelegate.h" -#import "MAAdReviewDelegate.h" +#import +#import +#import +#import +#import +#import + +@class ALSdk; NS_ASSUME_NONNULL_BEGIN @@ -52,13 +56,18 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, weak, nullable) id revenueDelegate; +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + /** * A delegate that will be notified about Ad Review events. */ @property (nonatomic, weak, nullable) id adReviewDelegate; /** - * Load the current rewarded ad. Use @code [MARewardedAd delegate] @endcode to assign a delegate that should be notified about ad load state. + * Load the current rewarded ad. Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about ad load state. * * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Loading a Rewarded Ad */ @@ -67,8 +76,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded ad. *
    - *
  • Use @code [MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad @@ -78,8 +87,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded ad for a given placement to tie ad events to. *
    - *
  • Use @code [MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad @@ -91,8 +100,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded ad for a given placement and custom data to tie ad events to. *
    - *
  • Use @code [MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad @@ -105,8 +114,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded ad for a given placement and custom data to tie ad events to, and a view controller to present the ad from. *
    - *
  • Use @code [MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads ⇒ Showing a Rewarded Ad diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h index e351099..b1beb53 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h @@ -6,9 +6,10 @@ // Copyright © 2020 AppLovin Corporation. All rights reserved. // -#import "MAAdDelegate.h" -#import "MAReward.h" -#import "MAAd.h" +#import + +@class MAAd; +@class MAReward; NS_ASSUME_NONNULL_BEGIN @@ -17,17 +18,7 @@ NS_ASSUME_NONNULL_BEGIN * * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads */ -@protocol MARewardedAdDelegate - -/** - * The SDK invokes this method when rewarded video has started. - */ -- (void)didStartRewardedVideoForAd:(MAAd *)ad; - -/** - * The SDK invokes this method when rewarded video has completed. - */ -- (void)didCompleteRewardedVideoForAd:(MAAd *)ad; +@protocol MARewardedAdDelegate /** * The SDK invokes this method when a user should be granted a reward. @@ -37,6 +28,14 @@ NS_ASSUME_NONNULL_BEGIN */ - (void)didRewardUserForAd:(MAAd *)ad withReward:(MAReward *)reward; +@optional + +- (void)didStartRewardedVideoForAd:(MAAd *)ad +__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didDisplayAd:] instead"); + +- (void)didCompleteRewardedVideoForAd:(MAAd *)ad +__deprecated_msg("This function is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didHideAd:] instead"); + @end NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapter.h index ae67308..d167a15 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapter.h @@ -6,15 +6,16 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapter.h" -#import "MARewardedAdapterDelegate.h" +#import +#import +#import NS_ASSUME_NONNULL_BEGIN /** * This protocol defines methods for rewarded (incentivized) adapters. */ -@protocol MARewardedAdapter +@protocol MARewardedAdapter /** * Load a rewarded ad. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h index 4dd8cdc..4309f30 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedAdapterDelegate.h @@ -6,16 +6,17 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MAAdapterDelegate.h" -#import "MAAdapterError.h" -#import "MAReward.h" +#import + +@class MAAdapterError; +@class MAReward; NS_ASSUME_NONNULL_BEGIN /** * Protocol for adapters to forward ad load and display events to the MAX SDK for rewarded ads. */ -@protocol MARewardedAdapterDelegate +@protocol MARewardedAdapterDelegate /** * This method should called when an ad has been loaded. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h index f9f8368..100fd0b 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAd.h @@ -5,8 +5,13 @@ // Created by Thomas So on 6/3/20. // -#import "MAAdRevenueDelegate.h" -#import "MAAdReviewDelegate.h" +#import +#import +#import +#import +#import + +@class ALSdk; NS_ASSUME_NONNULL_BEGIN @@ -43,13 +48,18 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, weak, nullable) id revenueDelegate; +/** + * A delegate that will be notified about ad request events. + */ +@property (nonatomic, weak, nullable) id requestDelegate; + /** * A delegate that will be notified about Ad Review events. */ @property (nonatomic, weak, nullable) id adReviewDelegate; /** - * Load the current rewarded interstitial. Set @code [MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about ad load + * Load the current rewarded interstitial. Set @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about ad load * state. */ - (void)loadAd; @@ -57,8 +67,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded interstitial ad. *
    - *
  • Use @code [MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
*/ - (void)showAd; @@ -66,8 +76,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded interstitial ad for a given placement to tie ad events to. *
    - *
  • Use @code [MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @param placement The placement to tie the showing ad’s events to. @@ -77,8 +87,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded interstitial ad for a given placement and custom data to tie ad events to. *
    - *
  • Use @code [MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @param placement The placement to tie the showing ad’s events to. @@ -89,8 +99,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Show the loaded rewarded interstitial ad for a given placement and custom data to tie ad events to, and a view controller to present the ad from.. *
    - *
  • Use @code [MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • - *
  • Use @code [MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • + *
  • Use @code -[MARewardedInterstitialAd delegate] @endcode to assign a delegate that should be notified about display events.
  • + *
  • Use @code -[MARewardedInterstitialAd ready] @endcode to check if an ad was successfully loaded.
  • *
* * @param placement The placement to tie the showing ad’s events to. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h index 72c942d..6ae2e97 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapter.h @@ -5,15 +5,16 @@ // Created by Thomas So on 6/3/20. // -#import -#import "MARewardedInterstitialAdapterDelegate.h" +#import +#import +#import NS_ASSUME_NONNULL_BEGIN /** * This interface defines methods for rewarded interstitial adapters. */ -@protocol MARewardedInterstitialAdapter +@protocol MARewardedInterstitialAdapter /** * Load a rewarded interstitial ad. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h index 2608ed4..01449b1 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MARewardedInterstitialAdapterDelegate.h @@ -5,14 +5,17 @@ // Created by Thomas So on 6/3/20. // -#import +#import + +@class MAAdapterError; +@class MAReward; NS_ASSUME_NONNULL_BEGIN /** * Protocol for adapters to forward ad load and display events to the MAX SDK for rewarded interstitial ads. */ -@protocol MARewardedInterstitialAdapterDelegate +@protocol MARewardedInterstitialAdapterDelegate /** * This method should called when an ad has been loaded. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h index aa25048..f9e2cd5 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionDelegate.h @@ -10,7 +10,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Protocol for adapters to forward signal collection events to the MAX SDK. */ -@protocol MASignalCollectionDelegate +@protocol MASignalCollectionDelegate /** * This method must be called when signal collection has completed. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h index b881d34..aca5b25 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalCollectionParameters.h @@ -5,14 +5,16 @@ // Created by Thomas So on 8/27/18. // -#import "MAAdapterParameters.h" +#import + +@class MAAdFormat; NS_ASSUME_NONNULL_BEGIN /** * This protocol contains parameters passed to a mediation adapter to load the signal. */ -@protocol MASignalCollectionParameters +@protocol MASignalCollectionParameters /** * The ad format we are currently collecting the signal for. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalProvider.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalProvider.h index ef322c9..ae8ab43 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalProvider.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MASignalProvider.h @@ -6,15 +6,15 @@ // Copyright © 2019 AppLovin Corporation. All rights reserved. // -#import "MASignalCollectionParameters.h" -#import "MASignalCollectionDelegate.h" +#import +#import NS_ASSUME_NONNULL_BEGIN /** * This protocol describes a mediation adapter that provides bid signals. */ -@protocol MASignalProvider +@protocol MASignalProvider /** * Retrieve the signal that should be passed up to the server. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h index 8dada27..ac2e7c9 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/MATableViewAdPlacer.h @@ -5,14 +5,10 @@ // Created by Ritam Sarmah on 2/18/22. // -#import -#import -#import "MACustomAdPlacer.h" +#import NS_ASSUME_NONNULL_BEGIN -@class MAAdPlacerSettings; - /** * This class loads and places native ads into a corresponding @c UITableView. The table view's original data source and delegate methods are wrapped by this class in order to automatically insert ad rows, while maintaining the existing table view's behavior. */ diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h index 9921385..855a3f9 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UICollectionView+MACollectionViewAdPlacer.h @@ -7,10 +7,10 @@ #import -NS_ASSUME_NONNULL_BEGIN - @class MACollectionViewAdPlacer; +NS_ASSUME_NONNULL_BEGIN + /** * When using an @c MACollectionViewAdPlacer, you should replace the usage of the original @c UICollectionView properties/methods in your code with the prefixed version from this category. * These methods help simplify your application logic by automatically returning "original" index paths (by accounting for added ad index paths in the stream) as well as serving to inform the ad placer of changes to its associated collection view. @@ -119,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN * @param animated Specify @c YES to animate the change in the selection or @c NO to make the change * without animating it. * @param scrollPosition An option that specifies where the item should be positioned when scrolling - finishes. + * finishes. */ - (void)al_selectItemAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UICollectionViewScrollPosition)scrollPosition; diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h index f1d969a..bdef946 100644 --- a/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h +++ b/plugins/2018.3326/iphone/AppLovinSDK.framework/Headers/UITableView+MATableViewAdPlacer.h @@ -5,13 +5,12 @@ // Created by Ritam Sarmah on 2/22/22. // -#import #import -NS_ASSUME_NONNULL_BEGIN - @class MATableViewAdPlacer; +NS_ASSUME_NONNULL_BEGIN + /** * When using an @c MATableViewAdPlacer, you should replace the usage of the original @c UITableView properties/methods in your code with the prefixed version from this category. * These methods help simplify your application logic by automatically returning "original" index paths (by accounting for added ad index paths in the stream) as well as serving to inform the ad placer of changes to its associated table view. diff --git a/plugins/2018.3326/iphone/AppLovinSDK.framework/Info.plist b/plugins/2018.3326/iphone/AppLovinSDK.framework/Info.plist index 38e2c8b..7e44af6 100644 Binary files a/plugins/2018.3326/iphone/AppLovinSDK.framework/Info.plist and b/plugins/2018.3326/iphone/AppLovinSDK.framework/Info.plist differ diff --git a/plugins/2018.3326/iphone/libAPDAppLovinAdapter.a b/plugins/2018.3326/iphone/libAPDAppLovinAdapter.a index be10230..d086524 100644 Binary files a/plugins/2018.3326/iphone/libAPDAppLovinAdapter.a and b/plugins/2018.3326/iphone/libAPDAppLovinAdapter.a differ