diff --git a/source/Google/MobileAds/ApiDefinition.cs b/source/Google/MobileAds/ApiDefinition.cs index d00b492de..ab38e9495 100644 --- a/source/Google/MobileAds/ApiDefinition.cs +++ b/source/Google/MobileAds/ApiDefinition.cs @@ -865,6 +865,11 @@ interface SearchBannerView { Delegates = new [] { "Delegate", "UnconfirmedClickDelegate" }, Events = new [] { typeof (NativeAdDelegate), typeof (NativeAdUnconfirmedClickDelegate) })] interface NativeAd { + // @property (readonly, copy, nonatomic) NSString * _Nullable headline; + [NullAllowed] + [Export ("headline")] + string Headline { get; } + // @property (readonly, copy, nonatomic) NSString * _Nullable callToAction; [NullAllowed] [Export ("callToAction")] @@ -1451,6 +1456,23 @@ interface AdLoaderDelegate { void DidFinishLoading (AdLoader adLoader); } + interface INativeAdLoaderDelegate { + } + + // @protocol GADNativeAdLoaderDelegate +#if NET + [Model] +#else + [Model (AutoGeneratedName = true)] +#endif + [Protocol] + [BaseType (typeof (NSObject), Name = "GADNativeAdLoaderDelegate")] + interface NativeAdLoaderDelegate : AdLoaderDelegate { + // @optional - (void)adLoader:(nonnull GADAdLoader *)adLoader didReceiveNativeAd:(nonnull GADNativeAd *)nativeAd; + [Export("adLoader:didReceiveNativeAd:")] + void DidReceiveNativeAd (AdLoader adLoader, NativeAd nativeAd); + } + #region Loading.Formats interface INativeAdDelegate {