generated from solar2d/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecb4030
commit f5fdda4
Showing
69 changed files
with
2,188 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +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 |
24 changes: 24 additions & 0 deletions
24
...6/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdClientBiddingProtocol.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// PAGAdClientBiddingProtocol.h | ||
// Pods | ||
// | ||
// Created by bytedance on 2021/9/14. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@protocol PAGAdClientBiddingProtocol <NSObject> | ||
|
||
@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 |
32 changes: 32 additions & 0 deletions
32
plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// PAGADDelegate.h | ||
// PAGAdSDK | ||
// | ||
// Created by bytedance on 2022/4/7. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol PAGAdProtocol; | ||
|
||
@protocol PAGAdDelegate <NSObject> | ||
|
||
@optional | ||
|
||
/// This method is called when the ad has been shown | ||
- (void)adDidShow:(id<PAGAdProtocol>)ad; | ||
|
||
/// This method is called when the add has been clicked | ||
- (void)adDidClick:(id<PAGAdProtocol>)ad; | ||
|
||
///This method is called when the ad has been dismissed. | ||
- (void)adDidDismiss:(id<PAGAdProtocol>)ad; | ||
|
||
///This method is called when the ad has been show fail | ||
- (void)adDidShowFail:(id<PAGAdProtocol>)ad error:(NSError *)error; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
19 changes: 19 additions & 0 deletions
19
plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdProtocol.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// PAGAdProtocol.h | ||
// PangleSDK | ||
// | ||
// Created by bytedance on 2022/4/7. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol PAGAdProtocol <NSObject> | ||
|
||
/// return extra info | ||
- (nullable NSDictionary *)getMediaExtraInfo; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
18 changes: 18 additions & 0 deletions
18
.../2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 */ |
40 changes: 40 additions & 0 deletions
40
plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSDK.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// PAGAdSDK.h | ||
// PAGAdSDK | ||
// | ||
// Copyright © 2017年 bytedance. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
// In this header, you should import all the public headers of your framework using statements like #import <PAGAdSDK/PublicHeader.h> | ||
|
||
#import <PAGAdSDK/PAGAdClientBiddingProtocol.h> | ||
#import <PAGAdSDK/PAGAdDelegate.h> | ||
#import <PAGAdSDK/PAGAdProtocol.h> | ||
#import <PAGAdSDK/PAGAdPublicDefine.h> | ||
#import <PAGAdSDK/PAGAdSDK.h> | ||
#import <PAGAdSDK/PAGAdSize.h> | ||
#import <PAGAdSDK/PAGAppOpenRequest.h> | ||
#import <PAGAdSDK/PAGBannerAd.h> | ||
#import <PAGAdSDK/PAGBannerAdDelegate.h> | ||
#import <PAGAdSDK/PAGBannerRequest.h> | ||
#import <PAGAdSDK/PAGConfig.h> | ||
#import <PAGAdSDK/PAGInterstitialRequest.h> | ||
#import <PAGAdSDK/PAGLAppOpenAd.h> | ||
#import <PAGAdSDK/PAGLAppOpenAdDelegate.h> | ||
#import <PAGAdSDK/PAGLImage.h> | ||
#import <PAGAdSDK/PAGLInterstitialAd.h> | ||
#import <PAGAdSDK/PAGLInterstitialAdDelegate.h> | ||
#import <PAGAdSDK/PAGLMaterialMeta.h> | ||
#import <PAGAdSDK/PAGLNativeAd.h> | ||
#import <PAGAdSDK/PAGLNativeAdDelegate.h> | ||
#import <PAGAdSDK/PAGLNativeAdRelatedView.h> | ||
#import <PAGAdSDK/PAGMAdNetworkExtras.h> | ||
#import <PAGAdSDK/PAGMediaView.h> | ||
#import <PAGAdSDK/PAGNativeRequest.h> | ||
#import <PAGAdSDK/PAGRequest.h> | ||
#import <PAGAdSDK/PAGRewardModel.h> | ||
#import <PAGAdSDK/PAGRewardedAd.h> | ||
#import <PAGAdSDK/PAGRewardedAdDelegate.h> | ||
#import <PAGAdSDK/PAGRewardedRequest.h> | ||
#import <PAGAdSDK/PAGSdk.h> |
19 changes: 19 additions & 0 deletions
19
plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAdSize.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// PAGAdSize.h | ||
// PangleAPI | ||
// | ||
// Created by bytedance on 2022/2/25. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
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; |
22 changes: 22 additions & 0 deletions
22
.../2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
47 changes: 47 additions & 0 deletions
47
plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAd.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// PAGBannerAd.h | ||
// PangleAPI | ||
// | ||
// Created by bytedance on 2022/3/23. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
#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<PAGAdProtocol,PAGAdClientBiddingProtocol> | ||
|
||
/// Ad event delegate. | ||
@property (nonatomic, weak, nullable) id<PAGBannerAdDelegate> 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 |
18 changes: 18 additions & 0 deletions
18
...018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// PAGBannerADDelegate.h | ||
// PangleAPI | ||
// | ||
// Created by bytedance on 2022/3/23. | ||
// | ||
|
||
#import "PAGAdDelegate.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@class PAGBannerAd; | ||
|
||
@protocol PAGBannerAdDelegate <PAGAdDelegate> | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
20 changes: 20 additions & 0 deletions
20
...s/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGBannerRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
78 changes: 78 additions & 0 deletions
78
plugins/2018.3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGConfig.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// | ||
// PAGConfig.h | ||
// PAGAdSDK | ||
// | ||
// Created by bytedance on 2022/5/9. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
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 |
16 changes: 16 additions & 0 deletions
16
....3326/iphone-sim/resources/Frameworks/PAGAdSDK.framework/Headers/PAGInterstitialRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
Oops, something went wrong.