Skip to content

Commit

Permalink
Update to 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Feb 29, 2024
1 parent ca3eef4 commit 0846ca7
Show file tree
Hide file tree
Showing 164 changed files with 32,219 additions and 913 deletions.
2 changes: 1 addition & 1 deletion plugins/2018.3326/android/corona.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dependencies {
implementation 'com.appodeal.ads.sdk.networks:my_target:3.1.3.1'
implementation 'com.appodeal.ads.sdk.networks:my_target:3.2.1.0'
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdChoicesPlacement.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 10/02/2020.
// Copyright © 2020 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdChoicesView.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 10.03.2021.
// Copyright © 2021 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdNetworkConfigProtocol.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 07.04.2022.
// Copyright © 2022 VK. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdSize.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 01.07.2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdView.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Timur on 3/22/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down Expand Up @@ -28,15 +28,23 @@ NS_ASSUME_NONNULL_BEGIN
- (void)onLoadWithAdView:(MTRGAdView *)adView;

/**
@discussion Calls when there is no ad for ad view. Required.
@param reason String with a reason.
@discussion Calls if there is no ad.
@param error An error code/description.
@param adView Current ad view.
*/
- (void)onNoAdWithReason:(NSString *)reason adView:(MTRGAdView *)adView;
- (void)onLoadFailedWithError:(NSError *)error adView:(MTRGAdView *)adView NS_SWIFT_NAME(onLoadFailed(error:adView:));

@optional

/**
@discussion Calls when there is no ad for ad view.
@param reason String with a reason.
@param adView Current ad view.
*/
- (void)onNoAdWithReason:(NSString *)reason adView:(MTRGAdView *)adView __attribute__((deprecated("use onLoadFailed method instead.")));

/**
@discussion Calls on click.
Expand Down Expand Up @@ -143,6 +151,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (instancetype)adViewWithSlotId:(NSUInteger)slotId shouldRefreshAd:(BOOL)shouldRefreshAd;

+ (instancetype)new NS_UNAVAILABLE;

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;

- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;

/**
@discussion Load the view.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAppwallAdView.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Timur on 4/12/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAppwallBannerAdView.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Anton Bulankin on 15.01.15.
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAudioData.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Timur on 2/9/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGBaseAd.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Timur on 2/1/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand All @@ -11,6 +11,8 @@
@class MTRGCustomParams;
@protocol MTRGAdNetworkConfigProtocol;

typedef NS_ENUM(NSInteger, MTRGAdLoadingError);

NS_ASSUME_NONNULL_BEGIN

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGBaseInterstitialAd.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 31.07.2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGCachePolicy.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 25/02/2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGConfig.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 19.01.2021.
// Copyright © 2021 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGCustomParams.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Anton Bulankin on 22.12.14.
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGIconAdView.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 18/02/2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGImageData.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Timur on 2/9/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAd.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Timur on 5/4/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand All @@ -15,6 +15,8 @@
@class AVPlayer;
@class MTRGInstreamAdCompanionBanner;
@class MTRGShoppableAdsItem;
@class MTRGInstreamAdVideoMotionBanner;
@protocol MTRGInstreamAdVideoMotionPlayer;

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -23,6 +25,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
@interface MTRGInstreamAdBanner : NSObject

/**
@discussion The bundle identifier.
*/
@property(nonatomic, readonly, nullable) NSString *bundleId;

/**
@discussion Duration of showing the banner.
*/
Expand Down Expand Up @@ -105,15 +112,23 @@ NS_ASSUME_NONNULL_BEGIN
- (void)onLoadWithInstreamAd:(MTRGInstreamAd *)instreamAd;

/**
@discussion Calls if there is no ad. Required.
@param reason Reason why there is no ad.
@discussion Calls if there is no ad.
@param error An error code/description.
@param instreamAd Current instream ad.
*/
- (void)onNoAdWithReason:(NSString *)reason instreamAd:(MTRGInstreamAd *)instreamAd;
- (void)onLoadFailedWithError:(NSError *)error instreamAd:(MTRGInstreamAd *)instreamAd NS_SWIFT_NAME(onLoadFailed(error:instreamAd:));

@optional

/**
@discussion Calls if there is no ad.
@param reason Reason why there is no ad.
@param instreamAd Current instream ad.
*/
- (void)onNoAdWithReason:(NSString *)reason instreamAd:(MTRGInstreamAd *)instreamAd __attribute__((deprecated("use onLoadFailed method instead.")));

/**
@discussion Calls on error for the ad.
Expand All @@ -130,6 +145,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)onBannerStart:(MTRGInstreamAdBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;

/**
@discussion Calls on banner's start.
@param banner Current instream ad video motion banner.
@param instreamAd Current instream ad.
*/
- (void)onVideoMotionBannerStart:(MTRGInstreamAdVideoMotionBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;

/**
@discussion Calls on banner's complete.
Expand All @@ -138,6 +161,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)onBannerComplete:(MTRGInstreamAdBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;

/**
@discussion Calls on banner's complete.
@param banner Current instream ad video motion banner.
@param instreamAd Current instream ad.
*/
- (void)onVideoMotionBannerComplete:(MTRGInstreamAdVideoMotionBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;

/**
@discussion Calls on banner's time left change.
Expand Down Expand Up @@ -185,6 +216,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)onBannerShouldClose:(MTRGInstreamAdBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;

/**
@discussion The method is called by clicking in the adChoices menu on certain items, such as "Complain", so the content should be hidden. You should call skip() method.
@param banner Current instream ad video motion banner.
@param instreamAd Current instream ad.
*/
- (void)onVideoMotionShouldClose:(MTRGInstreamAdVideoMotionBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;

@end

/**
Expand All @@ -202,6 +241,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(nonatomic, nullable) id <MTRGInstreamAdPlayer> player;

/**
@discussion Player for VideoMotion banner. Conforms MTRGVideoMotionPlayer protocol.
*/
@property(nonatomic, nullable) id <MTRGInstreamAdVideoMotionPlayer> videoMotionPlayer;

/**
@discussion Array of midpoint for the ad.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAdCompanionBanner.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Andrey Seredkin on 12.01.2022.
// Copyright © 2022 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAdPlayer.h
// myTargetSDK 5.17.2
// myTargetSDK 5.20.1
//
// Created by Anton Bulankin on 21.09.16.
// Copyright © 2016 Mail.ru. All rights reserved.
Expand Down
Loading

0 comments on commit 0846ca7

Please sign in to comment.