From 5c57c740c1a3a7acbb384dcf2557fd129fa7328c Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Thu, 16 Jul 2026 14:30:49 +0800 Subject: [PATCH] 提交版本 4.13.1 --- WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/PrivateHeaders/GADRewardedInterstitialAdPreloader_Beta.h | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/PrivateHeaders/GADRewardedInterstitialAdPreloader_Beta.h b/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/PrivateHeaders/GADRewardedInterstitialAdPreloader_Beta.h new file mode 100644 index 0000000..7bcc520 --- /dev/null +++ b/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/PrivateHeaders/GADRewardedInterstitialAdPreloader_Beta.h @@ -0,0 +1,81 @@ +// +// GADRewardedInterstitialAdPreloader_Beta.h +// Google Mobile Ads SDK +// +// Copyright © 2025 Google Inc. All rights reserved. +// + +#import <Foundation/Foundation.h> +#import <GoogleMobileAds/GADMobileAds.h> +#import <GoogleMobileAds/GADPreloadDelegate_Beta.h> +#import <GoogleMobileAds/GADRewardedInterstitialAd.h> + +@class GADRewardedInterstitialAd; +@class GADPreloadConfigurationV2; + +NS_SWIFT_NAME(RewardedInterstitialAdPreloader) +@interface GADRewardedInterstitialAdPreloader : NSObject + +/// Returns the shared GADRewardedInterstitialAdPreloader instance. +@property(class, nonatomic, readonly, nonnull) + GADRewardedInterstitialAdPreloader *sharedInstance NS_SWIFT_NAME(shared); + +/// Starts preloading rewarded interstitial ads from the configuration for the given preload ID. +/// If a delegate is provided, ad events will be forwarded to the delegate. +/// Returns false if preload failed to start. Check console for error log. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +/// @param configuration A GADPreloadConfigurationV2 instance. +/// @param delegate An optional delegate to receive ad event callbacks. +- (BOOL)preloadForPreloadID:(nonnull NSString *)preloadID + configuration:(nonnull GADPreloadConfigurationV2 *)configuration + delegate:(nullable id<GADPreloadDelegate>)delegate + NS_SWIFT_NAME(preload(for:configuration:delegate:)); + +/// Returns whether a rewarded interstitial ad is preloaded for the given preload ID. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +- (BOOL)isAdAvailableWithPreloadID:(nonnull NSString *)preloadID + NS_SWIFT_NAME(isAdAvailable(with:)); + +/// Returns a preloaded rewarded interstitial ad for the given preload ID. Returns nil if an ad is +/// not available. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +- (nullable GADRewardedInterstitialAd *)adWithPreloadID:(nonnull NSString *)preloadID + NS_SWIFT_NAME(ad(with:)); + +/// Returns the responseInfo of a preloaded rewarded interstitial ad for the given preload ID +/// without removing the ad from the queue. Returns nil if an ad is not available. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +- (nullable GADResponseInfo *)adResponseInfoWithPreloadID:(nonnull NSString *)preloadID + NS_SWIFT_NAME(responseInfo(with:)); + +/// Returns the number of preloaded rewarded interstitial ads available for the given preload ID. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +- (NSUInteger)numberOfAdsAvailableWithPreloadID:(nonnull NSString *)preloadID + NS_SWIFT_NAME(numberOfAdsAvailable(with:)); + +/// Stops preloading rewarded interstitial ads and removes preloaded rewarded interstitial ads for +/// the given preload ID. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +- (void)stopPreloadingAndRemoveAdsForPreloadID:(nonnull NSString *)preloadID + NS_SWIFT_NAME(stopPreloadingAndRemoveAds(for:)); + +/// Stops preloading all rewarded interstitial ads and removes all preloaded rewarded interstitial +/// ads. +- (void)stopPreloadingAndRemoveAllAds; + +/// Returns the corresponding configuration for the given preload ID. +/// +/// @param preloadID A string that refers to a set of preloaded ads. +- (nullable GADPreloadConfigurationV2 *)configurationWithPreloadID:(nonnull NSString *)preloadID + NS_SWIFT_NAME(configuration(with:)); + +/// Returns a map of preload IDs to their corresponding configurations. +- (nonnull NSDictionary<NSString *, GADPreloadConfigurationV2 *> *)configurations; + +@end -- Gitblit v1.8.0