From f5fdda45644d8a5e69cdfb3242df8ed616f00147 Mon Sep 17 00:00:00 2001 From: Scott Harrison Date: Wed, 11 Dec 2024 16:56:46 -0600 Subject: [PATCH] Frameworks --- .gitattributes | 2 + .../Headers/PAGAdClientBiddingProtocol.h | 24 ++++ .../Headers/PAGAdDelegate.h | 32 +++++ .../Headers/PAGAdProtocol.h | 19 +++ .../Headers/PAGAdPublicDefine.h | 18 +++ .../PAGAdSDK.framework/Headers/PAGAdSDK.h | 40 ++++++ .../PAGAdSDK.framework/Headers/PAGAdSize.h | 19 +++ .../Headers/PAGAppOpenRequest.h | 22 +++ .../PAGAdSDK.framework/Headers/PAGBannerAd.h | 47 +++++++ .../Headers/PAGBannerAdDelegate.h | 18 +++ .../Headers/PAGBannerRequest.h | 20 +++ .../PAGAdSDK.framework/Headers/PAGConfig.h | 78 +++++++++++ .../Headers/PAGInterstitialRequest.h | 16 +++ .../Headers/PAGLAppOpenAd.h | 48 +++++++ .../Headers/PAGLAppOpenAdDelegate.h | 18 +++ .../PAGAdSDK.framework/Headers/PAGLImage.h | 24 ++++ .../Headers/PAGLInterstitialAd.h | 49 +++++++ .../Headers/PAGLInterstitialAdDelegate.h | 18 +++ .../Headers/PAGLMaterialMeta.h | 38 ++++++ .../PAGAdSDK.framework/Headers/PAGLNativeAd.h | 61 +++++++++ .../Headers/PAGLNativeAdDelegate.h | 16 +++ .../Headers/PAGLNativeAdRelatedView.h | 35 +++++ .../Headers/PAGMAdNetworkExtras.h | 12 ++ .../PAGAdSDK.framework/Headers/PAGMediaView.h | 15 +++ .../Headers/PAGNativeRequest.h | 16 +++ .../PAGAdSDK.framework/Headers/PAGRequest.h | 28 ++++ .../Headers/PAGRewardModel.h | 23 ++++ .../Headers/PAGRewardedAd.h | 49 +++++++ .../Headers/PAGRewardedAdDelegate.h | 32 +++++ .../Headers/PAGRewardedRequest.h | 16 +++ .../PAGAdSDK.framework/Headers/PAGSdk.h | 51 +++++++ .../Frameworks/PAGAdSDK.framework/Info.plist | 53 ++++++++ .../Modules/module.modulemap | 6 + .../Frameworks/PAGAdSDK.framework/PAGAdSDK | 3 + .../PAGAdSDK.framework/PrivacyInfo.xcprivacy | 127 ++++++++++++++++++ .../Headers/PAGAdClientBiddingProtocol.h | 24 ++++ .../Headers/PAGAdDelegate.h | 32 +++++ .../Headers/PAGAdProtocol.h | 19 +++ .../Headers/PAGAdPublicDefine.h | 18 +++ .../PAGAdSDK.framework/Headers/PAGAdSDK.h | 40 ++++++ .../PAGAdSDK.framework/Headers/PAGAdSize.h | 19 +++ .../Headers/PAGAppOpenRequest.h | 22 +++ .../PAGAdSDK.framework/Headers/PAGBannerAd.h | 47 +++++++ .../Headers/PAGBannerAdDelegate.h | 18 +++ .../Headers/PAGBannerRequest.h | 20 +++ .../PAGAdSDK.framework/Headers/PAGConfig.h | 78 +++++++++++ .../Headers/PAGInterstitialRequest.h | 16 +++ .../Headers/PAGLAppOpenAd.h | 48 +++++++ .../Headers/PAGLAppOpenAdDelegate.h | 18 +++ .../PAGAdSDK.framework/Headers/PAGLImage.h | 24 ++++ .../Headers/PAGLInterstitialAd.h | 49 +++++++ .../Headers/PAGLInterstitialAdDelegate.h | 18 +++ .../Headers/PAGLMaterialMeta.h | 38 ++++++ .../PAGAdSDK.framework/Headers/PAGLNativeAd.h | 61 +++++++++ .../Headers/PAGLNativeAdDelegate.h | 16 +++ .../Headers/PAGLNativeAdRelatedView.h | 35 +++++ .../Headers/PAGMAdNetworkExtras.h | 12 ++ .../PAGAdSDK.framework/Headers/PAGMediaView.h | 15 +++ .../Headers/PAGNativeRequest.h | 16 +++ .../PAGAdSDK.framework/Headers/PAGRequest.h | 28 ++++ .../Headers/PAGRewardModel.h | 23 ++++ .../Headers/PAGRewardedAd.h | 49 +++++++ .../Headers/PAGRewardedAdDelegate.h | 32 +++++ .../Headers/PAGRewardedRequest.h | 16 +++ .../PAGAdSDK.framework/Headers/PAGSdk.h | 51 +++++++ .../Frameworks/PAGAdSDK.framework/Info.plist | 57 ++++++++ .../Modules/module.modulemap | 6 + .../Frameworks/PAGAdSDK.framework/PAGAdSDK | 3 + .../PAGAdSDK.framework/PrivacyInfo.xcprivacy | 127 ++++++++++++++++++ 69 files changed, 2188 insertions(+) create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Info.plist create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK create mode 100644 plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Info.plist create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK create mode 100644 plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy diff --git a/.gitattributes b/.gitattributes index 9dbbb41..6ab8d1e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,3 @@ *.framework filter=lfs diff=lfs merge=lfs -text +plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK filter=lfs diff=lfs merge=lfs -text +plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK filter=lfs diff=lfs merge=lfs -text diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h new file mode 100644 index 0000000..66fb4fb --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h @@ -0,0 +1,24 @@ +// +// PAGAdClientBiddingProtocol.h +// Pods +// +// Created by bytedance on 2021/9/14. +// + +#import + +@protocol PAGAdClientBiddingProtocol + +@optional + +/// invoke this method when the bidding succeeds (strongly recommended) 当竞价成功调用此方法(强烈推荐) +/// @param auctionBidToWin the seccond place bidder's price 竞价方第二名的价格 +- (void)win:(nullable NSNumber*)auctionBidToWin; + +/// invoke this method when the bidding fails (strongly recommended) 当竞价失败调用此方法(强烈推荐) +/// @param auctionPrice auction price 竞价 +/// @param lossReason Reasons for failed bidding 失败的原因 +/// @param winBidder Who won the bid 谁赢了竞价 +- (void)loss:(nullable NSNumber*)auctionPrice lossReason:(nullable NSString*)lossReason winBidder:(nullable NSString*)winBidder; + +@end diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h new file mode 100644 index 0000000..d3e0612 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h @@ -0,0 +1,32 @@ +// +// PAGADDelegate.h +// PAGAdSDK +// +// Created by bytedance on 2022/4/7. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGAdProtocol; + +@protocol PAGAdDelegate + +@optional + +/// This method is called when the ad has been shown +- (void)adDidShow:(id)ad; + +/// This method is called when the add has been clicked +- (void)adDidClick:(id)ad; + +///This method is called when the ad has been dismissed. +- (void)adDidDismiss:(id)ad; + +///This method is called when the ad has been show fail +- (void)adDidShowFail:(id)ad error:(NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h new file mode 100644 index 0000000..8666dae --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h @@ -0,0 +1,19 @@ +// +// PAGAdProtocol.h +// PangleSDK +// +// Created by bytedance on 2022/4/7. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGAdProtocol + +/// return extra info +- (nullable NSDictionary *)getMediaExtraInfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h new file mode 100644 index 0000000..ec23206 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h @@ -0,0 +1,18 @@ +// +// PAGAdPublicDefine.h +// Pods +// +// Created by bytedance on 2022/5/16. +// + +#ifndef PAGAdPublicDefine_h +#define PAGAdPublicDefine_h + +FOUNDATION_EXPORT NSString * const PAGAdSDKErrorDomain; + +typedef NS_ENUM(NSUInteger, PAGAdErrorCode) { + PAGAdErrorCodeSlotIdNil = 1, + PAGAdErrorCodeRequestNil = 2, +}; + +#endif /* PAGAdPublicDefine_h */ diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h new file mode 100644 index 0000000..acd94ec --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h @@ -0,0 +1,40 @@ +// +// PAGAdSDK.h +// PAGAdSDK +// +// Copyright © 2017年 bytedance. All rights reserved. +// + +#import +// In this header, you should import all the public headers of your framework using statements like #import + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h new file mode 100644 index 0000000..3c97830 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h @@ -0,0 +1,19 @@ +// +// PAGAdSize.h +// PangleAPI +// +// Created by bytedance on 2022/2/25. +// + +#import + +struct PAGAdSize { + CGSize size; +}; + +typedef struct PAGAdSize PAGBannerAdSize; + +CG_EXTERN PAGBannerAdSize const kPAGBannerSize320x50; +CG_EXTERN PAGBannerAdSize const kPAGBannerSize300x250; +/// Only for iPad banner ad +CG_EXTERN PAGBannerAdSize const kPAGBannerSize728x90; diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h new file mode 100644 index 0000000..a815284 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h @@ -0,0 +1,22 @@ +// +// PAGAppOpenRequest.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/26. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGAppOpenRequest : PAGRequest + + +/// If the ad data is not successfully loaded within the timeout period, +/// a timeout error from the invoked completion handler will be non-nil. +/// default is 3.5s +@property (nonatomic, assign) NSTimeInterval timeout; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h new file mode 100644 index 0000000..99626a4 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h @@ -0,0 +1,47 @@ +// +// PAGBannerAd.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" +#import "PAGBannerAdDelegate.h" +#import "PAGBannerRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGBannerAd; + +/// Callback for loading ad results. +/// @param bannerAd Ad instance after successfully loaded which will be non-nil on success. +/// @param error Loading error which will be non-nil on fail. +typedef void (^PAGBannerADLoadCompletionHandler)(PAGBannerAd * _Nullable bannerAd, + NSError * _Nullable error); + +@interface PAGBannerAd : NSObject + +/// Ad event delegate. +@property (nonatomic, weak, nullable) id delegate; +/// View of the banner ad. +@property (nonatomic, strong, readonly) UIView *bannerView; +/// View controller the banner ad will be presented on. +@property (nonatomic, weak, readwrite) UIViewController *rootViewController; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load banner ad +/// @param slotID Required. The unique identifier of banner ad. +/// @param request Required. An instance of a banner ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGBannerRequest *)request + completionHandler:(PAGBannerADLoadCompletionHandler)completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h new file mode 100644 index 0000000..9675163 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h @@ -0,0 +1,18 @@ +// +// PAGBannerADDelegate.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGBannerAd; + +@protocol PAGBannerAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h new file mode 100644 index 0000000..42bbbe1 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h @@ -0,0 +1,20 @@ +// +// PAGBannerRequest.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGRequest.h" +#import "PAGAdSize.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGBannerRequest : PAGRequest + ++(instancetype)request UNAVAILABLE_ATTRIBUTE; ++ (instancetype)requestWithBannerSize:(PAGBannerAdSize)bannerSize; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h new file mode 100644 index 0000000..977ea95 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h @@ -0,0 +1,78 @@ +// +// PAGConfig.h +// PAGAdSDK +// +// Created by bytedance on 2022/5/9. +// + +#import + +typedef NS_ENUM(NSInteger, PAGAdSDKThemeStatus) { + PAGAdSDKThemeStatus_Normal = 0, //Light mode + PAGAdSDKThemeStatus_Night = 1, //Dark mode +}; + +typedef NS_ENUM(NSInteger, PAGChildDirectedType) { + PAGChildDirectedTypeDefault = -1,//default + PAGChildDirectedTypeNonChild = 0,// user is not a child + PAGChildDirectedTypeChild = 1,// user is a child +}; + +typedef NS_ENUM(NSInteger, PAGDoNotSellType) { + PAGDoNotSellTypeDefault = -1,//default + PAGDoNotSellTypeSell = 0,//“sale” of personal information is permitted + PAGDoNotSellTypeNotSell = 1,//user has opted out of “sale” of personal information +}; + +typedef NS_ENUM(NSInteger, PAGGDPRConsentType) { + PAGGDPRConsentTypeDefault = -1,//default + PAGGDPRConsentTypeNoConsent = 0,//user did not consent + PAGGDPRConsentTypeConsent = 1,//user provided consent +}; + +NS_ASSUME_NONNULL_BEGIN + +///Pangle SDK configuration class +@interface PAGConfig : NSObject + +///appId the unique identifier of the App +///@warning required +@property (nonatomic, copy) NSString *appID; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; +/// Initialization method of PAGConfig ++ (instancetype)shareConfig; + +@end + +@interface PAGConfig (Settings) + +///Set the COPPA of the user, COPPA is the short of Children's Online Privacy Protection Rule, the interface only works in the United States. +@property (nonatomic, assign) PAGChildDirectedType childDirected; + +///Custom set the GDPR of the user,GDPR is the short of General Data Protection Regulation,the interface only works in The European. +@property (nonatomic, assign) PAGGDPRConsentType GDPRConsent; + +/// Custom set the CCPA of the user,CCPA is the short of General Data Protection Regulation,the interface only works in USA. +@property (nonatomic, assign) PAGDoNotSellType doNotSell; + +@property (nonatomic, assign) PAGAdSDKThemeStatus themeStatus; + +/// Custom set the debugLog to print debug Log. +/// debugLog NO: close debug log, YES: open debug log. +@property (nonatomic, assign) BOOL debugLog; + +/// App logo image. If set, it will be displayed in the App open ad. +@property (nonatomic, strong, nullable) UIImage *appLogoImage; + +/// additional user information. +@property (nonatomic, copy) NSString *userDataString; + +///Whether to allow SDK to modify the category and options of AVAudioSession when playing audio, default is NO. +///The category set by the SDK is AVAudioSessionCategoryAmbient, and the options are AVAudioSessionCategoryOptionDuckOthers +@property (nonatomic, assign) BOOL allowModifyAudioSessionSetting; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h new file mode 100644 index 0000000..8c29af1 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h @@ -0,0 +1,16 @@ +// +// PAGInterstitialRequest.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGInterstitialRequest : PAGRequest + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h new file mode 100644 index 0000000..563fa4b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h @@ -0,0 +1,48 @@ +// +// PAGLAppOpenAd.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/26. +// +#import +#import "PAGLAppOpenAdDelegate.h" +#import "PAGAppOpenRequest.h" +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLAppOpenAd; + +/// Callback for loading ad results. +/// @param appOpenAd Ad instance after successfully loaded. +/// @param error Loading error. +typedef void (^PAGAppOpenADLoadCompletionHandler)(PAGLAppOpenAd * _Nullable appOpenAd, + NSError * _Nullable error); + +@interface PAGLAppOpenAd : NSObject + +/// Ad event delegate. +@property (nonatomic, weak, nullable) id delegate; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load open ad +/// @param slotID Required. The unique identifier of open ad. +/// @param request Required. An instance of an open ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGAppOpenRequest *)request + completionHandler:(PAGAppOpenADLoadCompletionHandler)completionHandler; + + +/// Present the open ad +/// @param rootViewController View controller the open ad will be presented on. +/// @warning This method must be called on the main thread. +- (void)presentFromRootViewController:(UIViewController *)rootViewController; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h new file mode 100644 index 0000000..5b86b62 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h @@ -0,0 +1,18 @@ +// +// PAGLAppOpenAdDelegate.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/26. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLAppOpenAd; + +@protocol PAGLAppOpenAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h new file mode 100644 index 0000000..2d6bf3f --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h @@ -0,0 +1,24 @@ +// +// PAGLImage.h +// PAGAdSDK +// +// Created by Willie on 2022/5/5. +// + +NS_ASSUME_NONNULL_BEGIN + +/// A class that encapsulates image information +@interface PAGLImage : NSObject + +/// image address URL +@property (nonatomic, copy, readonly) NSString *imageURL; + +/// image width +@property (nonatomic, assign, readonly) CGFloat width; + +/// image height +@property (nonatomic, assign, readonly) CGFloat height; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h new file mode 100644 index 0000000..d51bf59 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h @@ -0,0 +1,49 @@ +// +// PAGLInterstitialAd.h +// PangleAPI +// +// Created by bytedance on 2022/2/25. +// + +#import +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" +#import "PAGLInterstitialAdDelegate.h" +#import "PAGInterstitialRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLInterstitialAd; + +/// Callback for loading interstitial results. +/// @param interstitialAd Ad instance after successfully loaded which will be non-nil on success. +/// @param error Loading error which will be non-nil on fail. +typedef void (^PAGInterstitialAdLoadCompletionHandler)(PAGLInterstitialAd * _Nullable interstitialAd, + NSError * _Nullable error); + +@interface PAGLInterstitialAd : NSObject + +/// Ad event delegate. +@property(nonatomic, weak, nullable) id delegate; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load interstitial ad +/// @param slotID Required. The unique identifier of interstitial ad. +/// @param request Required. An instance of an interstitial ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGInterstitialRequest *)request + completionHandler:(PAGInterstitialAdLoadCompletionHandler)completionHandler; + + +/// Present the interstitial ad +/// @param rootViewController View controller the interstitial ad will be presented on. +/// @warning This method must be called on the main thread. +- (void)presentFromRootViewController:(UIViewController *)rootViewController; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h new file mode 100644 index 0000000..5e87f7d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h @@ -0,0 +1,18 @@ +// +// PAGLInterstitialAdDelegate.h +// PangleAPI +// +// Created by bytedance on 2022/2/25. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLInterstitialAd; + +@protocol PAGLInterstitialAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h new file mode 100644 index 0000000..27506b2 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h @@ -0,0 +1,38 @@ +// +// PAGLMaterialMeta.h +// PAGAdSDK +// +// Created by Willie on 2022/5/5. +// + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLImage; + +/// media type of ad +typedef NS_ENUM(NSUInteger, PAGLNativeMediaType) { + PAGLNativeMediaTypeImage = 1, // image ad + PAGLNativeMediaTypeVideo = 2, // video ad +}; + +/// A class that encapsulates advertising information +@interface PAGLMaterialMeta : NSObject + +/// ad logo icon. +@property (nonatomic, strong, readonly) PAGLImage *icon; + +/// ad headline. +@property (nonatomic, copy, readonly) NSString *AdTitle; + +/// ad description. +@property (nonatomic, copy, readonly) NSString *AdDescription; + +/// text displayed on the creative button. +@property (nonatomic, copy, readonly) NSString *buttonText; + +/// media type of ad +@property (nonatomic, assign, readonly) PAGLNativeMediaType mediaType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h new file mode 100644 index 0000000..9c9166c --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h @@ -0,0 +1,61 @@ +// +// PAGLNativeAd.h +// PAGAdSDK +// +// Created by Willie on 2022/3/1. +// + +#import + +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLNativeAd, PAGLMaterialMeta, PAGNativeRequest; +@protocol PAGLNativeAdDelegate; + +typedef void (^PAGNativeADLoadCompletionHandler)(PAGLNativeAd * _Nullable nativeAd, + NSError * _Nullable error); + +/// Abstract ad slot containing ad data loading, response callbacks. +@interface PAGLNativeAd : NSObject + +/// Ad material. +@property (nonatomic, strong, readonly) PAGLMaterialMeta *data; + +/// The delegate for receiving state change messages. +/// The delegate is not limited to viewcontroller. +/// The delegate can be set to any object which conforming to . +@property (nonatomic, weak, nullable) id delegate; + +/// required. +/// Root view controller for handling ad actions. +/// Action method includes is 'presentViewController'. +@property (nonatomic, weak) UIViewController *rootViewController; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + +/// Actively request nativeAd datas. +/// @param slotID required. The unique identifier of a native ad. +/// @param request required. PAGNativeRequest instance. +/// @param completionHandler required. Callback when ad is loaded. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGNativeRequest *)request + completionHandler:(PAGNativeADLoadCompletionHandler)completionHandler; + +/// Register clickable views in native ads view. +/// Interaction types can be configured on TikTok Audience Network. +/// Interaction types include view video ad details page, open the webpage using a browser, open the webpage within the app, etc. +/// @param containerView required. Container view of the native ad. +/// @param clickableViews optional. Array of views that are clickable. +- (void)registerContainer:(__kindof UIView *)containerView + withClickableViews:(NSArray<__kindof UIView *> *_Nullable)clickableViews; + +/// Unregister ad view from the native ad. +- (void)unregisterView; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h new file mode 100644 index 0000000..251360e --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h @@ -0,0 +1,16 @@ +// +// PAGLNativeAdDelegate.h +// PAGAdSDK +// +// Created by Willie on 2022/3/1. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGLNativeAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h new file mode 100644 index 0000000..fbd3966 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h @@ -0,0 +1,35 @@ +// +// PAGLNativeAdRelatedView.h +// PAGAdSDK +// +// Created by Willie on 2022/4/6. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class PAGMediaView, PAGLNativeAd; + +/// A class that encapsulates a fixed ad style +@interface PAGLNativeAdRelatedView : NSObject + +/// Need to actively add to the view in order to deal with the feedback and improve the accuracy of ad. +@property (nonatomic, strong, readonly) UIButton *dislikeButton; + +/// Ad logo + Promotion label.Need to actively add to the view. +@property (nonatomic, strong, readonly) UIImageView *logoADImageView; + +/// dsp logo.Need to actively add to the view. +@property (nonatomic, strong, readonly) UIImageView *adChoicesView; + +/// A view used to display a video or image, which can be added directly to the ad view. +@property (nonatomic, strong, readonly) PAGMediaView *mediaView; + +/// Refresh the data every time you get new datas in order to show ad perfectly. +/// @param nativeAd PAGLNativeAd instance. +- (void)refreshWithNativeAd:(PAGLNativeAd *)nativeAd; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h new file mode 100644 index 0000000..54bd21d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h @@ -0,0 +1,12 @@ +// +// PAGMNetworkExtras.h +// PAGAdSDK +// +// Created by bytedance on 2022/11/8. +// + +#import + +@protocol PAGMAdNetworkExtras + +@end diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h new file mode 100644 index 0000000..1650d00 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h @@ -0,0 +1,15 @@ +// +// PAGMediaView.h +// PAGAdSDK +// +// Created by Willie on 2022/4/7. +// + +NS_ASSUME_NONNULL_BEGIN + +/// A view that wraps a fixed ad style to display an image or video +@interface PAGMediaView : UIView + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h new file mode 100644 index 0000000..49fe087 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h @@ -0,0 +1,16 @@ +// +// PAGNativeRequest.h +// PAGAdSDK +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGNativeRequest : PAGRequest + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h new file mode 100644 index 0000000..bae3fc6 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h @@ -0,0 +1,28 @@ +// +// PAGRequest.h +// PAGAdSDK +// +// Created by bytedance on 2022/3/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGMAdNetworkExtras; +@interface PAGRequest : NSObject + +/// Ad string that represents an ad response. The SDK will render this ad and ignore all other +/// targeting information set on this request. +@property (nonatomic, copy) NSString *adString; + +/// extra info +@property (nonatomic, copy, nullable) NSDictionary *extraInfo; + ++ (instancetype)request; + +- (void)registerAdNetworkExtras:(id)extras; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h new file mode 100644 index 0000000..3c78409 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h @@ -0,0 +1,23 @@ +// +// PAGRewardedModel.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGRewardModel : NSObject + +//奖励名称 +@property (nonatomic, copy, readonly) NSString *rewardName; +//奖励钱数 +@property (nonatomic, assign, readonly) NSInteger rewardAmount; + +- (instancetype)initWithRewardName:(NSString *)rewardName rewardAmount:(NSInteger)rewardAmount; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h new file mode 100644 index 0000000..941f3b1 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h @@ -0,0 +1,49 @@ +// +// PAGRewardedAd.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" +#import "PAGRewardedAdDelegate.h" +#import "PAGRewardedRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGRewardedAd; +/// Callback for loading ad results. +/// @param rewardedAd Ad instance after successfully loaded which will be non-nil on success. +/// @param error Loading error which will be non-nil on fail. +typedef void (^PAGRewardedAdLoadCompletionHandler)(PAGRewardedAd * _Nullable rewardedAd, + NSError * _Nullable error); + +@interface PAGRewardedAd : NSObject + +/// Ad event delegate. +@property (nonatomic, weak, nullable) id delegate; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load rewarded ad +/// @param slotID Required. The unique identifier of rewarded ad. +/// @param request Required. An instance of a rewarded ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGRewardedRequest *)request + completionHandler:(PAGRewardedAdLoadCompletionHandler)completionHandler; + + +/// Present the rewarded ad +/// @param rootViewController View controller the rewarded ad will be presented on. +/// @warning This method must be called on the main thread. +- (void)presentFromRootViewController:(UIViewController *)rootViewController; + +@end + +NS_ASSUME_NONNULL_END + diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h new file mode 100644 index 0000000..b71f2f0 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h @@ -0,0 +1,32 @@ +// +// PAGRewardedAdDelegate.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGRewardedAd; +@class PAGRewardModel; + +@protocol PAGRewardedAdDelegate + +@optional + +/// Tells the delegate that the user has earned the reward. +/// @param rewardedAd rewarded ad instance +/// @param rewardModel user's reward info +- (void)rewardedAd:(PAGRewardedAd *)rewardedAd userDidEarnReward:(PAGRewardModel *)rewardModel; + + +/// Tells the delegate that the user failed to earn the reward. +/// @param rewardedAd rewarded ad instance +/// @param error failed reson +- (void)rewardedAd:(PAGRewardedAd *)rewardedAd userEarnRewardFailWithError:(NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h new file mode 100644 index 0000000..bd32306 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h @@ -0,0 +1,16 @@ +// +// PAGRewardedRequest.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGRewardedRequest : PAGRequest + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h new file mode 100644 index 0000000..2e61d47 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h @@ -0,0 +1,51 @@ +// +// PAGSdk.h +// PAGAdSDK +// +// Created by bytedance on 2022/5/9. +// + +#import +#import "PAGConfig.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, PAGSDKInitializationState) { + PAGSDKInitializationStateNotReady = 0, + PAGSDKInitializationStateReady = 1 +}; + +typedef void (^PAGAdsCompletionHandler)(BOOL success, NSError * __nullable error); + +@interface PAGSdk : NSObject + +/// Pangle SDK version +@property (nonatomic, copy, readonly, class) NSString *SDKVersion; + +/// The SDK initialization state +@property (nonatomic, assign, readonly, class) PAGSDKInitializationState initializationState; + +/// Starts the Pangle SDK +/// @warning Call this method as early as possible to reduce ad request fail. +/// @param config SDK configuration +/// @param completionHandler Callback for starting the Pangle SDK ++ (void)startWithConfig:(PAGConfig *)config completionHandler:(nullable PAGAdsCompletionHandler)completionHandler; + +/// Get bidding token +/// @param slotID the unique identifier of ad. +/// @note This method recommend called on the sub thread. ++ (NSString *)getBiddingToken:(nullable NSString *)slotID; + +/// Get bidding token asynchronously +/// @param slotID the unique identifier of ad. +/// @param completion Callback to return the bidding token. ++ (void)getBiddingToken:(nullable NSString *)slotID completion:(void (^)(NSString * biddingToken))completion; + +/// Set a ad revenue info obtained from mediation. +/// You can get sample code from the Pangle platform to learn how to use this method. +/// @param adRevenue Assemble a dictionary of ad revenue info. ++ (void)setAdRevenue:(NSDictionary *)adRevenue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Info.plist b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Info.plist new file mode 100644 index 0000000..5b05f7b --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 21G83 + CFBundleDevelopmentRegion + en + CFBundleDisplayName + PAGAdSDK + CFBundleExecutable + PAGAdSDK + CFBundleIdentifier + com.pagadsdk.sdk + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PAGAdSDK + CFBundlePackageType + FMWK + CFBundleShortVersionString + 6.2.7 + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 6.2.7 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 14B47b + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.0 + DTSDKBuild + 14B47b + DTSDKName + iphonesimulator17.0 + DTXcode + 1410 + DTXcodeBuild + 14B47b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..c7d7a49 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PAGAdSDK { + umbrella header "PAGAdSDK.h" + + export * + module * { export * } +} diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK new file mode 100644 index 0000000..ef2f54d --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b46f77bbf8a587118b44d4981304e440bec3b58549795611f86be14ec7746549 +size 342832816 diff --git a/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..56244f1 --- /dev/null +++ b/plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy @@ -0,0 +1,127 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeAdvertisingData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCrashData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePerformanceData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCoarseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDataTypes + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + 7D9E.1 + E174.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h new file mode 100644 index 0000000..66fb4fb --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h @@ -0,0 +1,24 @@ +// +// PAGAdClientBiddingProtocol.h +// Pods +// +// Created by bytedance on 2021/9/14. +// + +#import + +@protocol PAGAdClientBiddingProtocol + +@optional + +/// invoke this method when the bidding succeeds (strongly recommended) 当竞价成功调用此方法(强烈推荐) +/// @param auctionBidToWin the seccond place bidder's price 竞价方第二名的价格 +- (void)win:(nullable NSNumber*)auctionBidToWin; + +/// invoke this method when the bidding fails (strongly recommended) 当竞价失败调用此方法(强烈推荐) +/// @param auctionPrice auction price 竞价 +/// @param lossReason Reasons for failed bidding 失败的原因 +/// @param winBidder Who won the bid 谁赢了竞价 +- (void)loss:(nullable NSNumber*)auctionPrice lossReason:(nullable NSString*)lossReason winBidder:(nullable NSString*)winBidder; + +@end diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h new file mode 100644 index 0000000..d3e0612 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h @@ -0,0 +1,32 @@ +// +// PAGADDelegate.h +// PAGAdSDK +// +// Created by bytedance on 2022/4/7. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGAdProtocol; + +@protocol PAGAdDelegate + +@optional + +/// This method is called when the ad has been shown +- (void)adDidShow:(id)ad; + +/// This method is called when the add has been clicked +- (void)adDidClick:(id)ad; + +///This method is called when the ad has been dismissed. +- (void)adDidDismiss:(id)ad; + +///This method is called when the ad has been show fail +- (void)adDidShowFail:(id)ad error:(NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h new file mode 100644 index 0000000..8666dae --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h @@ -0,0 +1,19 @@ +// +// PAGAdProtocol.h +// PangleSDK +// +// Created by bytedance on 2022/4/7. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGAdProtocol + +/// return extra info +- (nullable NSDictionary *)getMediaExtraInfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h new file mode 100644 index 0000000..ec23206 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h @@ -0,0 +1,18 @@ +// +// PAGAdPublicDefine.h +// Pods +// +// Created by bytedance on 2022/5/16. +// + +#ifndef PAGAdPublicDefine_h +#define PAGAdPublicDefine_h + +FOUNDATION_EXPORT NSString * const PAGAdSDKErrorDomain; + +typedef NS_ENUM(NSUInteger, PAGAdErrorCode) { + PAGAdErrorCodeSlotIdNil = 1, + PAGAdErrorCodeRequestNil = 2, +}; + +#endif /* PAGAdPublicDefine_h */ diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h new file mode 100644 index 0000000..acd94ec --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h @@ -0,0 +1,40 @@ +// +// PAGAdSDK.h +// PAGAdSDK +// +// Copyright © 2017年 bytedance. All rights reserved. +// + +#import +// In this header, you should import all the public headers of your framework using statements like #import + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h new file mode 100644 index 0000000..3c97830 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h @@ -0,0 +1,19 @@ +// +// PAGAdSize.h +// PangleAPI +// +// Created by bytedance on 2022/2/25. +// + +#import + +struct PAGAdSize { + CGSize size; +}; + +typedef struct PAGAdSize PAGBannerAdSize; + +CG_EXTERN PAGBannerAdSize const kPAGBannerSize320x50; +CG_EXTERN PAGBannerAdSize const kPAGBannerSize300x250; +/// Only for iPad banner ad +CG_EXTERN PAGBannerAdSize const kPAGBannerSize728x90; diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h new file mode 100644 index 0000000..a815284 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h @@ -0,0 +1,22 @@ +// +// PAGAppOpenRequest.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/26. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGAppOpenRequest : PAGRequest + + +/// If the ad data is not successfully loaded within the timeout period, +/// a timeout error from the invoked completion handler will be non-nil. +/// default is 3.5s +@property (nonatomic, assign) NSTimeInterval timeout; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h new file mode 100644 index 0000000..99626a4 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h @@ -0,0 +1,47 @@ +// +// PAGBannerAd.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" +#import "PAGBannerAdDelegate.h" +#import "PAGBannerRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGBannerAd; + +/// Callback for loading ad results. +/// @param bannerAd Ad instance after successfully loaded which will be non-nil on success. +/// @param error Loading error which will be non-nil on fail. +typedef void (^PAGBannerADLoadCompletionHandler)(PAGBannerAd * _Nullable bannerAd, + NSError * _Nullable error); + +@interface PAGBannerAd : NSObject + +/// Ad event delegate. +@property (nonatomic, weak, nullable) id delegate; +/// View of the banner ad. +@property (nonatomic, strong, readonly) UIView *bannerView; +/// View controller the banner ad will be presented on. +@property (nonatomic, weak, readwrite) UIViewController *rootViewController; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load banner ad +/// @param slotID Required. The unique identifier of banner ad. +/// @param request Required. An instance of a banner ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGBannerRequest *)request + completionHandler:(PAGBannerADLoadCompletionHandler)completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h new file mode 100644 index 0000000..9675163 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h @@ -0,0 +1,18 @@ +// +// PAGBannerADDelegate.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGBannerAd; + +@protocol PAGBannerAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h new file mode 100644 index 0000000..42bbbe1 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h @@ -0,0 +1,20 @@ +// +// PAGBannerRequest.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGRequest.h" +#import "PAGAdSize.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGBannerRequest : PAGRequest + ++(instancetype)request UNAVAILABLE_ATTRIBUTE; ++ (instancetype)requestWithBannerSize:(PAGBannerAdSize)bannerSize; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h new file mode 100644 index 0000000..977ea95 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h @@ -0,0 +1,78 @@ +// +// PAGConfig.h +// PAGAdSDK +// +// Created by bytedance on 2022/5/9. +// + +#import + +typedef NS_ENUM(NSInteger, PAGAdSDKThemeStatus) { + PAGAdSDKThemeStatus_Normal = 0, //Light mode + PAGAdSDKThemeStatus_Night = 1, //Dark mode +}; + +typedef NS_ENUM(NSInteger, PAGChildDirectedType) { + PAGChildDirectedTypeDefault = -1,//default + PAGChildDirectedTypeNonChild = 0,// user is not a child + PAGChildDirectedTypeChild = 1,// user is a child +}; + +typedef NS_ENUM(NSInteger, PAGDoNotSellType) { + PAGDoNotSellTypeDefault = -1,//default + PAGDoNotSellTypeSell = 0,//“sale” of personal information is permitted + PAGDoNotSellTypeNotSell = 1,//user has opted out of “sale” of personal information +}; + +typedef NS_ENUM(NSInteger, PAGGDPRConsentType) { + PAGGDPRConsentTypeDefault = -1,//default + PAGGDPRConsentTypeNoConsent = 0,//user did not consent + PAGGDPRConsentTypeConsent = 1,//user provided consent +}; + +NS_ASSUME_NONNULL_BEGIN + +///Pangle SDK configuration class +@interface PAGConfig : NSObject + +///appId the unique identifier of the App +///@warning required +@property (nonatomic, copy) NSString *appID; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; +/// Initialization method of PAGConfig ++ (instancetype)shareConfig; + +@end + +@interface PAGConfig (Settings) + +///Set the COPPA of the user, COPPA is the short of Children's Online Privacy Protection Rule, the interface only works in the United States. +@property (nonatomic, assign) PAGChildDirectedType childDirected; + +///Custom set the GDPR of the user,GDPR is the short of General Data Protection Regulation,the interface only works in The European. +@property (nonatomic, assign) PAGGDPRConsentType GDPRConsent; + +/// Custom set the CCPA of the user,CCPA is the short of General Data Protection Regulation,the interface only works in USA. +@property (nonatomic, assign) PAGDoNotSellType doNotSell; + +@property (nonatomic, assign) PAGAdSDKThemeStatus themeStatus; + +/// Custom set the debugLog to print debug Log. +/// debugLog NO: close debug log, YES: open debug log. +@property (nonatomic, assign) BOOL debugLog; + +/// App logo image. If set, it will be displayed in the App open ad. +@property (nonatomic, strong, nullable) UIImage *appLogoImage; + +/// additional user information. +@property (nonatomic, copy) NSString *userDataString; + +///Whether to allow SDK to modify the category and options of AVAudioSession when playing audio, default is NO. +///The category set by the SDK is AVAudioSessionCategoryAmbient, and the options are AVAudioSessionCategoryOptionDuckOthers +@property (nonatomic, assign) BOOL allowModifyAudioSessionSetting; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h new file mode 100644 index 0000000..8c29af1 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h @@ -0,0 +1,16 @@ +// +// PAGInterstitialRequest.h +// PangleAPI +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGInterstitialRequest : PAGRequest + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h new file mode 100644 index 0000000..563fa4b --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAd.h @@ -0,0 +1,48 @@ +// +// PAGLAppOpenAd.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/26. +// +#import +#import "PAGLAppOpenAdDelegate.h" +#import "PAGAppOpenRequest.h" +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLAppOpenAd; + +/// Callback for loading ad results. +/// @param appOpenAd Ad instance after successfully loaded. +/// @param error Loading error. +typedef void (^PAGAppOpenADLoadCompletionHandler)(PAGLAppOpenAd * _Nullable appOpenAd, + NSError * _Nullable error); + +@interface PAGLAppOpenAd : NSObject + +/// Ad event delegate. +@property (nonatomic, weak, nullable) id delegate; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load open ad +/// @param slotID Required. The unique identifier of open ad. +/// @param request Required. An instance of an open ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGAppOpenRequest *)request + completionHandler:(PAGAppOpenADLoadCompletionHandler)completionHandler; + + +/// Present the open ad +/// @param rootViewController View controller the open ad will be presented on. +/// @warning This method must be called on the main thread. +- (void)presentFromRootViewController:(UIViewController *)rootViewController; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h new file mode 100644 index 0000000..5b86b62 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLAppOpenAdDelegate.h @@ -0,0 +1,18 @@ +// +// PAGLAppOpenAdDelegate.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/26. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLAppOpenAd; + +@protocol PAGLAppOpenAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h new file mode 100644 index 0000000..2d6bf3f --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLImage.h @@ -0,0 +1,24 @@ +// +// PAGLImage.h +// PAGAdSDK +// +// Created by Willie on 2022/5/5. +// + +NS_ASSUME_NONNULL_BEGIN + +/// A class that encapsulates image information +@interface PAGLImage : NSObject + +/// image address URL +@property (nonatomic, copy, readonly) NSString *imageURL; + +/// image width +@property (nonatomic, assign, readonly) CGFloat width; + +/// image height +@property (nonatomic, assign, readonly) CGFloat height; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h new file mode 100644 index 0000000..d51bf59 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAd.h @@ -0,0 +1,49 @@ +// +// PAGLInterstitialAd.h +// PangleAPI +// +// Created by bytedance on 2022/2/25. +// + +#import +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" +#import "PAGLInterstitialAdDelegate.h" +#import "PAGInterstitialRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLInterstitialAd; + +/// Callback for loading interstitial results. +/// @param interstitialAd Ad instance after successfully loaded which will be non-nil on success. +/// @param error Loading error which will be non-nil on fail. +typedef void (^PAGInterstitialAdLoadCompletionHandler)(PAGLInterstitialAd * _Nullable interstitialAd, + NSError * _Nullable error); + +@interface PAGLInterstitialAd : NSObject + +/// Ad event delegate. +@property(nonatomic, weak, nullable) id delegate; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load interstitial ad +/// @param slotID Required. The unique identifier of interstitial ad. +/// @param request Required. An instance of an interstitial ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGInterstitialRequest *)request + completionHandler:(PAGInterstitialAdLoadCompletionHandler)completionHandler; + + +/// Present the interstitial ad +/// @param rootViewController View controller the interstitial ad will be presented on. +/// @warning This method must be called on the main thread. +- (void)presentFromRootViewController:(UIViewController *)rootViewController; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h new file mode 100644 index 0000000..5e87f7d --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLInterstitialAdDelegate.h @@ -0,0 +1,18 @@ +// +// PAGLInterstitialAdDelegate.h +// PangleAPI +// +// Created by bytedance on 2022/2/25. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLInterstitialAd; + +@protocol PAGLInterstitialAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h new file mode 100644 index 0000000..27506b2 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLMaterialMeta.h @@ -0,0 +1,38 @@ +// +// PAGLMaterialMeta.h +// PAGAdSDK +// +// Created by Willie on 2022/5/5. +// + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLImage; + +/// media type of ad +typedef NS_ENUM(NSUInteger, PAGLNativeMediaType) { + PAGLNativeMediaTypeImage = 1, // image ad + PAGLNativeMediaTypeVideo = 2, // video ad +}; + +/// A class that encapsulates advertising information +@interface PAGLMaterialMeta : NSObject + +/// ad logo icon. +@property (nonatomic, strong, readonly) PAGLImage *icon; + +/// ad headline. +@property (nonatomic, copy, readonly) NSString *AdTitle; + +/// ad description. +@property (nonatomic, copy, readonly) NSString *AdDescription; + +/// text displayed on the creative button. +@property (nonatomic, copy, readonly) NSString *buttonText; + +/// media type of ad +@property (nonatomic, assign, readonly) PAGLNativeMediaType mediaType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h new file mode 100644 index 0000000..9c9166c --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAd.h @@ -0,0 +1,61 @@ +// +// PAGLNativeAd.h +// PAGAdSDK +// +// Created by Willie on 2022/3/1. +// + +#import + +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGLNativeAd, PAGLMaterialMeta, PAGNativeRequest; +@protocol PAGLNativeAdDelegate; + +typedef void (^PAGNativeADLoadCompletionHandler)(PAGLNativeAd * _Nullable nativeAd, + NSError * _Nullable error); + +/// Abstract ad slot containing ad data loading, response callbacks. +@interface PAGLNativeAd : NSObject + +/// Ad material. +@property (nonatomic, strong, readonly) PAGLMaterialMeta *data; + +/// The delegate for receiving state change messages. +/// The delegate is not limited to viewcontroller. +/// The delegate can be set to any object which conforming to . +@property (nonatomic, weak, nullable) id delegate; + +/// required. +/// Root view controller for handling ad actions. +/// Action method includes is 'presentViewController'. +@property (nonatomic, weak) UIViewController *rootViewController; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + +/// Actively request nativeAd datas. +/// @param slotID required. The unique identifier of a native ad. +/// @param request required. PAGNativeRequest instance. +/// @param completionHandler required. Callback when ad is loaded. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGNativeRequest *)request + completionHandler:(PAGNativeADLoadCompletionHandler)completionHandler; + +/// Register clickable views in native ads view. +/// Interaction types can be configured on TikTok Audience Network. +/// Interaction types include view video ad details page, open the webpage using a browser, open the webpage within the app, etc. +/// @param containerView required. Container view of the native ad. +/// @param clickableViews optional. Array of views that are clickable. +- (void)registerContainer:(__kindof UIView *)containerView + withClickableViews:(NSArray<__kindof UIView *> *_Nullable)clickableViews; + +/// Unregister ad view from the native ad. +- (void)unregisterView; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h new file mode 100644 index 0000000..251360e --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdDelegate.h @@ -0,0 +1,16 @@ +// +// PAGLNativeAdDelegate.h +// PAGAdSDK +// +// Created by Willie on 2022/3/1. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGLNativeAdDelegate + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h new file mode 100644 index 0000000..fbd3966 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGLNativeAdRelatedView.h @@ -0,0 +1,35 @@ +// +// PAGLNativeAdRelatedView.h +// PAGAdSDK +// +// Created by Willie on 2022/4/6. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class PAGMediaView, PAGLNativeAd; + +/// A class that encapsulates a fixed ad style +@interface PAGLNativeAdRelatedView : NSObject + +/// Need to actively add to the view in order to deal with the feedback and improve the accuracy of ad. +@property (nonatomic, strong, readonly) UIButton *dislikeButton; + +/// Ad logo + Promotion label.Need to actively add to the view. +@property (nonatomic, strong, readonly) UIImageView *logoADImageView; + +/// dsp logo.Need to actively add to the view. +@property (nonatomic, strong, readonly) UIImageView *adChoicesView; + +/// A view used to display a video or image, which can be added directly to the ad view. +@property (nonatomic, strong, readonly) PAGMediaView *mediaView; + +/// Refresh the data every time you get new datas in order to show ad perfectly. +/// @param nativeAd PAGLNativeAd instance. +- (void)refreshWithNativeAd:(PAGLNativeAd *)nativeAd; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h new file mode 100644 index 0000000..54bd21d --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMAdNetworkExtras.h @@ -0,0 +1,12 @@ +// +// PAGMNetworkExtras.h +// PAGAdSDK +// +// Created by bytedance on 2022/11/8. +// + +#import + +@protocol PAGMAdNetworkExtras + +@end diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h new file mode 100644 index 0000000..1650d00 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGMediaView.h @@ -0,0 +1,15 @@ +// +// PAGMediaView.h +// PAGAdSDK +// +// Created by Willie on 2022/4/7. +// + +NS_ASSUME_NONNULL_BEGIN + +/// A view that wraps a fixed ad style to display an image or video +@interface PAGMediaView : UIView + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h new file mode 100644 index 0000000..49fe087 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGNativeRequest.h @@ -0,0 +1,16 @@ +// +// PAGNativeRequest.h +// PAGAdSDK +// +// Created by bytedance on 2022/3/23. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGNativeRequest : PAGRequest + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h new file mode 100644 index 0000000..bae3fc6 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRequest.h @@ -0,0 +1,28 @@ +// +// PAGRequest.h +// PAGAdSDK +// +// Created by bytedance on 2022/3/22. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol PAGMAdNetworkExtras; +@interface PAGRequest : NSObject + +/// Ad string that represents an ad response. The SDK will render this ad and ignore all other +/// targeting information set on this request. +@property (nonatomic, copy) NSString *adString; + +/// extra info +@property (nonatomic, copy, nullable) NSDictionary *extraInfo; + ++ (instancetype)request; + +- (void)registerAdNetworkExtras:(id)extras; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h new file mode 100644 index 0000000..3c78409 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardModel.h @@ -0,0 +1,23 @@ +// +// PAGRewardedModel.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGRewardModel : NSObject + +//奖励名称 +@property (nonatomic, copy, readonly) NSString *rewardName; +//奖励钱数 +@property (nonatomic, assign, readonly) NSInteger rewardAmount; + +- (instancetype)initWithRewardName:(NSString *)rewardName rewardAmount:(NSInteger)rewardAmount; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h new file mode 100644 index 0000000..941f3b1 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAd.h @@ -0,0 +1,49 @@ +// +// PAGRewardedAd.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import +#import "PAGAdProtocol.h" +#import "PAGAdClientBiddingProtocol.h" +#import "PAGRewardedAdDelegate.h" +#import "PAGRewardedRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGRewardedAd; +/// Callback for loading ad results. +/// @param rewardedAd Ad instance after successfully loaded which will be non-nil on success. +/// @param error Loading error which will be non-nil on fail. +typedef void (^PAGRewardedAdLoadCompletionHandler)(PAGRewardedAd * _Nullable rewardedAd, + NSError * _Nullable error); + +@interface PAGRewardedAd : NSObject + +/// Ad event delegate. +@property (nonatomic, weak, nullable) id delegate; + ++ (instancetype)new UNAVAILABLE_ATTRIBUTE; +- (instancetype)init UNAVAILABLE_ATTRIBUTE; + + +/// Load rewarded ad +/// @param slotID Required. The unique identifier of rewarded ad. +/// @param request Required. An instance of a rewarded ad request. +/// @param completionHandler Handler which will be called when the request completes. ++ (void)loadAdWithSlotID:(NSString *)slotID + request:(PAGRewardedRequest *)request + completionHandler:(PAGRewardedAdLoadCompletionHandler)completionHandler; + + +/// Present the rewarded ad +/// @param rootViewController View controller the rewarded ad will be presented on. +/// @warning This method must be called on the main thread. +- (void)presentFromRootViewController:(UIViewController *)rootViewController; + +@end + +NS_ASSUME_NONNULL_END + diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h new file mode 100644 index 0000000..b71f2f0 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedAdDelegate.h @@ -0,0 +1,32 @@ +// +// PAGRewardedAdDelegate.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import "PAGAdDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class PAGRewardedAd; +@class PAGRewardModel; + +@protocol PAGRewardedAdDelegate + +@optional + +/// Tells the delegate that the user has earned the reward. +/// @param rewardedAd rewarded ad instance +/// @param rewardModel user's reward info +- (void)rewardedAd:(PAGRewardedAd *)rewardedAd userDidEarnReward:(PAGRewardModel *)rewardModel; + + +/// Tells the delegate that the user failed to earn the reward. +/// @param rewardedAd rewarded ad instance +/// @param error failed reson +- (void)rewardedAd:(PAGRewardedAd *)rewardedAd userEarnRewardFailWithError:(NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h new file mode 100644 index 0000000..bd32306 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGRewardedRequest.h @@ -0,0 +1,16 @@ +// +// PAGRewardedRequest.h +// PAGAdSDK-PAGAdSDK +// +// Created by ByteDance on 2022/4/27. +// + +#import "PAGRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface PAGRewardedRequest : PAGRequest + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h new file mode 100644 index 0000000..2e61d47 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Headers/PAGSdk.h @@ -0,0 +1,51 @@ +// +// PAGSdk.h +// PAGAdSDK +// +// Created by bytedance on 2022/5/9. +// + +#import +#import "PAGConfig.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, PAGSDKInitializationState) { + PAGSDKInitializationStateNotReady = 0, + PAGSDKInitializationStateReady = 1 +}; + +typedef void (^PAGAdsCompletionHandler)(BOOL success, NSError * __nullable error); + +@interface PAGSdk : NSObject + +/// Pangle SDK version +@property (nonatomic, copy, readonly, class) NSString *SDKVersion; + +/// The SDK initialization state +@property (nonatomic, assign, readonly, class) PAGSDKInitializationState initializationState; + +/// Starts the Pangle SDK +/// @warning Call this method as early as possible to reduce ad request fail. +/// @param config SDK configuration +/// @param completionHandler Callback for starting the Pangle SDK ++ (void)startWithConfig:(PAGConfig *)config completionHandler:(nullable PAGAdsCompletionHandler)completionHandler; + +/// Get bidding token +/// @param slotID the unique identifier of ad. +/// @note This method recommend called on the sub thread. ++ (NSString *)getBiddingToken:(nullable NSString *)slotID; + +/// Get bidding token asynchronously +/// @param slotID the unique identifier of ad. +/// @param completion Callback to return the bidding token. ++ (void)getBiddingToken:(nullable NSString *)slotID completion:(void (^)(NSString * biddingToken))completion; + +/// Set a ad revenue info obtained from mediation. +/// You can get sample code from the Pangle platform to learn how to use this method. +/// @param adRevenue Assemble a dictionary of ad revenue info. ++ (void)setAdRevenue:(NSDictionary *)adRevenue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Info.plist b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Info.plist new file mode 100644 index 0000000..596f439 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 21G83 + CFBundleDevelopmentRegion + en + CFBundleDisplayName + PAGAdSDK + CFBundleExecutable + PAGAdSDK + CFBundleIdentifier + com.pagadsdk.sdk + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PAGAdSDK + CFBundlePackageType + FMWK + CFBundleShortVersionString + 6.2.7 + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 6.2.7 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 14B47b + DTPlatformName + iphoneos + DTPlatformVersion + 12.0 + DTSDKBuild + 14B47b + DTSDKName + iphoneos17.0 + DTXcode + 1410 + DTXcodeBuild + 14B47b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..c7d7a49 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PAGAdSDK { + umbrella header "PAGAdSDK.h" + + export * + module * { export * } +} diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK new file mode 100644 index 0000000..3ee2469 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PAGAdSDK @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b61e31164893008eb88042c2dc8e558bf15aeae097a7d4e030f88d1c37d36d8e +size 170314912 diff --git a/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..56244f1 --- /dev/null +++ b/plugins/2018.3326/iphone/resources/Frameworks/PAGAdSDK.framework/PrivacyInfo.xcprivacy @@ -0,0 +1,127 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeAdvertisingData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCrashData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePerformanceData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCoarseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDataTypes + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + 7D9E.1 + E174.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + +