From 7c666378d77fc1746cb089c273a4bacfad995356 Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Thu, 11 Sep 2025 09:04:13 +0800 Subject: [PATCH] 提交版本 4.7.0 --- frameworks/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADMobileAds.h | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/frameworks/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADMobileAds.h b/frameworks/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADMobileAds.h index 24bdd2c..15f10c5 100644 --- a/frameworks/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADMobileAds.h +++ b/frameworks/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADMobileAds.h @@ -13,6 +13,8 @@ #import <GoogleMobileAds/GADInitializationStatus.h> #import <GoogleMobileAds/GADRequestConfiguration.h> #import <GoogleMobileAds/Mediation/GADVersionNumber.h> +#import <GoogleMobileAds/Request/GADSignal.h> +#import <GoogleMobileAds/Request/GADSignalRequest.h> /// A block called with the initialization status when [GADMobileAds startWithCompletionHandler:] /// completes or times out. @@ -22,11 +24,15 @@ /// during presentation, or nil otherwise. typedef void (^GADAdInspectorCompletionHandler)(NSError *_Nullable error); +/// Completion handler for signal request creation. Returns a signal or an error. +typedef void (^GADSignalCompletionHandler)(GADSignal *_Nullable signal, NSError *_Nullable error); + /// Google Mobile Ads SDK settings. +NS_SWIFT_NAME(MobileAds) @interface GADMobileAds : NSObject /// Returns the shared GADMobileAds instance. -+ (nonnull GADMobileAds *)sharedInstance; +@property(class, nonatomic, readonly, nonnull) GADMobileAds *sharedInstance NS_SWIFT_NAME(shared); /// Returns the Google Mobile Ads SDK's version number. @property(nonatomic, readonly) GADVersionNumber versionNumber; @@ -45,7 +51,8 @@ /// Warning: Muting your application reduces video ad eligibility and may reduce your app's ad /// revenue. You should only utilize this API if your app provides a custom mute control to the /// user, and you should reflect the user's mute decision in this API. -@property(nonatomic, assign) BOOL applicationMuted; +@property(nonatomic, assign, getter=isApplicationMuted) + BOOL applicationMuted NS_SWIFT_NAME(isApplicationMuted); /// Manages the Google Mobile Ads SDK's audio and video settings. @property(nonatomic, readonly, strong, nonnull) GADAudioVideoManager *audioVideoManager; @@ -94,10 +101,19 @@ /// @param completionHandler A handler to execute when Ad Inspector is closed. - (void)presentAdInspectorFromViewController:(nullable UIViewController *)viewController completionHandler: - (nullable GADAdInspectorCompletionHandler)completionHandler; + (nullable GADAdInspectorCompletionHandler)completionHandler + NS_SWIFT_NAME(presentAdInspector(from:completionHandler:)); /// Registers a web view with the Google Mobile Ads SDK to improve in-app ad monetization of ads /// within this web view. - (void)registerWebView:(nonnull WKWebView *)webView; +/// Generates a signal that can be used as input in a server-to-server Google request. Calls +/// completionHandler asynchronously on the main thread once a signal has been generated or +/// when an error occurs. +/// @param request The signal request that will be used to generate the signal. +/// @param completionHandler A handler to execute when the signal generation is done. ++ (void)generateSignal:(nonnull GADSignalRequest *)request + completionHandler:(nonnull GADSignalCompletionHandler)completionHandler; + @end -- Gitblit v1.8.0