This commit is contained in:
xiaohui.wang 2022-05-25 10:51:19 +08:00
parent 994ee8acaf
commit e0e3837cf0
1014 changed files with 22458 additions and 0 deletions

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: 4cc185bda17d243b4a525e2d328f0e10
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 81f783e9a5e5548f99b74a13346daf07
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9aa7d2c7282ff44e199f10e8495491a6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,19 @@
//
// AnyThinkGDTAdapter.h
// AnyThinkGDTAdapter
//
// Created by Topon on 11/11/20.
// Copyright © 2020 AnyThink. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for AnyThinkGDTAdapter.
FOUNDATION_EXPORT double AnyThinkGDTAdapterVersionNumber;
//! Project version string for AnyThinkGDTAdapter.
FOUNDATION_EXPORT const unsigned char AnyThinkGDTAdapterVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AnyThinkGDTAdapter/PublicHeader.h>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b573a260c13814cfb85cdbdcbc9de5ab
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 09d2f5723e58b4100aa55963e99ddf57
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 296125ea5463b4bedb0aaa59f817a69c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
framework module AnyThinkGDTAdapter {
umbrella header "AnyThinkGDTAdapter.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3112e519450924557ad1329248299c7b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,48 @@
//
// GDTAdParams.h
// GDTMobApp
//
// Created by royqpwang on 2020/4/30.
// Copyright © 2020 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface GDTAdParams : NSObject
/**
* 广 2.0 广使 height = 0 width height > 0使 widthheight View
*/
@property (nonatomic, assign) CGSize adSize;
/**
* WiFi 广 NOloadAd
*/
@property (nonatomic, assign) BOOL videoAutoPlayOnWWAN;
/**
* 广 YESloadAd
*/
@property (nonatomic, assign) BOOL videoMuted;
/**
* NOloadAd
*/
@property (nonatomic, assign) BOOL detailPageVideoMuted;
/**
使 01: 2:minVideoDuration大于maxVideoDuration
*/
@property (nonatomic) NSInteger minVideoDuration;
/**
[5,180]
*/
@property (nonatomic) NSInteger maxVideoDuration;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: e675fe963679549f3995224c1eef4375
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
//
// GDTAdProtocol.h
// GDTMobApp
//
// Created by rowanzhang on 2021/12/23.
// Copyright © 2021 Tencent. All rights reserved.
//
#ifndef GDTAdProtocol_h
#define GDTAdProtocol_h
#define GDT_REQ_ID_KEY @"request_id"
@protocol GDTAdProtocol <NSObject>
@optional
- (NSDictionary *)extraInfo;
@end
@protocol GDTAdDelegate <NSObject>
@optional
/**
@params ad 广
*/
- (void)gdtAdComplainSuccess:(id)ad;
@end
#endif /* GDTAdProtocol_h */

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 5efcb74bba8c54a17ae83db937e007c6
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,20 @@
//
// GDTAdDebugSetting.h
// GDTMobSDK
//
// Created by Nancy on 2020/8/12.
// Copyright © 2020 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
使
*/
@interface GDTAdTestSetting : NSObject
@property (nonatomic, copy, nullable) NSString *playableUrl;//测试时使用的试玩广告地址
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 50968814b40074298a45508ed701d2e2
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,46 @@
//
// GDTBaseAdNetworkAdapterProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/7/25.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTAdProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@protocol GDTBaseAdNetworkAdapterProtocol <GDTAdProtocol>
+ (void)updateAppId:(NSString *)appId extStr:(NSString *)extStr;
- (nullable instancetype)initWithAdNetworkConnector:(id)connector
posId:(NSString *)posId;
@optional
- (NSInteger)eCPM;
- (NSString *)eCPMLevel;
- (BOOL)isContractAd;
//发送竞胜结果
- (void)sendWinNotification:(NSInteger)price;
//发送竞败结果
- (void)sendLossNotification:(NSInteger)price reason:(NSInteger)reason adnId:(NSString *__nullable)adnId;
//设置实际结算价
- (void)setBidECPM:(NSInteger)price;
@end
@protocol GDTBaseAdNetworkConnectorProtocol <NSObject>
@optional
- (void)adapter_adComplainSuccess:(id)adapter;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 6fc116f1b906b4ea6a4e5f8bd214ab99
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,77 @@
//
// GDTHybridAd.h
// GDTMobApp
//
// Created by royqpwang on 2019/3/8.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_OPTIONS(NSInteger, GDTHybridAdOptions) {
GDTHybridAdOptionRewardVideo = 1 << 0
};
@class GDTHybridAd;
@protocol GDTHybridAdDelegate <NSObject>
@optional
- (void)gdt_hybridAdDidPresented:(GDTHybridAd *)hybridAd;
- (void)gdt_hybridAdDidClose:(GDTHybridAd *)hybridAd;
- (void)gdt_hybridAdLoadURLSuccess:(GDTHybridAd *)hybridAd;
- (void)gdt_hybridAd:(GDTHybridAd *)hybridAd didFailWithError:(NSError *)error;
@end
@interface GDTHybridAd : NSObject
/**
UI showWithRootViewController:
*/
@property (nonatomic, copy) NSString *titleContent;
@property (nonatomic, strong) UIColor *titleColor;
@property (nonatomic, strong) UIFont *titleFont;
@property (nonatomic, strong) UIColor *navigationBarColor;
@property (nonatomic, strong) UIColor *navigationBarBottomColor;
@property (nonatomic, strong) UIColor *separatorLineColor;
@property (nonatomic, strong) UIImage *closeImage; // 如需自定义关闭图片,请按 44*44 大小设置
@property (nonatomic, strong) UIImage *backImage; // 如需自定义后退图片,请按 44*44 大小设置
/**
*/
@property (nonatomic, weak) id <GDTHybridAdDelegate> delegate;
/**
@param adOptions - 广 Options GDTHybridAdOptionRewardVideo
@return GDTHybrid
*/
- (instancetype)initWithType:(GDTHybridAdOptions)adOptions;
/**
广 iOS8.1
@param url X URL
*/
- (void)loadWithUrl:(NSString *)url;
/**
@param rootViewController present VC
*/
- (void)showWithRootViewController:(UIViewController *)rootViewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 6ef40de55a76b4d3eaba6a264c9f538a
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
//
// GDTLoadAdParams.h
// GDTMobSDK
//
// Created by vicluo(罗翔) on 2019/4/26.
// Copyright © 2019年 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTSDKDefines.h"
@interface GDTLoadAdParams : NSObject
//登陆账号类型:QQ or weixin
@property (nonatomic, assign) GDTSDKLoginType loginType;
//登陆账号体系分配的appID如QQ分配的appID或是微信分配的appID
@property (nonatomic, copy) NSString *loginAppId;
//登陆账号体系分配的openID如QQ分配的openId或是微信分配的openId
@property (nonatomic, copy) NSString *loginOpenId;
//透传字段key跟value都由调用方自行指定
@property (nonatomic, strong) NSDictionary *dictionary;
//透传字段非qq小游戏
@property (nonatomic, copy) NSDictionary *devExtra;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: bb389d0d8b09847b7bc6ae810cb219ad
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
//
// GDTLogoView.h
// GDTMobSDK
//
// Created by nimomeng on 2018/10/10.
// Copyright © 2018 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
//logo默认宽度
extern CGFloat const kGDTLogoImageViewDefaultWidth;
//logo默认高度
extern CGFloat const kGDTLogoImageViewDefaultHeight;
@interface GDTLogoView : UIImageView
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 8ef39875e823947fb9c5bd3a79f462c8
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,90 @@
//
// GDTMediaView.h
// GDTMobSDK
//
// Created by nimomeng on 2018/10/10.
// Copyright © 2018 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GDTSDKDefines.h"
@class GDTMediaView;
@protocol GDTMediaViewDelegate <NSObject>
@optional
/**
MediaView GDTVideoConfig userControlEnable YES mediaView
@param mediaView
*/
- (void)gdt_mediaViewDidTapped:(GDTMediaView *)mediaView;
/**
@param mediaView
*/
- (void)gdt_mediaViewDidPlayFinished:(GDTMediaView *)mediaView;
@end
@interface GDTMediaView : UIView
/**
GDTMediaView
*/
@property (nonatomic, weak) id <GDTMediaViewDelegate> delegate;
/**
* 广 ms
*/
- (CGFloat)videoDuration;
/**
* 广 ms
*/
- (CGFloat)videoPlayTime;
/**
*/
- (void)play;
/**
pause 广 play
*/
- (void)pause;
/**
*/
- (void)stop;
/**
@param flag
*/
- (void)muteEnable:(BOOL)flag;
/**
@param image
@param size 44 * 44
*/
- (void)setPlayButtonImage:(UIImage *)image size:(CGSize)size;
#pragma mark - DEPRECATED
/**
WWAN下自动播放视频 NO使 GDTVideoConfig
*/
@property (nonatomic, assign) BOOL videoAutoPlayOnWWAN GDT_DEPRECATED_ATTRIBUTE;
/**
广 YES使 GDTVideoConfig
*/
@property (nonatomic, assign) BOOL videoMuted GDT_DEPRECATED_ATTRIBUTE;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: de94be0dd0d204bff99650c20e73cc26
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,195 @@
//
// GDTNativeExpressAd.h
// GDTMobApp
//
// Created by michaelxing on 2017/4/17.
// Copyright © 2017年 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GDTSDKDefines.h"
#import "GDTAdProtocol.h"
@class GDTNativeExpressAdView;
@class GDTNativeExpressAd;
@protocol GDTNativeExpressAdDelegete <GDTAdDelegate>
@optional
/**
* 广
*/
- (void)nativeExpressAdSuccessToLoad:(GDTNativeExpressAd *)nativeExpressAd views:(NSArray<__kindof GDTNativeExpressAdView *> *)views;
/**
* 广
*/
- (void)nativeExpressAdFailToLoad:(GDTNativeExpressAd *)nativeExpressAd error:(NSError *)error;
/**
* 广, nativeExpressAdView.size.height size.width
*/
- (void)nativeExpressAdViewRenderSuccess:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广
*/
- (void)nativeExpressAdViewRenderFail:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广
*/
- (void)nativeExpressAdViewExposure:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广
*/
- (void)nativeExpressAdViewClicked:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广
*/
- (void)nativeExpressAdViewClosed:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广广
*/
- (void)nativeExpressAdViewWillPresentScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广广
*/
- (void)nativeExpressAdViewDidPresentScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广
*/
- (void)nativeExpressAdViewWillDismissScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广
*/
- (void)nativeExpressAdViewDidDismissScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* :广
*/
- (void)nativeExpressAdViewApplicationWillEnterBackground:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* 广 player
*/
- (void)nativeExpressAdView:(GDTNativeExpressAdView *)nativeExpressAdView playerStatusChanged:(GDTMediaPlayerStatus)status;
/**
* WillPresent
*/
- (void)nativeExpressAdViewWillPresentVideoVC:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* DidPresent
*/
- (void)nativeExpressAdViewDidPresentVideoVC:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* WillDismiss
*/
- (void)nativeExpressAdViewWillDismissVideoVC:(GDTNativeExpressAdView *)nativeExpressAdView;
/**
* DidDismiss
*/
- (void)nativeExpressAdViewDidDismissVideoVC:(GDTNativeExpressAdView *)nativeExpressAdView;
@end
@interface GDTNativeExpressAd : NSObject
/**
*
*/
@property (nonatomic, weak) id<GDTNativeExpressAdDelegete> delegate;
/**
* WiFi NOloadAd
*/
@property (nonatomic, assign) BOOL videoAutoPlayOnWWAN;
/**
* YESloadAd
*/
@property (nonatomic, assign) BOOL videoMuted;
/**
* NOloadAd
*/
@property (nonatomic, assign) BOOL detailPageVideoMuted;
/**
使 01: 2:minVideoDuration大于maxVideoDuration
*/
@property (nonatomic) NSInteger minVideoDuration;
/**
[5,180]
*/
@property (nonatomic) NSInteger maxVideoDuration;
@property (nonatomic, readonly) NSString *placementId;
/**
*
* placementId - 广 ID
* adSize - 广
*/
- (instancetype)initWithPlacementId:(NSString *)placementId adSize:(CGSize)size;
/**
* , S2S bidding token
* @param placementId 广 ID
* @param token Server Bidding token
*/
- (instancetype)initWithPlacementId:(NSString *)placementId token:(NSString *)token adSize:(CGSize)size;
/**
* S2S bidding , 广 show
* @param eCPM - , 广
* .
*/
- (void)setBidECPM:(NSInteger)eCPM;
/**
* 广
* @param count 广
*/
- (void)loadAd:(NSInteger)count;
/**
* , 广 show
* @param price - (: )
*/
- (void)sendWinNotificationWithPrice:(NSInteger)price;
/**
*
* @param price - (: )
* @param reason - 广
* @param adnID - adnID
*/
- (void)sendLossNotificationWithWinnerPrice:(NSInteger)price lossReason:(GDTAdBiddingLossReason)reason winnerAdnID:(NSString *)adnID;
/**
广
@return 使广使
*/
- (NSString *)adNetworkName;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 622e7f80f539b463092a4c75bdebcfa3
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,29 @@
//
// GDTNativeExpressAdNetworkAdapterProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/11/27.
// Copyright © 2019 Tencent. All rights reserved.
//
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTNativeExpressAdNetworkConnectorProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTNativeExpressAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
- (void)loadAdWithCount:(NSInteger)count;
@optional
@property (nonatomic, assign) BOOL videoAutoPlayOnWWAN;
@property (nonatomic, assign) BOOL videoMuted;
@property (nonatomic, assign) BOOL detailPageVideoMuted;
@property (nonatomic, assign) NSInteger minVideoDuration;
@property (nonatomic, assign) NSInteger maxVideoDuration;
@property (nonatomic, assign) CGSize adSize;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: c276b31a3375f411c9fdcfd3ea54e065
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,118 @@
//
// GDTNativeExpressAdNetworkConnectorProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/11/27.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTSDKDefines.h"
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTNativeExpressAdNetworkAdapterProtocol;
@protocol GDTNativeExpressAdViewAdapterProtocol;
@protocol GDTNativeExpressAdNetworkConnectorProtocol <GDTBaseAdNetworkConnectorProtocol>
/**
* 广
*/
- (void)adapter_nativeExpressAdSuccessToLoad:(id<GDTNativeExpressAdNetworkAdapterProtocol>)adapter
viewAdapters:(NSArray<id<GDTNativeExpressAdViewAdapterProtocol>> *)
viewAdapters;
/**
* 广
*/
- (void)adapter_nativeExpressAdFailToLoad:(id<GDTNativeExpressAdNetworkAdapterProtocol>)adapter
error:(NSError *)error;
/**
* 广, nativeExpressAdView.size.height size.width
*/
- (void)adapter_nativeExpressAdViewAdapterRenderSuccess:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广
*/
- (void)adapter_nativeExpressAdViewAdapterRenderFail:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广
*/
- (void)adapter_nativeExpressAdViewAdapterExposure:(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广
*/
- (void)adapter_nativeExpressAdViewAdapterClicked:(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广
*/
- (void)adapter_nativeExpressAdViewAdapterClosed:(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广广
*/
- (void)adapter_nativeExpressAdViewAdapterWillPresentScreen:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广广
*/
- (void)adapter_nativeExpressAdViewAdapterDidPresentScreen:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广
*/
- (void)adapter_nativeExpressAdViewAdapterWillDissmissScreen:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广
*/
- (void)adapter_nativeExpressAdViewAdapterDidDissmissScreen:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* :广
*/
- (void)adapter_nativeExpressAdViewAdapterApplicationWillEnterBackground:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* 广 player
*/
- (void)adapter_nativeExpressAdViewAdapter:(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter
playerStatusChanged:(GDTMediaPlayerStatus)status;
/**
* WillPresent
*/
- (void)adapter_nativeExpressAdViewAdapterWillPresentVideoViewController:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* DidPresent
*/
- (void)adapter_nativeExpressAdViewAdapterDidPresentVideoViewController:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* WillDismiss
*/
- (void)adapter_nativeExpressAdViewAdapterWillDismissVideoViewController:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
/**
* DidDismiss
*/
- (void)adapter_nativeExpressAdViewAdapterDidDismissVideoViewController:
(id<GDTNativeExpressAdViewAdapterProtocol>)viewAdapter;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: b2faff8ac004d49bc94e50abb0f4f836
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,67 @@
//
// GDTNativeExpressAdView.h
// GDTMobApp
//
// Created by michaelxing on 2017/4/14.
// Copyright © 2017年 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GDTAdProtocol.h"
@interface GDTNativeExpressAdView : UIView <GDTAdProtocol>
/**
*
*/
@property (nonatomic, assign, readonly) BOOL isReady;
/**
* 广
*/
@property (nonatomic, assign, readonly) BOOL isVideoAd;
/**
* viewControllerForPresentingModalView
* []ViewControllerViewController
*/
@property (nonatomic, weak) UIViewController *controller;
/**
* 广NOrender之前判断NO时render失败
* a.广
*/
@property (nonatomic, readonly) BOOL isAdValid;
/**
*[]
*广
*/
- (void)render;
/**
* 广 ms
*/
- (CGFloat)videoDuration;
/**
* 广 ms
*/
- (CGFloat)videoPlayTime;
/**
广eCPM
@return 0-1
*/
- (NSInteger)eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
- (NSString *)eCPMLevel;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 0d3b659c41ea74a0ea60caccce8fb665
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,42 @@
//
// GDTNativeExpressAdViewAdapterProtocol.h
// GDTMobApp
//
// Created by rowanzhang on 2021/8/16.
// Copyright © 2021 Tencent. All rights reserved.
//
#ifndef GDTNativeExpressAdViewAdapterProtocol_h
#define GDTNativeExpressAdViewAdapterProtocol_h
@class GDTNativeExpressAdView;
@protocol GDTAdProtocol;
@protocol GDTNativeExpressAdViewAdapterProtocol <GDTAdProtocol>
@property (nonatomic, weak) GDTNativeExpressAdView *gdtExpressAdView;
@property (nonatomic, assign, readonly) BOOL isReady;
@property (nonatomic, assign, readonly) BOOL isVideoAd;
@property (nonatomic, weak) UIViewController *controller;
- (BOOL)isAdValid;
- (UIView *)adView;
- (void)render;
- (CGFloat)videoDuration;
- (CGFloat)videoPlayTime;
- (NSInteger)eCPM;
- (NSString *)eCPMLevel;
//发送竞胜结果
- (void)sendWinNotification:(NSInteger)price;
//发送竞败结果
- (void)sendLossNotification:(NSInteger)price reason:(NSInteger)reason adnId:(NSString *)adnId;
//设置实际结算价
- (void)setBidECPM:(NSInteger)price;
@end
#endif /* GDTNativeExpressAdViewAdapterProtocol_h */

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 524c4b6c56c474c5fb91a4260c9f41eb
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,152 @@
//
// GDTNativeExpressProAdView.h
// GDTMobApp
//
// Created by royqpwang on 2020/4/28.
// Copyright © 2020 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GDTAdParams.h"
#import "GDTSDKDefines.h"
#import "GDTAdProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@class GDTNativeExpressProAdView;
@protocol GDTNativeExpressProAdViewDelegate <NSObject>
@optional
/**
* 2.0广, nativeExpressAdView.size.height size.width
*/
- (void)gdt_NativeExpressProAdViewRenderSuccess:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 2.0广
*/
- (void)gdt_NativeExpressProAdViewRenderFail:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 2.0广
*/
- (void)gdt_NativeExpressProAdViewExposure:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 2.0广
*/
- (void)gdt_NativeExpressProAdViewClicked:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 2.0广
*/
- (void)gdt_NativeExpressProAdViewClosed:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 2.0广广
*/
- (void)gdt_NativeExpressProAdViewWillPresentScreen:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 2.0广广
*/
- (void)gdt_NativeExpressProAdViewDidPresentScreen:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 广
*/
- (void)gdt_NativeExpressProAdViewWillDissmissScreen:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 广
*/
- (void)gdt_NativeExpressProAdViewDidDissmissScreen:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* WillPresent
*/
- (void)gdt_NativeExpressProAdViewWillPresentVideoVC:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* DidPresent
*/
- (void)gdt_NativeExpressProAdViewDidPresentVideoVC:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* WillDismiss
*/
- (void)gdt_NativeExpressProAdViewWillDismissVideoVC:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* DidDismiss
*/
- (void)gdt_NativeExpressProAdViewDidDismissVideoVC:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* :广
*/
- (void)gdt_NativeExpressProAdViewApplicationWillEnterBackground:(GDTNativeExpressProAdView *)nativeExpressProAdView;
/**
* 广 player
*/
- (void)gdt_NativeExpressProAdView:(GDTNativeExpressProAdView *)nativeExpressProAdView playerStatusChanged:(GDTMediaPlayerStatus)status;
- (void)gdt_NativeExpressProAdViewVideoDidFinished:(GDTNativeExpressProAdView *)nativeExpressProAdView;
@end
@interface GDTNativeExpressProAdView : UIView <GDTAdProtocol>
@property (nonatomic, weak) id <GDTNativeExpressProAdViewDelegate> delegate;
/**
*
*/
@property (nonatomic, assign, readonly) BOOL isReady;
/**
* 广
*/
@property (nonatomic, assign, readonly) BOOL isVideoAd;
/*
* viewControllerForPresentingModalView
* []ViewControllerViewController
*/
@property (nonatomic, weak) UIViewController *controller;
/**
*[]
*2.0广
*/
- (void)render;
/**
* 广 ms
*/
- (CGFloat)videoDuration;
/**
* 广 ms
*/
- (CGFloat)videoPlayTime;
/**
广eCPM
@return 0-1
*/
- (NSInteger)eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
- (NSString *)eCPMLevel;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 2342e70f08c9f45b88eaeafc72b1fae4
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,199 @@
//
// GDTRewardVideoAd.h
// GDTMobSDK
//
// Created by royqpwang on 2018/9/1.
// Copyright © 2018年 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GDTSDKDefines.h"
#import "GDTLoadAdParams.h"
#import "GDTServerSideVerificationOptions.h"
#import "GDTAdProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@protocol GDTRewardedVideoAdDelegate;
@interface GDTRewardVideoAd : NSObject <GDTAdProtocol>
/**
* 广NO广
* a.广
* b.广
* c.广
*/
@property (nonatomic, getter=isAdValid, readonly) BOOL adValid;
@property (nonatomic) BOOL videoMuted;
@property (nonatomic, assign, readonly) NSInteger expiredTimestamp;
@property (nonatomic, weak) id <GDTRewardedVideoAdDelegate> delegate;
@property (nonatomic, readonly) NSString *placementId;
@property (nonatomic, strong) GDTLoadAdParams *loadAdParams;
@property (nonatomic, strong) GDTServerSideVerificationOptions *serverSideVerificationOptions;
/**
@param placementId - 广 ID
@return GDTRewardVideoAd
*/
- (instancetype)initWithPlacementId:(NSString *)placementId;
/**
* , S2S bidding token
* @param placementId 广 ID
* @param token Server Bidding token
*/
- (instancetype)initWithPlacementId:(NSString *)placementId token:(NSString *)token;
/**
* S2S bidding , 广 show
* @param eCPM - , 广
* .
*/
- (void)setBidECPM:(NSInteger)eCPM;
/**
广 iOS8.1
*/
- (void)loadAd;
/**
广
@param rootViewController present VC
@return
*/
- (BOOL)showAdFromRootViewController:(UIViewController *)rootViewController;
/**
* , 广 show
* @param price - (: )
*/
- (void)sendWinNotificationWithPrice:(NSInteger)price;
/**
*
* @param price - (: )
* @param reason - 广
* @param adnID - adnID
*/
- (void)sendLossNotificationWithWinnerPrice:(NSInteger)price lossReason:(GDTAdBiddingLossReason)reason winnerAdnID:(NSString *)adnID;
/**
广eCPM
@return 0-1
*/
- (NSInteger)eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
- (NSString *)eCPMLevel;
/**
广
@return 使广
*/
- (NSString *)adNetworkName;
/**
* 广 GDTRewardAdTypeVideo时 ms广GDTRewardAdTypePage时0
*/
- (CGFloat)videoDuration;
/**
* 广gdt_rewardVideoAdDidLoad回调后调用
*/
- (GDTRewardAdType)rewardAdType;
@end
@protocol GDTRewardedVideoAdDelegate <GDTAdDelegate>
@optional
/**
广
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdDidLoad:(GDTRewardVideoAd *)rewardedVideoAd;
/**
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdVideoDidLoad:(GDTRewardVideoAd *)rewardedVideoAd;
/**
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdWillVisible:(GDTRewardVideoAd *)rewardedVideoAd;
/**
广
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdDidExposed:(GDTRewardVideoAd *)rewardedVideoAd;
/**
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdDidClose:(GDTRewardVideoAd *)rewardedVideoAd;
/**
广
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdDidClicked:(GDTRewardVideoAd *)rewardedVideoAd;
/**
广
@param rewardedVideoAd GDTRewardVideoAd
@param error
*/
- (void)gdt_rewardVideoAd:(GDTRewardVideoAd *)rewardedVideoAd didFailWithError:(NSError *)error;
/**
广
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdDidRewardEffective:(GDTRewardVideoAd *)rewardedVideoAd GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,请使用 gdt_rewardVideoAdDidRewardEffective:info:");
/**
广
@param rewardedVideoAd GDTRewardVideoAd
@param info 广 @{@"GDT_TRANS_ID":@"930f1fc8ac59983bbdf4548ee40ac353"}, @GDT_TRANS_ID广id
*/
- (void)gdt_rewardVideoAdDidRewardEffective:(GDTRewardVideoAd *)rewardedVideoAd info:(NSDictionary *)info;
/**
广
@param rewardedVideoAd GDTRewardVideoAd
*/
- (void)gdt_rewardVideoAdDidPlayFinish:(GDTRewardVideoAd *)rewardedVideoAd;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 3791027229d344136a1c3d7c4d55eb49
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,38 @@
//
// GDTRewardVideoAdNetworkAdapterProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/6/19.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTBaseAdNetworkAdapterProtocol.h"
#import "GDTServerSideVerificationOptions.h"
@protocol GDTRewardVideoAdNetworkConnectorProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTRewardVideoAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
- (void)loadAd;
@optional
@property (nonatomic, strong) GDTServerSideVerificationOptions *serverSideVerificationOptions;
@property (nonatomic) BOOL videoMuted;
- (BOOL)showAdFromRootViewController:(UIViewController *)viewController;
- (BOOL)isAdValid;
- (NSInteger)expiredTimestamp;
- (CGFloat)videoDuration;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: f9ec5162b48b84a939320c8acf862987
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,72 @@
//
// GDTRewardVideoAdNetworkConnectorProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/6/19.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTRewardVideoAdNetworkAdapterProtocol;
@protocol GDTRewardVideoAdNetworkConnectorProtocol <GDTBaseAdNetworkConnectorProtocol>
- (void)adapter_rewardVideoAdDidLoad:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
/**
@param adapter
*/
- (void)adapter_rewardVideoAdVideoDidLoad:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
/**
@param adapter
*/
- (void)adapter_rewardVideoAdWillVisible:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
/**
广
@param adapter
*/
- (void)adapter_rewardVideoAdDidExposed:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
/**
@param adapter
*/
- (void)adapter_rewardVideoAdDidClose:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
/**
广
@param adapter
*/
- (void)adapter_rewardVideoAdDidClicked:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
/**
广
@param adapter
@param error
*/
- (void)adapter_rewardVideoAd:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter didFailWithError:(NSError *)error;
/**
广
@param adapter
*/
- (void)adapter_rewardVideoAdDidRewardEffective:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
- (void)adapter_rewardVideoAdDidPlayFinish:(id<GDTRewardVideoAdNetworkAdapterProtocol>)adapter;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: cd054ad7466834ce2850990ba9282bc7
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,119 @@
//
// GDTSDKConfig.h
// GDTMobApp
//
// Created by GaoChao on 14/8/25.
// Copyright (c) 2014年 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTSDKDefines.h"
#import "GDTAdTestSetting.h"
@interface GDTSDKConfig : NSObject
/**
SDK app
@param appId - ID
@return
*/
+ (BOOL)registerAppId:(NSString *)appId;
/**
* SDK
*/
+ (void)setSdkSrc:(NSString *)sdkSrc;
/**
* SDK流量来源
*/
+ (NSString *)sdkSrc;
/**
* SDK
*/
+ (NSString *)sdkVersion;
/**
*
1
2
3广
4
5
6oppo
7vivo
8
9
10
11
12
13
14AppStore
999
*/
+ (void)setChannel:(NSInteger)channel;
+ (void)setSDKType:(NSInteger)type;
/**
使SDK内部对AVAudioSession设置的category及options使使SDK内部不做任何处理广
SDK设置的category为AVAudioSessionCategoryAmbientoptions为AVAudioSessionCategoryOptionDuckOthers
*/
+ (void)enableDefaultAudioSessionSetting:(BOOL)enabled;
+ (GDTAdTestSetting *)debugSetting;
/**
*/
+ (void)setDebugSetting:(GDTAdTestSetting *)debugSetting;
+ (void)forbiddenIDFA:(BOOL)forbiddened;
/**
buyerId Server Bidding token, , 使
*/
+ (NSString *)getBuyerIdWithContext:(NSDictionary *)info;
/**
Server Bidding SDK侧相关请求参数信息
*/
+ (NSString *)getSDKInfoWithPlacementId:(NSString *)placementId;
/**
@param state 1
*/
+ (void)setPersonalizedState:(NSInteger)state;
/**
@param extraUserDictionary,
key有
@"lng"@116.67765
@"lat", @"39.365678"
@"loc_time"unix时间戳@"1639450944"
@"shakable"01
*/
+ (void)setExtraUserData:(NSDictionary <NSString *, NSString *> *)extraUserDictionary;
/**
@param mediaExtDictionary,
key有
@"user_id"idQQ号
@param overrideOld, mediaExtDictionary是否覆盖之前设置的mediaExtDictionary
*/
+ (void)setMediaExtData:(NSDictionary <NSString *, NSString *> *)mediaExtDictionary overrideOldData:(BOOL)overrideOld;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 8bcafec089db84f4d83a196515a5d6bc
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,93 @@
//
// GDTSDKDefines.h
// GDTMobApp
//
// Created by royqpwang on 2017/11/6.
// Copyright © 2017年 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#if defined(__has_attribute)
#if __has_attribute(deprecated)
#define GDT_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
#define GDT_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
#else
#define GDT_DEPRECATED_MSG_ATTRIBUTE(s)
#define GDT_DEPRECATED_ATTRIBUTE
#endif
#else
#define GDT_DEPRECATED_MSG_ATTRIBUTE(s)
#define GDT_DEPRECATED_ATTRIBUTE
#endif
#define GDTScreenHeight ([UIScreen mainScreen].bounds.size.height)
#define GDTScreenWidth ([UIScreen mainScreen].bounds.size.width)
#define GDTPerformSelector(target,selector,type,defualtValue) \
({\
type result = defualtValue;\
if ([target respondsToSelector:selector]) {\
result = (type)[target performSelector:selector];\
}\
(result);\
})
/**
*
*
*
*
*/
typedef NS_ENUM(NSUInteger, GDTMediaPlayerStatus) {
GDTMediaPlayerStatusInitial = 0, // 初始状态
GDTMediaPlayerStatusLoading = 1, // 加载中
GDTMediaPlayerStatusStarted = 2, // 开始播放
GDTMediaPlayerStatusPaused = 3, // 用户行为导致暂停
GDTMediaPlayerStatusError = 4, // 播放出错
GDTMediaPlayerStatusStoped = 5, // 播放停止
GDTMediaPlayerStatusWillStart = 10, // 即将播放
};
typedef enum GDTSDKLoginType {
GDTSDKLoginTypeUnknow = 0,
GDTSDKLoginTypeWeiXin = 1, //微信账号
GDTSDKLoginTypeQQ = 2, //QQ账号
} GDTSDKLoginType;
typedef NS_ENUM(NSUInteger, GDTVideoPlayPolicy) {
GDTVideoPlayPolicyUnknow = 0, // 默认值,未设置
GDTVideoPlayPolicyAuto = 1, // 用户角度看起来是自动播放
GDTVideoPlayPolicyManual = 2 // 用户角度看起来是手动播放或点击后播放
};
typedef NS_ENUM(NSUInteger, GDTVideoRenderType) {
GDTVideoRenderTypeUnknow = 0,
GDTVideoRenderTypeSDK = 1,
GDTVideoRenderTypeDeveloper = 2
};
typedef NS_ENUM (NSUInteger, GDTRewardAdType) {
GDTRewardAdTypeVideo = 0,//激励视频
GDTRewardAdTypePage = 1 //激励浏览
};
static inline BOOL isIPhoneXSeries() {
if (@available(iOS 11.0, *)) {
UIWindow *mainWindow = [[[UIApplication sharedApplication] delegate] window];
if (mainWindow.safeAreaInsets.bottom > 0.0) {
return YES;
}
}
return NO;
}
typedef NS_ENUM(NSInteger, GDTAdBiddingLossReason) {
GDTAdBiddingLossReasonLowPrice = 1, // 竞争力不足
GDTAdBiddingLossReasonLoadTimeout = 2, // 返回超时
GDTAdBiddingLossReasonNoAd = 3, // 无广告回包
GDTAdBiddingLossReasonAdDataError = 4, // 回包不合法
GDTAdBiddingLossReasonOther = 10001 // 其他
};

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 24a5cd4a48c4844ae86b40dbbd83fc7d
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
//
// GDTServerSideVerificationOptions.h
// GDTMobApp
//
// Created by Nancy on 2020/12/18.
// Copyright © 2020 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface GDTServerSideVerificationOptions : NSObject
//用户的userid,可选
@property(nonatomic, copy, nullable) NSString *userIdentifier;
//服务器端验证回调中包含的可选自定义奖励字符串
@property(nonatomic, copy, nullable) NSString *customRewardString;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: f3999dd3ba070419dbecc472a9b8773e
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,264 @@
//
// GDTSplashAd.h
// GDTMobApp
//
// 广点通开屏广告目前只支持iPhone设备上展示垂直方向的开屏广告
// Created by GaoChao on 15/8/20.
// Copyright © 2015年 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GDTSDKDefines.h"
#import "GDTSplashZoomOutView.h"
#import "GDTAdProtocol.h"
@class GDTSplashAd;
@protocol GDTSplashAdDelegate <GDTAdDelegate>
@optional
/**
* 广
*/
- (void)splashAdSuccessPresentScreen:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdDidLoad:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdFailToPresent:(GDTSplashAd *)splashAd withError:(NSError *)error;
/**
*
* :
*/
- (void)splashAdApplicationWillEnterBackground:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdExposured:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdClicked:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdWillClosed:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdClosed:(GDTSplashAd *)splashAd;
/**
* 广广
*/
- (void)splashAdWillPresentFullScreenModal:(GDTSplashAd *)splashAd;
/**
* 广广
*/
- (void)splashAdDidPresentFullScreenModal:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdWillDismissFullScreenModal:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdDidDismissFullScreenModal:(GDTSplashAd *)splashAd;
/**
* 广
*/
- (void)splashAdLifeTime:(NSUInteger)time;
@end
@interface GDTSplashAd : NSObject <GDTAdProtocol>
/**
*
*/
@property (nonatomic, weak) id<GDTSplashAdDelegate> delegate;
/**
* 广5
* 广loadAd方法以后会立即展示backgroundImage广
* 广广
*/
@property (nonatomic, assign) CGFloat fetchDelay;
/**
* 广
*
*/
@property (nonatomic, strong) UIImage *backgroundImage;
/**
* 广
*
*/
@property (nonatomic, copy) UIColor *backgroundColor;
/**
*
*/
@property (nonatomic, assign) CGPoint skipButtonCenter;
/**
* V+
*/
@property (nonatomic, assign) BOOL needZoomOut;
/**
* 广V+splshZoomOutView有值
* splashZoomOutView推荐尺寸为9:16126*224
*/
@property (nonatomic, strong, readonly) GDTSplashZoomOutView *splashZoomOutView;
/**
广
@return 使广使
*/
- (NSString *)adNetworkName;
/**
广eCPM
@return 0-1
*/
- (NSInteger)eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
- (NSString *)eCPMLevel;
/**
*
* placementId - 广 ID
*/
- (instancetype)initWithPlacementId:(NSString *)placementId;
/**
* , S2S bidding token
* @param placementId 广 ID
* @param token Server Bidding token
*/
- (instancetype)initWithPlacementId:(NSString *)placementId token:(NSString *)token;
/**
* S2S bidding , 广 show
* @param eCPM - , 广
* .
*/
- (void)setBidECPM:(NSInteger)eCPM;
/**
广
@param placementId 广ID
*/
- (void)preloadSplashOrderWithPlacementId:(NSString *)placementId;
#pragma mark - Parallel method
/**
* 广
* showAdInWindow前时需判断下
* @return 广&&&&YESNO
*/
- (BOOL)isAdValid;
/**
* 广
* 广广splashAdDidLoad方法splashAdFailToPresent方法
*/
- (void)loadAd;
/**
* 广isAdValid方法判断广告素材是否有效
* 广splashAdSuccessPresentScreen方法splashAdFailToPresent方法
*/
- (void)showAdInWindow:(UIWindow *)window withBottomView:(UIView *)bottomView skipView:(UIView *)skipView;
/**
* 广
* 广广splashAdDidLoad方法splashAdFailToPresent方法
*/
- (void)loadFullScreenAd;
/**
* 广isAdValid方法判断广告素材是否有效
* 广splashAdSuccessPresentScreen方法splashAdFailToPresent方法
*/
- (void)showFullScreenAdInWindow:(UIWindow *)window withLogoImage:(UIImage *)logoImage skipView:(UIView *)skipView;
/**
* , 广 show
* @param price - (: )
*/
- (void)sendWinNotificationWithPrice:(NSInteger)price;
/**
*
* @param price - (: )
* @param reason - 广
* @param adnID - adnID
*/
- (void)sendLossNotificationWithWinnerPrice:(NSInteger)price lossReason:(GDTAdBiddingLossReason)reason winnerAdnID:(NSString *)adnID;
/**
* 广Window中
* []广,广Window参数中
* : Splash广告只支持竖屏
* @param window
*/
- (void)loadAdAndShowInWindow:(UIWindow *)window GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃请分别使用loadAd 和 showAdInWindow:接口");
/**
* 广Window中, Logo页面或是自定义View
* []广,广Window的上半部bottomView
* 1.bottomView需设置好宽高 25%2.Splash广告只支持竖屏
* @param window
* bottomView ViewView中设置应用Logo
*/
- (void)loadAdAndShowInWindow:(UIWindow *)window withBottomView:(UIView *)bottomView GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃请分别使用loadAd 和 showAdInWindow:接口");
/**
* 广Window中, Logo页面或是自定义View,skipView是自定义的
* []广,广Window的上半部bottomView
* 1.bottomView需设置好宽高 25%2.Splash广告只支持竖屏
* skipView
* @param window
* bottomView ViewView中设置应用Logo
skipView View.
*/
- (void)loadAdAndShowInWindow:(UIWindow *)window withBottomView:(UIView *)bottomView skipView:(UIView *)skipView GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃请分别使用loadAd 和 showAdInWindow:接口");
/**
* 广Window中, Logo页面或是自定义View,skipView是自定义的
* []广,广, logo
* skipView
* @param window
* logoImage logo
skipView View.
*/
- (void)loadAdAndShowFullScreenInWindow:(UIWindow *)window withLogoImage:(UIImage *)logoImage skipView:(UIView *)skipView GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃请分别使用loadFullScreenAd 和 showFullScreenAdInWindow:接口");
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: c5d9b984289d34b358da91811bb24e49
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,38 @@
//
// GDTSplashAdNetworkAdapterProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/7/27.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTBaseAdNetworkAdapterProtocol.h"
#import "GDTSplashZoomOutView.h"
@protocol GDTSplashAdNetworkConnectorProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTSplashAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
@property (nonatomic, assign) NSInteger fetchDelay;
@property (nonatomic, strong) UIImage *backgroundImage;
@property (nonatomic, copy) UIColor *backgroundColor;
@property (nonatomic, assign) CGPoint skipButtonCenter;
@property (nonatomic, assign) BOOL needZoomOut;
@property (nonatomic, strong, readonly, nullable) GDTSplashZoomOutView *splashZoomOutView;
@property (nonatomic, assign) BOOL shouldLoadFullscreenAd;
- (BOOL)isAdValid;
- (void)loadAd;
- (void)showAdInWindow:(UIWindow *)window withBottomView:(UIView *_Nullable)bottomView skipView:(UIView *)skipView;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 15e53f598267c46f4ac772dd56298c96
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,88 @@
//
// GDTSplashAdNetworkConnectorProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/7/27.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTAdProtocol.h"
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTSplashAdNetworkAdapterProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTSplashAdNetworkConnectorProtocol <GDTBaseAdNetworkConnectorProtocol>
@optional
/**
* 广
*/
- (void)adapter_splashAdSuccessPresentScreen:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdDidLoad:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdFailToPresent:(id <GDTSplashAdNetworkAdapterProtocol>)adapter withError:(NSError * _Nullable)error;
/**
*
* :
*/
- (void)adapter_splashAdApplicationWillEnterBackground:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdExposured:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdClicked:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdWillClosed:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdClosed:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广广
*/
- (void)adapter_splashAdWillPresentFullScreenModal:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广广
*/
- (void)adapter_splashAdDidPresentFullScreenModal:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdWillDismissFullScreenModal:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAdDidDismissFullScreenModal:(id <GDTSplashAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_splashAd:(id <GDTSplashAdNetworkAdapterProtocol>)adapter lifeTime:(NSUInteger)time;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 472cfe7061f44460497a8086bdbdd34c
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
//
// GDTSplashZoomOutView.h
// GDTMobApp
//
// Created by nimomeng on 2020/11/11.
// Copyright © 2020 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class GDTSplashZoomOutView;
@protocol GDTSplashZoomOutViewDelegate <NSObject>
@optional
- (void)splashZoomOutViewDidClick:(GDTSplashZoomOutView *)splashZoomOutView;
- (void)splashZoomOutViewAdDidClose:(GDTSplashZoomOutView *)splashZoomOutView;
- (void)splashZoomOutViewAdVideoFinished:(GDTSplashZoomOutView *)splashZoomOutView;
- (void)splashZoomOutViewAdDidPresentFullScreenModal:(GDTSplashZoomOutView *)splashZoomOutView;
- (void)splashZoomOutViewAdDidDismissFullScreenModal:(GDTSplashZoomOutView *)splashZoomOutView;
@end
@interface GDTSplashZoomOutView : UIView
@property (nonatomic, weak) UIViewController *rootViewController;
@property (nonatomic, weak) id<GDTSplashZoomOutViewDelegate> delegate;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: b459b1ecf4a674fb0b3335bf51d3984a
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,24 @@
//
// GDTUnifiedBannerAdNetworkAdapterProtocol.h
// GDTMobApp
//
// Created by rowanzhang on 2021/7/22.
// Copyright © 2021 Tencent. All rights reserved.
//
#ifndef GDTUnifiedBannerAdNetworkAdapterProtocol_h
#define GDTUnifiedBannerAdNetworkAdapterProtocol_h
#import "GDTUnifiedBannerView.h"
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTUnifiedBannerAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
- (void)loadAdOnBannerView:(GDTUnifiedBannerView *)banner
currentViewController:(UIViewController *)viewController;
- (void)showBannerAd;
@end
#endif /* GDTUnifiedBannerAdNetworkAdapterProtocol_h */

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 8d262b9758d974a4da52536bcc741f0a
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,40 @@
//
// GDTUnifiedBannerAdNetworkConnectorProtocol.h
// GDTMobApp
//
// Created by rowanzhang on 2021/7/22.
// Copyright © 2021 Tencent. All rights reserved.
//
#ifndef GDTUnifiedBannerAdNetworkConnectorProtocol_h
#define GDTUnifiedBannerAdNetworkConnectorProtocol_h
@protocol GDTUnifiedBannerAdNetworkAdapterProtocol;
@protocol GDTUnifiedBannerAdNetworkConnectorProtocol <GDTBaseAdNetworkConnectorProtocol>
@optional
- (void)adapter_unifiedBannerViewDidLoad:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewFailedToLoad:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter error:(NSError *)error;
- (void)adapter_unifiedBannerViewWillExpose:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewClicked:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewWillPresentFullScreenModal:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewDidPresentFullScreenModal:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewWillDismissFullScreenModal:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewDidDismissFullScreenModal:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewWillLeaveApplication:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
- (void)adapter_unifiedBannerViewWillClose:(id <GDTUnifiedBannerAdNetworkAdapterProtocol>)adapter;
@end
#endif /* GDTUnifiedBannerAdNetworkConnectorProtocol_h */

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: e6621372057d44e66bbfce76df443ec2
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,179 @@
//
// GDTUnifiedBannerView.h
// GDTMobSDK
//
// Created by nimomeng on 2019/3/1.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GDTLoadAdParams.h"
#import "GDTAdProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@class GDTUnifiedBannerView;
@protocol GDTUnifiedBannerViewDelegate <GDTAdDelegate>
@optional
/**
* 广
* 广
*/
- (void)unifiedBannerViewDidLoad:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* 广
* 广
*/
- (void)unifiedBannerViewFailedToLoad:(GDTUnifiedBannerView *)unifiedBannerView error:(NSError *)error;
/**
* banner2.0
*/
- (void)unifiedBannerViewWillExpose:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* banner2.0
*/
- (void)unifiedBannerViewClicked:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* banner2.0广广
*/
- (void)unifiedBannerViewWillPresentFullScreenModal:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* banner2.0广广
*/
- (void)unifiedBannerViewDidPresentFullScreenModal:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* 广
*/
- (void)unifiedBannerViewWillDismissFullScreenModal:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* 广
*/
- (void)unifiedBannerViewDidDismissFullScreenModal:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* 广
*/
- (void)unifiedBannerViewWillLeaveApplication:(GDTUnifiedBannerView *)unifiedBannerView;
/**
* banner2.0
* banner广告 - 广广
* unifiedBannerView从父view移除置nil
*/
- (void)unifiedBannerViewWillClose:(GDTUnifiedBannerView *)unifiedBannerView;
@end
@interface GDTUnifiedBannerView : UIView <GDTAdProtocol>
/**
* []
*/
@property (nonatomic, weak) id<GDTUnifiedBannerViewDelegate> delegate;
/**
* Banner展现和轮播时的动画效果开关
*/
@property (nonatomic) BOOL animated;
/**
* 广 [30, 120] 30 0 []
*/
@property (nonatomic) int autoSwitchInterval;
/**
* QQ小游戏SDK字段透传
*/
@property (nonatomic, strong, nullable) GDTLoadAdParams *loadAdParams;
/**
* 广NO广
* a.广
* b.广
*/
@property (nonatomic, readonly) BOOL isAdValid;
/**
*
* placementId - 广 ID
* viewController -
*/
- (instancetype)initWithPlacementId:(NSString *)placementId
viewController:(UIViewController *)viewController;
/**
*
* frame - banner
* placementId - 广 ID
* viewController -
*/
- (instancetype)initWithFrame:(CGRect)frame
placementId:(NSString *)placementId
viewController:(UIViewController *)viewController;
/**
* , S2S bidding token
* @param placementId 广 ID
* @param token Server Bidding token
* @param viewController
*/
- (instancetype)initWithPlacementId:(NSString *)placementId
token:(NSString *)token
viewController:(UIViewController *)viewController;
/**
* S2S bidding , 广 show
* @param eCPM - , 广
* .
*/
- (void)setBidECPM:(NSInteger)eCPM;
/**
* 广
*/
- (void)loadAdAndShow;
/**
广eCPM
@return 0-1
*/
- (NSInteger)eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
- (NSString *)eCPMLevel;
/**
广
@return 使广
*/
- (NSString *)adNetworkName;
/**
* , 广 show
* @param price - (: )
*/
- (void)sendWinNotificationWithPrice:(NSInteger)price;
/**
*
* @param price - (: )
* @param reason - 广
* @param adnID - adnID
*/
- (void)sendLossNotificationWithWinnerPrice:(NSInteger)price lossReason:(GDTAdBiddingLossReason)reason winnerAdnID:(NSString *)adnID;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 118422fbddb2840debaa4f67903c1ea8
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,288 @@
//
// GDTUnifiedInterstitialAd.h
// GDTMobApp
//
// Created by nimomeng on 2019/3/4.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTSDKDefines.h"
#import "GDTServerSideVerificationOptions.h"
#import "GDTAdProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@class GDTUnifiedInterstitialAd;
@protocol GDTUnifiedInterstitialAdDelegate <GDTAdDelegate>
@optional
/**
* 2.0广
* 广
*/
- (void)unifiedInterstitialSuccessToLoadAd:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
* 广
*/
- (void)unifiedInterstitialFailToLoadAd:(GDTUnifiedInterstitialAd *)unifiedInterstitial error:(NSError *)error;
/**
* 2.0广
*/
- (void)unifiedInterstitialDidDownloadVideo:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
* 广
*/
- (void)unifiedInterstitialRenderSuccess:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
*/
- (void)unifiedInterstitialRenderFail:(GDTUnifiedInterstitialAd *)unifiedInterstitial error:(NSError *)error;
/**
* 2.0广
* 2.0广
*/
- (void)unifiedInterstitialWillPresentScreen:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
* 2.0广
*/
- (void)unifiedInterstitialDidPresentScreen:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
* 2.0广
*/
- (void)unifiedInterstitialFailToPresent:(GDTUnifiedInterstitialAd *)unifiedInterstitial error:(NSError *)error;
/**
* 2.0广
* 2.0广
*/
- (void)unifiedInterstitialDidDismissScreen:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* App或者Appstore时回调
*/
- (void)unifiedInterstitialWillLeaveApplication:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
*/
- (void)unifiedInterstitialWillExposure:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广
*/
- (void)unifiedInterstitialClicked:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广广
*/
- (void)unifiedInterstitialAdWillPresentFullScreenModal:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广广
*/
- (void)unifiedInterstitialAdDidPresentFullScreenModal:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 广
*/
- (void)unifiedInterstitialAdWillDismissFullScreenModal:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 广
*/
- (void)unifiedInterstitialAdDidDismissFullScreenModal:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广 player
*/
- (void)unifiedInterstitialAd:(GDTUnifiedInterstitialAd *)unifiedInterstitial playerStatusChanged:(GDTMediaPlayerStatus)status;
/**
* 2.0广 WillPresent
*/
- (void)unifiedInterstitialAdViewWillPresentVideoVC:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广 DidPresent
*/
- (void)unifiedInterstitialAdViewDidPresentVideoVC:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广 WillDismiss
*/
- (void)unifiedInterstitialAdViewWillDismissVideoVC:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 2.0广 DidDismiss
*/
- (void)unifiedInterstitialAdViewDidDismissVideoVC:(GDTUnifiedInterstitialAd *)unifiedInterstitial;
/**
* 广广
@param unifiedInterstitial GDTUnifiedInterstitialAd
@param info 广 @{@"GDT_TRANS_ID":@"930f1fc8ac59983bbdf4548ee40ac353"}, @GDT_TRANS_ID广id
*/
- (void)unifiedInterstitialAdDidRewardEffective:(GDTUnifiedInterstitialAd *)unifiedInterstitial info:(NSDictionary *)info;
@end
@interface GDTUnifiedInterstitialAd : NSObject <GDTAdProtocol>
/**
* 广NO广
* a.广
* b.广
* c.广
*
*/
@property (nonatomic, readonly) BOOL isAdValid;
/**
*
*/
@property (nonatomic, weak) id<GDTUnifiedInterstitialAdDelegate> delegate;
@property (nonatomic, readonly) NSString *placementId;
@property (nonatomic, strong) GDTServerSideVerificationOptions *serverSideVerificationOptions;
/**
*
* placementId - 广 ID
*/
- (instancetype)initWithPlacementId:(NSString *)placementId;
/**
* , S2S bidding token
* @param placementId 广 ID
* @param token Server Bidding token
*/
- (instancetype)initWithPlacementId:(NSString *)placementId token:(NSString *)token;
/**
* S2S bidding , 广 show
* @param eCPM - , 广
* .
*/
- (void)setBidECPM:(NSInteger)eCPM;
/**
* 广
* []广
*/
- (void)loadAd;
/**
* 广
* []广
*/
- (void)loadFullScreenAd;
/**
* 广
* []广, 广UIViewController
*/
- (void)presentAdFromRootViewController:(UIViewController *)rootViewController;
/**
* 广
* []广, 广UIViewController
*/
- (void)presentFullScreenAdFromRootViewController:(UIViewController *)rootViewController;
/**
* , 广 show
* @param price - (: )
*/
- (void)sendWinNotificationWithPrice:(NSInteger)price;
/**
*
* @param price - (: )
* @param reason - 广
* @param adnID - adnID
*/
- (void)sendLossNotificationWithWinnerPrice:(NSInteger)price lossReason:(GDTAdBiddingLossReason)reason winnerAdnID:(NSString *)adnID;
/**
广eCPM
@return 0-1
*/
- (NSInteger)eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
- (NSString *)eCPMLevel;
/**
* WiFi YESloadAd
*/
@property (nonatomic, assign) BOOL videoAutoPlayOnWWAN;
/**
* YESloadAd
*/
@property (nonatomic, assign) BOOL videoMuted;
/**
* NOloadAd
*/
@property (nonatomic, assign) BOOL detailPageVideoMuted;
/**
广
使 01: 2:minVideoDuration大于maxVideoDuration
*/
@property (nonatomic) NSInteger minVideoDuration;
/**
[5,180]广
*/
@property (nonatomic) NSInteger maxVideoDuration;
/**
* 2.0广
*/
@property (nonatomic, assign, readonly) BOOL isVideoAd;
/**
* 2.0广 ms
*/
- (CGFloat)videoDuration;
/**
* 广 ms
*/
- (CGFloat)videoPlayTime;
/**
广
@return 使广使
*/
- (NSString *)adNetworkName;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 1078c82f8f8c442bdad140fc907e7b62
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,38 @@
//
// GDTUnifiedinterstitialAdNetworkAdapterProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/8/10.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTRewardVideoAdNetworkConnectorProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTUnifiedinterstitialAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
- (BOOL)isAdValid;
- (void)loadAd;
- (void)presentAdFromRootViewController:(UIViewController *)rootViewController;
@optional
@property (nonatomic, assign) BOOL videoAutoPlayOnWWAN;
@property (nonatomic, assign) BOOL videoMuted;
@property (nonatomic, assign) BOOL detailPageVideoMuted;
@property (nonatomic) NSInteger minVideoDuration;
@property (nonatomic) NSInteger maxVideoDuration;
@property (nonatomic, assign, readonly) BOOL isVideoAd;
@property (nonatomic, assign) BOOL shouldLoadFullscreenAd;
@property (nonatomic, assign) BOOL shouldShowFullscreenAd;
- (CGFloat)videoDuration;
- (CGFloat)videoPlayTime;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 30d1db890f9084b8fb5846a32c0b65ee
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,123 @@
//
// GDTUnifiedInterstitialAdNetworkConnectorProtocol.h
// GDTMobApp
//
// Created by royqpwang on 2019/8/10.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTSDKDefines.h"
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTUnifiedinterstitialAdNetworkAdapterProtocol;
@protocol GDTUnifiedInterstitialAdNetworkConnectorProtocol <GDTBaseAdNetworkConnectorProtocol>
/**
* 2.0广
* 广
*/
- (void)adapter_unifiedInterstitialSuccessToLoadAd:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广
* 广
*/
- (void)adapter_unifiedInterstitialFailToLoadAd:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter error:(NSError *)error;
/**
* 2.0广
* 2.0广
*/
- (void)adapter_unifiedInterstitialWillPresentScreen:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广
* 2.0广
*/
- (void)adapter_unifiedInterstitialDidPresentScreen:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
2.0广
@param adapter adapter对象
@param error
*/
- (void)adapter_unifiedInterstitialFailToPresentAd:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter error:(NSError *)error;
/**
* 2.0广
* 2.0广
*/
- (void)adapter_unifiedInterstitialDidDismissScreen:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* App或者Appstore时回调
*/
- (void)adapter_unifiedInterstitialWillLeaveApplication:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广
*/
- (void)adapter_unifiedInterstitialWillExposure:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广
*/
- (void)adapter_unifiedInterstitialClicked:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广广
*/
- (void)adapter_unifiedInterstitialAdWillPresentFullScreenModal:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广广
*/
- (void)adapter_unifiedInterstitialAdDidPresentFullScreenModal:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_unifiedInterstitialAdWillDismissFullScreenModal:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 广
*/
- (void)adapter_unifiedInterstitialAdDidDismissFullScreenModal:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广 player
*/
- (void)adapter_unifiedInterstitialAd:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter playerStatusChanged:(GDTMediaPlayerStatus)status;
/**
* 2.0广 WillPresent
*/
- (void)adapter_unifiedInterstitialAdViewWillPresentVideoVC:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广 DidPresent
*/
- (void)adapter_unifiedInterstitialAdViewDidPresentVideoVC:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广 WillDismiss
*/
- (void)adapter_unifiedInterstitialAdViewWillDismissVideoVC:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
* 2.0广 DidDismiss
*/
- (void)adapter_unifiedInterstitialAdViewDidDismissVideoVC:(id<GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter;
/**
*
*/
- (void)adapter_unifiedInterstitialAdDidRewardEffective:(id <GDTUnifiedinterstitialAdNetworkAdapterProtocol>)adapter info:(NSDictionary *)info;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: cad6994750cc14f6eafa0f425356f7de
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,123 @@
//
// GDTUnifiedNativeAd.h
// GDTMobSDK
//
// Created by nimomeng on 2018/10/10.
// Copyright © 2018 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTUnifiedNativeAdDataObject.h"
#import "GDTUnifiedNativeAdView.h"
NS_ASSUME_NONNULL_BEGIN
@protocol GDTUnifiedNativeAdDelegate <NSObject>
/**
广
@param unifiedNativeAdDataObjects 广
@param error
*/
- (void)gdt_unifiedNativeAdLoaded:(NSArray<GDTUnifiedNativeAdDataObject *> * _Nullable)unifiedNativeAdDataObjects error:(NSError * _Nullable)error;
@end
@interface GDTUnifiedNativeAd : NSObject
@property (nonatomic, weak) id<GDTUnifiedNativeAdDelegate> delegate;
/**
使 01: 2:minVideoDuration大于maxVideoDuration
*/
@property (nonatomic) NSInteger minVideoDuration;
/**
[5,180]
*/
@property (nonatomic) NSInteger maxVideoDuration;
/**
广
SDK是否自动播放 GDTVideoAutoPlayPolicy
GDTVideoAutoPlayPolicyNever SDK GDTMediaView play
GDTVideoPlayPolicy 广eCPM值广广
loadAd
*/
@property (nonatomic, assign) GDTVideoPlayPolicy videoPlayPolicy GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃");
/**
广SDK渲染还是开发者自行渲染
SDK 广 containerView feed 广Demo Feed SDK
广 feed conainterView Demo "竖版 Feed 视频"
*/
@property (nonatomic, assign) GDTVideoRenderType videoRenderType GDT_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃");
/**
@param placementId 广ID
@return GDTUnifiedNativeAd
*/
- (instancetype)initWithPlacementId:(NSString *)placementId;
/**
* , S2S bidding token
* @param placementId 广 ID
* @param token Server Bidding token
*/
- (instancetype)initWithPlacementId:(NSString *)placementId token:(NSString *)token;
/**
* S2S bidding , 广 show
* @param eCPM - , 广
* .
*/
- (void)setBidECPM:(NSInteger)eCPM;
/**
广
*/
- (void)loadAd;
/**
广
@param adCount
*/
- (void)loadAdWithAdCount:(NSInteger)adCount;
/**
* , 广 show
* @param price - (: )
*/
- (void)sendWinNotificationWithPrice:(NSInteger)price;
/**
*
* @param price - (: )
* @param reason - 广
* @param adnID - adnID
*/
- (void)sendLossNotificationWithWinnerPrice:(NSInteger)price lossReason:(GDTAdBiddingLossReason)reason winnerAdnID:(NSString *)adnID;
/**
广
@return 使广使
*/
- (NSString *)adNetworkName;
/**
* VAST 广 adapter vastClassName
*/
- (void)setVastClassName:(NSString *)vastClassName;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: acaa3d0d8835145d2863bd2f34a96888
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,178 @@
//
// GDTUnifiedNativeAdDataObject.h
// GDTMobSDK
//
// Created by nimomeng on 2018/10/10.
// Copyright © 2018 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GDTVideoConfig.h"
#import "GDTSDKDefines.h"
#import "GDTAdProtocol.h"
typedef NS_ENUM(NSInteger, GDTVastAdEventType) {
GDTVastAdEventTypeUnknow,
GDTVastAdEventTypeLoaded,
GDTVastAdEventTypeStarted,
GDTVastAdEventTypeFirstQuartile,
GDTVastAdEventTypeMidPoint,
GDTVastAdEventTypeThirdQuartile,
GDTVastAdEventTypeComplete,
GDTVastAdEventTypeAllAdsComplete,
GDTVastAdEventTypeExposed,
GDTVastAdEventTypeClicked,
};
@interface GDTUnifiedNativeAdDataObject : NSObject <GDTAdProtocol>
/**
广
*/
@property (nonatomic, copy, readonly) NSString *title;
/**
广
*/
@property (nonatomic, copy, readonly) NSString *desc;
/**
广 imageUrl 广 mediaUrlList
*/
@property (nonatomic, readonly) NSInteger imageWidth;
/**
广 imageUrl 广 mediaUrlList
*/
@property (nonatomic, readonly) NSInteger imageHeight;
/**
广App Url
*/
@property (nonatomic, copy, readonly) NSString *iconUrl;
/**
广Url, 使 bindImageViews:placeholder:
*/
@property (nonatomic, copy, readonly) NSString *imageUrl;
/**
广Url集合, 使 bindImageViews:placeholder:
*/
@property (nonatomic, copy, readonly) NSArray *mediaUrlList;
/**
广5
*/
@property (nonatomic, readonly) CGFloat appRating;
/**
广
*/
@property (nonatomic, strong, readonly) NSNumber *appPrice;
/**
广
*/
@property (nonatomic, readonly) BOOL isAppAd;
/**
广
*/
@property (nonatomic, readonly) BOOL isVideoAd;
/**
广
*/
@property (nonatomic, readonly) BOOL isThreeImgsAd;
/**
广 (广"去微信看看")
*/
@property (nonatomic, readonly) BOOL isWechatCanvasAd;
/**
广eCPM
@return 0-1
*/
@property (nonatomic, readonly) NSInteger eCPM;
/**
广eCPM等级
@return string@""nil表示无权限或后台异常
*/
@property (nonatomic, readonly) NSString *eCPMLevel;
/**
广
*/
@property (nonatomic, readonly) NSString *buttonText;
/**
广CTA文案CTA视图时建议使用此字段
广callToAction文案, callToAction视图时建议使用此字段
广
*/
@property (nonatomic, readonly) NSString *callToAction;
/**
广
@return YES NO
*/
@property (nonatomic, readonly) BOOL skippable;
/**
广
*/
@property (nonatomic, strong) GDTVideoConfig *videoConfig;
/**
* 广 ms
*/
@property (nonatomic, readonly) CGFloat duration;
/**
* VAST Tag Url
*/
@property (nonatomic, copy, readonly) NSString *vastTagUrl;
/**
* VAST Content
*/
@property (nonatomic, copy, readonly) NSString *vastContent;
/**
* VAST 广
*/
@property (nonatomic, assign, readonly) BOOL isVastAd;
/**
* 广NO广
* a.广
*/
@property (nonatomic, readonly) BOOL isAdValid;
/**
2.0广
@param dataObject 2.0广
@return YES or NO
*/
- (BOOL)equalsAdData:(GDTUnifiedNativeAdDataObject *)dataObject;
/**
*
*
* @param imageViews imageView
* @param placeholder
*/
- (void)bindImageViews:(NSArray<UIImageView *> *)imageViews placeholder:(UIImage *)placeholder;
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 49f16c974917c4cf586a86245cafa490
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,213 @@
//
// GDTUnifiedNativeAdNetworkAdapterProtocol.h
// GDTMobSDK
//
// Created by Nancy on 2019/6/27.
// Copyright © 2019 Tencent. All rights reserved.
//
#import "GDTBaseAdNetworkAdapterProtocol.h"
#import "GDTAdProtocol.h"
@class GDTUnifiedNativeAdDataObject;
@protocol GDTUnifiedNativeAdNetworkConnectorProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTUnifiedNativeAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
@property (nonatomic, assign) NSInteger maxVideoDuration;
@property (nonatomic, assign) NSInteger minVideoDuration;
- (void)loadAdWithCount:(NSInteger)count;
@end
@class GDTVideoConfig;
@protocol GDTUnifiedNativeAdDataObjectConnectorProtocol;
@protocol GDTUnifiedNativeAdDataObjectAdapterProtocol <GDTAdProtocol>
@property (nonatomic, copy, readonly) NSString *title;
/**
广
*/
@property (nonatomic, copy, readonly) NSString *desc;
/**
广Url
*/
@property (nonatomic, copy, readonly) NSString *imageUrl;
/**
广 imageUrl 广 mediaUrlList
*/
@property (nonatomic, readonly) NSInteger imageWidth;
/**
广 imageUrl 广 mediaUrlList
*/
@property (nonatomic, readonly) NSInteger imageHeight;
/**
广App Url
*/
@property (nonatomic, copy, readonly) NSString *iconUrl;
/**
广Url集合
*/
@property (nonatomic, copy, readonly) NSArray *mediaUrlList;
/**
广5
*/
@property (nonatomic, readonly) CGFloat appRating;
/**
广
*/
@property (nonatomic, strong, readonly) NSNumber *appPrice;
/**
广
*/
@property (nonatomic, readonly) BOOL isAppAd;
/**
广
*/
@property (nonatomic, readonly) BOOL isVideoAd;
/**
广
*/
@property (nonatomic, readonly) BOOL isThreeImgsAd;
/**
广eCPM
@return 0-1
*/
@property (nonatomic, readonly) NSInteger eCPM;
/**
* 广 ms
*/
@property (nonatomic, readonly) CGFloat duration;
/**
广
*/
@property (nonatomic, strong, nullable) GDTVideoConfig *videoConfig;
@optional
@property (nonatomic, copy, readonly) NSString *eCPMLevel;
@property (nonatomic, copy, readonly) NSString *callToAction;
@property (nonatomic, copy, readonly) NSString *buttonText;
@property (nonatomic, assign, readonly) BOOL skippable;
/**
* VAST Tag Url
*/
@property (nonatomic, copy, readonly, nullable) NSString *vastTagUrl;
/**
* VAST Content
*/
@property (nonatomic, copy, readonly, nullable) NSString *vastContent;
/**
* VAST 广
*/
@property (nonatomic, readonly) BOOL isVastAd;
/**
* 广
*/
@property (nonatomic, readonly) BOOL isWechatCanvasAd;
/**
2.0广
@param dataObject 2.0广
@return YES or NO
*/
- (instancetype)initWithUnifiedNativeAdDataObject:(GDTUnifiedNativeAdDataObject *)dataObject;
- (BOOL)equalsAdData:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject;
- (void)setRootViewController:(UIViewController * _Nullable)rootViewController;
- (void)registerConnector:(id <GDTUnifiedNativeAdDataObjectConnectorProtocol>)connector
clickableViews:(NSArray *)clickableViews;
- (void)registerClickableCallToActionView:(UIView *)callToActionView;
- (void)unregisterView;
//是否需要主动检测曝光默认NO
- (BOOL)needsToDetectExposure;
//检测到曝光后调用
- (void)didRecordImpression;
//发送竞胜结果
- (void)sendWinNotification:(NSInteger)price;
//发送竞败结果
- (void)sendLossNotification:(NSInteger)price reason:(NSInteger)reason adnId:(NSString *__nullable)adnId;
//设置实际结算价
- (void)setBidECPM:(NSInteger)price;
@end
@protocol GDTMediaViewAdapterProtocol <NSObject>
@optional
/**
* 广 ms
*/
- (CGFloat)videoDuration;
/**
* 广 ms
*/
- (CGFloat)videoPlayTime;
/**
*/
- (void)play;
/**
pause 广 play
*/
- (void)pause;
/**
*/
- (void)stop;
/**
@param flag
*/
- (void)muteEnable:(BOOL)flag;
/**
@param image
@param size 44 * 44
*/
- (void)setPlayButtonImage:(UIImage *)image size:(CGSize)size;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 3073546de38ee47b29af3e024d48d03a
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,67 @@
//
// GDTUnifiedNativeAdNetworkConnectorProtocol.h
// GDTMobSDK
//
// Created by Nancy on 2019/6/27.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GDTUnifiedNativeAdView.h"
#import "GDTAdProtocol.h"
#import "GDTBaseAdNetworkAdapterProtocol.h"
@protocol GDTUnifiedNativeAdDataObjectAdapterProtocol;
@protocol GDTUnifiedNativeAdNetworkAdapterProtocol;
@protocol GDTMediaViewAdapterProtocol;
NS_ASSUME_NONNULL_BEGIN
@protocol GDTUnifiedNativeAdNetworkConnectorProtocol <NSObject>
- (void)adapter:(id <GDTUnifiedNativeAdNetworkAdapterProtocol>)adapter
unifiedNativeAdLoaded:(NSArray<id <GDTUnifiedNativeAdDataObjectAdapterProtocol>> * _Nullable)unifiedNativeAdDataObjects
error:(NSError * _Nullable)error;
@end
@protocol GDTMediaViewConnectorProtocol <NSObject>
- (void)adapter_mediaViewDidTapped:(id <GDTMediaViewAdapterProtocol>)mediaView;
- (void)adapter_mediaViewDidPlayFinished:(id <GDTMediaViewAdapterProtocol>)mediaView;
@end
@protocol GDTUnifiedNativeAdDataObjectConnectorProtocol <GDTBaseAdNetworkConnectorProtocol>
@property (nonatomic, strong, readonly) GDTUnifiedNativeAdView *unifiedNativeAdView;
@property (nonatomic, strong, readonly) UIView <GDTMediaViewConnectorProtocol> *mediaView;
@property (nonatomic, strong, readonly) GDTLogoView *logoView;
@optional
- (void)adapter_unifiedNativeAdViewWillExpose:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject;
- (void)adapter_unifiedNativeAdViewDidClick:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject;
- (void)adapter_unifiedNativeAdDetailViewClosed:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject;
- (void)adapter_unifiedNativeAdViewApplicationWillEnterBackground:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject;
- (void)adapter_unifiedNativeAdDetailViewWillPresentScreen:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject;
- (void)adapter_unifiedNativeAdView:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject
playerStatusChanged:(GDTMediaPlayerStatus)status
userInfo:(nullable NSDictionary *)userInfo;
- (id <GDTUnifiedNativeAdDataObjectAdapterProtocol>) relatedDataObject;
- (void)adapter_unifiedNativeAdView:(id <GDTUnifiedNativeAdDataObjectAdapterProtocol>)dataObject
originDataObject:(GDTUnifiedNativeAdDataObject *)originDataObject
vastAdEventType:(GDTVastAdEventType)eventType;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: ddaba949b7c8549028b2721e64b1cde7
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,176 @@
//
// GDTUnifiedNativeAdView.h
// GDTMobSDK
//
// Created by nimomeng on 2018/10/10.
// Copyright © 2018 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GDTLogoView.h"
#import "GDTMediaView.h"
#import "GDTUnifiedNativeAdDataObject.h"
#import "GDTSDKDefines.h"
@class GDTUnifiedNativeAdView;
//视频广告时长Key
extern NSString* const kGDTUnifiedNativeAdKeyVideoDuration;
@protocol GDTUnifiedNativeAdViewDelegate <GDTAdDelegate
>
@optional
/**
广
@param unifiedNativeAdView GDTUnifiedNativeAdView
*/
- (void)gdt_unifiedNativeAdViewWillExpose:(GDTUnifiedNativeAdView *)unifiedNativeAdView;
/**
广
@param unifiedNativeAdView GDTUnifiedNativeAdView
*/
- (void)gdt_unifiedNativeAdViewDidClick:(GDTUnifiedNativeAdView *)unifiedNativeAdView;
/**
广
@param unifiedNativeAdView GDTUnifiedNativeAdView
*/
- (void)gdt_unifiedNativeAdDetailViewClosed:(GDTUnifiedNativeAdView *)unifiedNativeAdView;
/**
广
@param unifiedNativeAdView GDTUnifiedNativeAdView
*/
- (void)gdt_unifiedNativeAdViewApplicationWillEnterBackground:(GDTUnifiedNativeAdView *)unifiedNativeAdView;
/**
广
@param unifiedNativeAdView GDTUnifiedNativeAdView
*/
- (void)gdt_unifiedNativeAdDetailViewWillPresentScreen:(GDTUnifiedNativeAdView *)unifiedNativeAdView;
/**
广
@param nativeExpressAdView GDTUnifiedNativeAdView
@param status 广
@param userInfo 广
*/
- (void)gdt_unifiedNativeAdView:(GDTUnifiedNativeAdView *)unifiedNativeAdView playerStatusChanged:(GDTMediaPlayerStatus)status userInfo:(NSDictionary *)userInfo;
@end
@interface GDTUnifiedNativeAdView:UIView
/**
*/
@property (nonatomic, strong, readonly) GDTUnifiedNativeAdDataObject *dataObject;
/**
广View
*/
@property (nonatomic, strong, readonly) GDTMediaView *mediaView;
/**
广 LogoView
*/
@property (nonatomic, strong, readonly) GDTLogoView *logoView;
/**
广 View
*/
@property (nonatomic, weak) id<GDTUnifiedNativeAdViewDelegate> delegate;
/*
* viewControllerForPresentingModalView
* ViewControllerViewController
*/
@property (nonatomic, weak) UIViewController *viewController;
/**
2.0
[dataObject isAdValid]YESNO时调用不生效
@param dataObject
@param clickableViews 广广
*/
- (void)registerDataObject:(GDTUnifiedNativeAdDataObject *)dataObject
clickableViews:(NSArray<UIView *> *)clickableViews;
/**
2.0
[dataObject isAdValid]YESNO时调用不生效
@param dataObject
@param clickableViews 广广
@param customClickableViews clickableViews的区别是广dataObject中的videoConfig的detailPageEnable为YES时clickableViews保持一致
*/
- (void)registerDataObject:(GDTUnifiedNativeAdDataObject *)dataObject
clickableViews:(NSArray<UIView *> *)clickableViews customClickableViews:(NSArray <UIView *> *)customClickableViews;
/**
callToAction视图的方法
使GDTUnifiedNativeAdDataObject中的callToAction字段来创建视图button,
registerDataObject:clickableViews
@param callToActionView CTA视图,
*/
- (void)registerClickableCallToActionView:(UIView *)callToActionView;
/**
tableViewcollectionView GDTUnifiedNativeAdView
cell prepareForReuse unregisterDataObject
广 GDTUnifiedNativeAdView demo UnifiedNativeAdBaseTableViewCell
*/
- (void)unregisterDataObject;
//#pragma mark - DEPRECATED
///**
// 此方法已经废弃
// 自渲染2.0视图注册方法
//
// @param dataObject 数据对象,必传字段
// @param logoView logo视图
// @param viewController 所在ViewController必传字段。支持在register之后对其进行修改
// @param clickableViews 可点击的视图数组,此数组内的广告元素才可以响应广告对应的点击事件
// */
//- (void)registerDataObject:(GDTUnifiedNativeAdDataObject *)dataObject
// logoView:(GDTLogoView *)logoView
// viewController:(UIViewController *)viewController
// clickableViews:(NSArray<UIView *> *)clickableViews GDT_DEPRECATED_MSG_ATTRIBUTE("use registerDataObject:clickableViews: instead.");
//
//
///**
// 此方法已经废弃
// 自渲染2.0视图注册方法
//
// @param dataObject 数据对象,必传字段
// @param mediaView 媒体对象视图,此处放视频播放器的容器视图
// @param logoView logo视图
// @param viewController 所在ViewController必传字段。支持在register之后对其进行修改
// @param clickableViews 可点击的视图数组,此数组内的广告元素才可以响应广告对应的点击事件
// */
//- (void)registerDataObject:(GDTUnifiedNativeAdDataObject *)dataObject
// mediaView:(GDTMediaView *)mediaView
// logoView:(GDTLogoView *)logoView
// viewController:(UIViewController *)viewController
// clickableViews:(NSArray<UIView *> *)clickableViews GDT_DEPRECATED_MSG_ATTRIBUTE("use registerDataObject:clickableViews: instead.");
@end

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 738748c06458c47b49e1fc58931cae68
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,68 @@
//
// GDTVideoConfig.h
// GDTMobApp
//
// Created by royqpwang on 2019/5/16.
// Copyright © 2019 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, GDTVideoAutoPlayPolicy) {
GDTVideoAutoPlayPolicyWIFI = 0, // WIFI 下自动播放
GDTVideoAutoPlayPolicyAlways = 1, // 总是自动播放,无论网络条件
GDTVideoAutoPlayPolicyNever = 2, // 从不自动播放,无论网络条件
};
NS_ASSUME_NONNULL_BEGIN
@interface GDTVideoConfig : NSObject
/**
GDTVideoAutoPlayPolicyAlways,
GDTVideoAutoPlayPolicyNever GDTMediaView play\pause
userControlEnable MediaView
*/
@property (nonatomic, assign) GDTVideoAutoPlayPolicy autoPlayPolicy;
/**
广 YES
GDTMediaView muteEnable: j静音状态
*/
@property (nonatomic, assign) BOOL videoMuted;
/**
NO
*/
@property (nonatomic, assign) BOOL detailPageVideoMuted;
/**
tableView 广 NO
*/
@property (nonatomic, assign) BOOL autoResumeEnable;
/**
广
NO clickableViews App Store 广
*/
@property (nonatomic, assign) BOOL detailPageEnable;
/**
MediaView YES
YES
*/
@property (nonatomic, assign) BOOL userControlEnable;
/**
YES
*/
@property (nonatomic, assign) BOOL progressViewEnable;
/**
YES
*/
@property (nonatomic, assign) BOOL coverImageEnable;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,27 @@
fileFormatVersion: 2
guid: 6762c69ae718d49b6becc58b3f53804f
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
fileFormatVersion: 2
guid: cbdc3e4dc51224e67a7da26482343306
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: afa45b0fc93dc4a109cdf1507004f633
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 50e20c7f90bbd4ef18dfc49d3409137a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2b7c81a249a8b44d2a3944acd69e09ad
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,19 @@
//
// AnyThinkIronSourceAdapter.h
// AnyThinkIronSourceAdapter
//
// Created by Topon on 11/16/20.
// Copyright © 2020 AnyThink. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for AnyThinkIronSourceAdapter.
FOUNDATION_EXPORT double AnyThinkIronSourceAdapterVersionNumber;
//! Project version string for AnyThinkIronSourceAdapter.
FOUNDATION_EXPORT const unsigned char AnyThinkIronSourceAdapterVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AnyThinkIronSourceAdapter/PublicHeader.h>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b9156c225031a40a88e40efb6bff48fa
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ad822d33cf3ae4d129ca0154a2c29d70
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9a9e64125de774a17945f294e3000894
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
framework module AnyThinkIronSourceAdapter {
umbrella header "AnyThinkIronSourceAdapter.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9ec879a68c96346ce9cf1903d26b7564
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: e6585d1f0a8cc4dc58d30c2424f7b602
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3772ff473461b4bfdb4f680f05a761e2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,27 @@
//
// ISAdData.h
// IronSource
//
// Created by Yonti Makmel on 22/04/2021.
// Copyright © 2021 ironSource. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
@interface ISAdData : NSObject
@property (nonatomic, strong, readonly, nullable) NSString *serverData;
@property (nonatomic, strong, readonly) NSDictionary *configuration;
-(instancetype)initWithData:(nullable NSString*)serverData configuration:(NSDictionary*)configuration;
-(nullable NSString*)getString:(NSString* )key;
-(NSInteger)getInt:(NSString*)key;
-(BOOL)getBoolean:(NSString*)key;
-(nullable NSNumber*)getNumber:(NSString*)key;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bef8b589088df430b81b27da0a40ed7c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More