From 5a81d9f2b10c6422bccf4f56df0bb7fc53debdf5 Mon Sep 17 00:00:00 2001 From: Justin Thoo Date: Thu, 2 Feb 2023 14:42:53 +1300 Subject: [PATCH] Added binding to MobileAds for registerWebView --- source/Google/MobileAds/ApiDefinition.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/Google/MobileAds/ApiDefinition.cs b/source/Google/MobileAds/ApiDefinition.cs index d00b492de..6d20cc77c 100644 --- a/source/Google/MobileAds/ApiDefinition.cs +++ b/source/Google/MobileAds/ApiDefinition.cs @@ -6,6 +6,7 @@ using ObjCRuntime; using StoreKit; using UIKit; +using WebKit; #if !NET using NativeHandle = System.IntPtr; @@ -117,6 +118,10 @@ interface MobileAds { // - (void)presentAdInspectorFromViewController:(nonnull UIViewController *)viewController completionHandler: (nullable GADAdInspectorCompletionHandler)completionHandler; [Export ("presentAdInspectorFromViewController:viewController:")] void PresentAdInspectorFromViewController (UIViewController viewConroller, AdInspectorCompletionHandler completionHandler); + + // - (void)registerWebView:(nonnull WKWebView *)webView; + [Export ("registerWebView:")] + void RegisterWebView (WKWebView webView); } // @interface GADMultipleAdsAdLoaderOptions : GADAdLoaderOptions