-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8d9812
commit 67ad57e
Showing
257 changed files
with
11,615 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dependencies { | ||
implementation 'com.appodeal.ads.sdk.networks:ironsource:3.2.1.0' | ||
implementation 'com.appodeal.ads.sdk.networks:ironsource:3.3.1.0' | ||
} |
51 changes: 51 additions & 0 deletions
51
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdData.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// | ||
// ISAdData.h | ||
// IronSource | ||
// | ||
// Created by Yonti Makmel on 22/04/2021. | ||
// Copyright © 2021 ironSource. All rights reserved. | ||
// | ||
#import <Foundation/Foundation.h> | ||
#import "ISAdapterConfig.h" | ||
#import "ISBannerSize.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface ISAdData : NSObject | ||
|
||
// The server data containing the adm | ||
@property(nonatomic, strong, readonly, nullable) NSString *serverData; | ||
|
||
// The server configuration | ||
@property(nonatomic, strong, readonly) NSDictionary *configuration; | ||
|
||
// The configuration holding userId, banner size, ad unit data from auction response and adapter | ||
// config | ||
@property(nonatomic, strong, readonly, nullable) NSDictionary *adUnitData; | ||
|
||
+ (instancetype)adDataWithAdapterConfiguration:(ISAdapterConfig *)config | ||
adUnit:(ISAdUnit *)adUnit | ||
userId:(NSString *)userId; | ||
|
||
+ (instancetype)adDataWithAdapterConfiguration:(ISAdapterConfig *)config | ||
adUnit:(ISAdUnit *)adUnit | ||
userId:(NSString *)userId | ||
bannerSize:(ISBannerSize *)bannerSize; | ||
|
||
- (instancetype)initWithServerData:(nullable NSString *)serverData | ||
configuration:(NSDictionary *)configuration | ||
adUnitData:(nullable NSDictionary *)adUnitData; | ||
|
||
- (nullable NSString *)getString:(NSString *)key; | ||
|
||
- (NSInteger)getInt:(NSString *)key; | ||
|
||
- (BOOL)getBoolean:(NSString *)key; | ||
|
||
- (nullable NSNumber *)getNumber:(NSString *)key; | ||
|
||
- (nullable NSDictionary *)getAdUnitData; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
33 changes: 33 additions & 0 deletions
33
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdInfo.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// ISAdInfo.h | ||
// IronSource | ||
// | ||
// Copyright © 2022 IronSource. All rights reserved. | ||
// | ||
|
||
#import "ISImpressionData.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface ISAdInfo : NSObject | ||
|
||
@property(readonly, copy) NSString* auction_id; | ||
@property(readonly, copy) NSString* ad_unit; | ||
@property(readonly, copy) NSString* ad_network; | ||
@property(readonly, copy) NSString* instance_name; | ||
@property(readonly, copy) NSString* instance_id; | ||
@property(readonly, copy) NSString* country; | ||
@property(readonly, copy) NSNumber* revenue; | ||
@property(readonly, copy) NSString* precision; | ||
@property(readonly, copy) NSString* ab; | ||
@property(readonly, copy) NSString* segment_name; | ||
@property(readonly, copy) NSNumber* lifetime_revenue; | ||
@property(readonly, copy) NSString* encrypted_cpm; | ||
@property(readonly, copy) NSNumber* conversion_value; | ||
|
||
- (instancetype)init; | ||
- (instancetype)initWithImpressionData:(ISImpressionData* _Nonnull)impressionData; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
17 changes: 17 additions & 0 deletions
17
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdOptionsPosition.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// ISAdOptionsPosition.h | ||
// IronSource | ||
// | ||
// Created by Hadar Pur on 06/07/2023. | ||
// Copyright © 2023 IronSource. All rights reserved. | ||
// | ||
|
||
// ISAdOptionsPosition | ||
typedef NS_ENUM(NSInteger, ISAdOptionsPosition) { | ||
ISAdOptionsPositionTopLeft, | ||
ISAdOptionsPositionTopRight, | ||
ISAdOptionsPositionBottomLeft, | ||
ISAdOptionsPositionBottomRight | ||
}; | ||
|
||
static NSString* const kAdOptionsPosKey = @"adOptionsPos"; |
25 changes: 25 additions & 0 deletions
25
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdUnit.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// ISAdUnit.h | ||
// IronSource | ||
// | ||
// Created by Yonti Makmel on 18/04/2021. | ||
// Copyright © 2021 ironSource. All rights reserved. | ||
// | ||
#import <Foundation/Foundation.h> | ||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface ISAdUnit : NSObject | ||
|
||
@property(strong, nonatomic) NSString *value; | ||
|
||
+ (ISAdUnit *)IS_AD_UNIT_REWARDED_VIDEO; | ||
+ (ISAdUnit *)IS_AD_UNIT_INTERSTITIAL; | ||
+ (ISAdUnit *)IS_AD_UNIT_OFFERWALL; | ||
+ (ISAdUnit *)IS_AD_UNIT_BANNER; | ||
+ (ISAdUnit *)IS_AD_UNIT_NATIVE_AD; | ||
|
||
- (instancetype)initWithValue:(NSString *)value; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
13 changes: 13 additions & 0 deletions
13
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdUnitAdapterProtocol.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// ISAdUnitAdapterProtocol.h | ||
// IronSource | ||
// | ||
// Copyright © 2023 IronSource. All rights reserved. | ||
// | ||
|
||
#import "ISNetworkInitCallbackProtocol.h" | ||
#import "ISReleaseMemoryAdapterProtocol.h" | ||
|
||
@protocol ISAdUnitAdapterProtocol <ISReleaseMemoryAdapterProtocol, ISNetworkInitCallbackProtocol> | ||
|
||
@end |
37 changes: 37 additions & 0 deletions
37
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdapterAdDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// ISAdapterAdDelegate.h | ||
// IronSource | ||
// | ||
// Created by Yonti Makmel on 28/04/2021. | ||
// Copyright © 2021 ironSource. All rights reserved. | ||
// | ||
|
||
#ifndef ISAdapterAdDelegate_h | ||
#define ISAdapterAdDelegate_h | ||
|
||
#import "ISAdapterErrorType.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol ISAdapterAdDelegate <NSObject> | ||
|
||
// Mandatory callbacks | ||
|
||
- (void)adDidLoad; | ||
|
||
/// @param errorType the load error type, including NO_FILL | ||
/// @param errorCode the error code if available, general ones in AdapterErrors | ||
/// @param errorMessage the error message if available | ||
- (void)adDidFailToLoadWithErrorType:(ISAdapterErrorType)errorType | ||
errorCode:(NSInteger)errorCode | ||
errorMessage:(nullable NSString*)errorMessage; | ||
|
||
- (void)adDidOpen; | ||
|
||
- (void)adDidClick; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END | ||
|
||
#endif /* ISAdapterAdDelegate_h */ |
35 changes: 35 additions & 0 deletions
35
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdapterAdFullscreenProtocol.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// ISAdapterAdFullscreenProtocol.h | ||
// IronSource | ||
// | ||
// Copyright © 2023 IronSource. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
#import "ISAdData.h" | ||
#import "ISAdapterAdInteractionDelegate.h" | ||
|
||
@protocol ISAdapterAdFullscreenProtocol <NSObject> | ||
|
||
/// load the ad | ||
/// @param adData data containing the configuration passed from the server and other related | ||
/// parameters passed from the publisher like userId | ||
/// @param delegate the delegate to return mandatory callbacks based on the network - load success, | ||
/// load failure, ad opened, ad closed, show failed optional callbacks - show success, clicked | ||
- (void)loadAdWithAdData:(ISAdData *)adData delegate:(id<ISAdapterAdDelegate>)delegate; | ||
|
||
/// show the ad | ||
/// @param viewController current viewController for showing the ad | ||
/// @param adData data containing the configuration passed from the server and other related | ||
/// parameters passed from the publisher like userId | ||
/// @param delegate the callback listener | ||
- (void)showAdWithViewController:(UIViewController *)viewController | ||
adData:(ISAdData *)adData | ||
delegate:(id<ISAdapterAdInteractionDelegate>)delegate; | ||
|
||
/// returning whether the ad is available or not | ||
/// @param adData data containing the configuration passed from the server and other related | ||
/// parameters passed from the publisher like userId | ||
- (BOOL)isAdAvailableWithAdData:(ISAdData *)adData; | ||
|
||
@end |
41 changes: 41 additions & 0 deletions
41
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdapterAdInteractionDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// | ||
// ISAdapterAdInteractionDelegate.h | ||
// IronSource | ||
// | ||
// Created by Bar David on 21/10/2021. | ||
// Copyright © 2021 IronSource. All rights reserved. | ||
// | ||
|
||
#ifndef ISAdapterAdInteractionDelegate_h | ||
#define ISAdapterAdInteractionDelegate_h | ||
|
||
#import "ISAdapterAdDelegate.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol ISAdapterAdInteractionDelegate <ISAdapterAdDelegate> | ||
|
||
// Mandatory callbacks | ||
|
||
- (void)adDidClose; | ||
|
||
/// @param errorCode the error code if available, general ones in AdapterErrors | ||
/// @param errorMessage the error message if available | ||
- (void)adDidFailToShowWithErrorCode:(NSInteger)errorCode | ||
errorMessage:(nullable NSString*)errorMessage; | ||
|
||
// Optional callbacks | ||
|
||
- (void)adDidShowSucceed; | ||
|
||
- (void)adDidBecomeVisible; | ||
|
||
- (void)adDidStart; | ||
|
||
- (void)adDidEnd; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END | ||
|
||
#endif /* ISAdapterAdInteractionDelegate_h */ |
25 changes: 25 additions & 0 deletions
25
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdapterAdRewardedDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// ISAdapterAdRewardedDelegate.h | ||
// IronSource | ||
// | ||
// Created by Bar David on 21/10/2021. | ||
// Copyright © 2021 IronSource. All rights reserved. | ||
// | ||
|
||
#ifndef ISAdapterAdRewardedDelegate_h | ||
#define ISAdapterAdRewardedDelegate_h | ||
|
||
#import "ISAdapterAdInteractionDelegate.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol ISAdapterAdRewardedDelegate <ISAdapterAdInteractionDelegate> | ||
|
||
// mandatory callbacks | ||
|
||
- (void)adRewarded; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END | ||
#endif /* ISAdapterAdRewardedDelegate_h */ |
43 changes: 43 additions & 0 deletions
43
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdapterAdViewDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// ISAdapterAdViewDelegate.h | ||
// IronSource | ||
// | ||
// Created by Guy Lis on 27/03/2023. | ||
// Copyright © 2023 IronSource. All rights reserved. | ||
// | ||
|
||
#ifndef ISAdapterAdViewDelegate_h | ||
#define ISAdapterAdViewDelegate_h | ||
|
||
#import <UIKit/UIKit.h> | ||
#import "ISAdapterAdDelegate.h" | ||
|
||
@protocol ISAdapterAdViewDelegate <ISAdapterAdDelegate> | ||
|
||
// mandatory callbacks | ||
|
||
/** | ||
* @param view the view that was loaded | ||
*/ | ||
- (void)adDidLoadWithView:(UIView *)view; | ||
|
||
// optional callbacks (must be implemented in the adapter but can have empty implementation) | ||
|
||
/** | ||
* This method should be invoked before the user is taken out of the application after a click | ||
*/ | ||
- (void)adWillLeaveApplication; | ||
|
||
/** | ||
* This method should be invoked after the ad view presents fullscreen content | ||
*/ | ||
- (void)adWillPresentScreen; | ||
|
||
/** | ||
* This method should be invoked after the fullscreen content is dismissed | ||
*/ | ||
- (void)adDidDismissScreen; | ||
|
||
@end | ||
|
||
#endif /* ISAdapterAdViewDelegate_h */ |
41 changes: 41 additions & 0 deletions
41
plugins/2018.3326/iphone-sim/IronSource.framework/Headers/ISAdapterBannerProtocol.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// | ||
// ISAdapterBannerProtocol.h | ||
// IronSource | ||
// | ||
// Created by Guy Lis on 27/03/2023. | ||
// Copyright © 2023 IronSource. All rights reserved. | ||
// | ||
|
||
#import "ISAdData.h" | ||
#import "ISBannerAdDelegate.h" | ||
#import "ISBannerSize.h" | ||
|
||
@protocol ISAdapterBannerProtocol <NSObject> | ||
|
||
/** | ||
* load the ad | ||
* | ||
* @param adData data containing the configuration passed from the server and other related | ||
* parameters passed from the publisher like userId | ||
* @param viewController the application view controller | ||
* @param bannerSize the banner size the ad will be presented on | ||
* @param delegate the callback listener to return | ||
* mandatory callbacks based on the network - load success, load failure, ad opened | ||
* optional callbacks - clicked, left application, presented, dismissed | ||
*/ | ||
- (void)loadAdWithAdData:(nonnull ISAdData *)adData | ||
viewController:(UIViewController *)viewController | ||
size:(ISBannerSize *)size | ||
delegate:(nonnull id<ISBannerAdDelegate>)delegate; | ||
|
||
/** | ||
* destroy the ad | ||
* | ||
* @param adData - data containing the configuration passed from the server and other related | ||
* parameters passed from the publisher like userId | ||
*/ | ||
- (void)destroyAdWithAdData:(nonnull ISAdData *)adData; | ||
|
||
- (BOOL)isSupportAdaptiveBanner; | ||
|
||
@end |
Oops, something went wrong.