Skip to content

Commit 0f5b647

Browse files
committed
3.9.0.0 Update
1 parent 87d6f69 commit 0f5b647

File tree

248 files changed

+10896
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+10896
-82
lines changed

.DS_Store

6 KB
Binary file not shown.

plugins/.DS_Store

6 KB
Binary file not shown.

plugins/2018.3326/.DS_Store

6 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies {
2-
implementation 'com.appodeal.ads.sdk.networks:ironsource:3.4.2.0'
2+
implementation 'com.appodeal.ads.sdk.networks:ironsource:3.9.0.0'
33
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
//
2+
// ISAAdFormat.h
3+
// IronSource
4+
//
5+
// Copyright © 2024 IronSource. All rights reserved.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
/**
13+
Enum representing available ad formats.
14+
*/
15+
typedef NS_ENUM(NSUInteger, ISAAdFormatType) {
16+
ISAAdFormatTypeInterstitial,
17+
ISAAdFormatTypeRewarded,
18+
ISAAdFormatTypeBanner
19+
};
20+
21+
/**
22+
Class representing an ad format.
23+
*/
24+
@interface ISAAdFormat : NSObject
25+
26+
- (instancetype)init NS_UNAVAILABLE;
27+
- (instancetype)new NS_UNAVAILABLE;
28+
29+
/**
30+
The ad format type.
31+
*/
32+
@property(readonly, nonatomic) ISAAdFormatType adFormatType;
33+
34+
/**
35+
Initializes with the given ad format type.
36+
37+
@param adFormatType the ad format type to represent.
38+
*/
39+
- (instancetype)initWithAdFormatType:(ISAAdFormatType)adFormatType;
40+
41+
@end
42+
43+
NS_ASSUME_NONNULL_END
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
//
2+
// ISAAdSize.h
3+
// IronSource
4+
//
5+
// Copyright © 2024 IronSource. All rights reserved.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
/**
13+
Class representing an ad size.
14+
*/
15+
@interface ISAAdSize : NSObject
16+
17+
@property(nonatomic, readonly) CGFloat width;
18+
@property(nonatomic, readonly) CGFloat height;
19+
@property(nonatomic, readonly, copy) NSString *sizeDescription;
20+
21+
- (instancetype)init NS_UNAVAILABLE;
22+
- (instancetype)new NS_UNAVAILABLE;
23+
24+
/**
25+
Creates an `ISAAdSize` for a banner ad.
26+
*/
27+
+ (ISAAdSize *)banner;
28+
29+
/**
30+
Creates an `ISAAdSize` for a large ad.
31+
*/
32+
+ (ISAAdSize *)large;
33+
34+
/**
35+
Creates an `ISAAdSize` for a medium rectangle ad.
36+
*/
37+
+ (ISAAdSize *)mediumRectangle;
38+
39+
/**
40+
Creates an `ISAAdSize` for a leaderboard ad.
41+
*/
42+
+ (ISAAdSize *)leaderboard;
43+
44+
@end
45+
46+
NS_ASSUME_NONNULL_END
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
//
2+
// ISABannerAdInfo.h
3+
// IronSource
4+
//
5+
// Copyright © 2024 IronSource. All rights reserved.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
/**
13+
Class containing information on the associated banner ad.
14+
*/
15+
@interface ISABannerAdInfo : NSObject
16+
17+
- (instancetype)init NS_UNAVAILABLE;
18+
- (instancetype)new NS_UNAVAILABLE;
19+
20+
/**
21+
The identifier of the network instance.
22+
*/
23+
@property(nonatomic, strong, readonly) NSString *instanceId;
24+
25+
/**
26+
The unique identifier of the ad.
27+
*/
28+
@property(nonatomic, strong, readonly) NSString *adId;
29+
30+
@end
31+
32+
NS_ASSUME_NONNULL_END
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// ISNBannerLoader.h
3+
// IronSource
4+
//
5+
// Copyright © 2024 IronSource. All rights reserved.
6+
//
7+
8+
#import "ISABannerAdLoaderDelegate.h"
9+
#import "ISABannerAdRequest.h"
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
/**
14+
Class responsible for loading banner ads.
15+
*/
16+
@interface ISABannerAdLoader : NSObject
17+
18+
- (instancetype)init NS_UNAVAILABLE;
19+
- (instancetype)new NS_UNAVAILABLE;
20+
21+
/**
22+
Loads a banner ad.
23+
The delegate will send a `bannerAdDidLoad:` or
24+
`bannerAdDidFailToLoadWithError:` callback.
25+
26+
@param adRequest The request configuration for the ad to be loaded.
27+
@param delegate The delegate to be notified of ad loading callbacks. The callbacks will be invoked
28+
on the main thread. The delegate is held weakly.
29+
*/
30+
+ (void)loadAdWithAdRequest:(ISABannerAdRequest *)adRequest
31+
delegate:(id<ISABannerAdLoaderDelegate>)delegate;
32+
33+
@end
34+
35+
NS_ASSUME_NONNULL_END
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//
2+
// ISABannerAdLoaderDelegate.h
3+
// IronSource
4+
//
5+
// Copyright © 2024 IronSource. All rights reserved.
6+
//
7+
8+
#import "ISABannerAdView.h"
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
/**
13+
Protocol handling loading callbacks for a requested banner ad.
14+
The callbacks will be invoked on the main thread.
15+
*/
16+
@protocol ISABannerAdLoaderDelegate <NSObject>
17+
18+
/**
19+
Called when a banner ad is successfully loaded.
20+
21+
@param bannerAdView The banner ad that is loaded.
22+
*/
23+
- (void)bannerAdDidLoad:(ISABannerAdView *)bannerAdView;
24+
25+
/**
26+
Called when a banner ad fails to load.
27+
28+
@param error The error that occurred during loading.
29+
*/
30+
- (void)bannerAdDidFailToLoadWithError:(NSError *)error;
31+
32+
@end
33+
34+
NS_ASSUME_NONNULL_END
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//
2+
// ISNBannerAdRequest.h
3+
// IronSource
4+
//
5+
// Copyright © 2024 IronSource. All rights reserved.
6+
//
7+
8+
#import <UIKit/UIKit.h>
9+
#import "ISAAdSize.h"
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
/**
14+
Class representing a loading request for a banner ad.
15+
Use `ISABannerAdRequestBuilder` in order to create an instance of this class.
16+
*/
17+
@interface ISABannerAdRequest : NSObject
18+
19+
- (instancetype)init NS_UNAVAILABLE;
20+
- (instancetype)new NS_UNAVAILABLE;
21+
22+
/**
23+
The identifier for the network instance.
24+
*/
25+
@property(nonatomic, strong, readonly) NSString *instanceId;
26+
27+
/**
28+
The ad markup.
29+
*/
30+
@property(nonatomic, strong, readonly) NSString *adm;
31+
32+
/**
33+
The ad size.
34+
*/
35+
@property(nonatomic, strong, readonly) ISAAdSize *size;
36+
37+
/**
38+
The view controller to show the ad on, if available.
39+
*/
40+
@property(nonatomic, weak, readonly, nullable) UIViewController *viewController;
41+
42+
/**
43+
Extra parameters for the ad request.
44+
*/
45+
@property(nonatomic, strong, readonly, nullable) NSDictionary *extraParams;
46+
47+
@end
48+
49+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)