// // GADFullScreenContentDelegate.h // Google Mobile Ads SDK // // Copyright 2020 Google LLC. All rights reserved. // #import @protocol GADFullScreenContentDelegate; /// Protocol for ads that present full screen content. @protocol GADFullScreenPresentingAd /// Delegate object that receives full screen content messages. @property(nonatomic, weak, nullable) id fullScreenContentDelegate; @end /// Delegate methods for receiving notifications about presentation and dismissal of full screen /// content. Full screen content covers your application's content. The delegate may want to pause /// animations or time sensitive interactions. Full screen content may be presented in the following /// cases: /// 1. A full screen ad is presented. /// 2. An ad interaction opens full screen content. @protocol GADFullScreenContentDelegate @optional /// Tells the delegate that an impression has been recorded for the ad. - (void)adDidRecordImpression:(nonnull id)ad; /// Tells the delegate that a click has been recorded for the ad. - (void)adDidRecordClick:(nonnull id)ad; /// Tells the delegate that the ad failed to present full screen content. - (void)ad:(nonnull id)ad didFailToPresentFullScreenContentWithError:(nonnull NSError *)error; /// Tells the delegate that the ad will present full screen content. - (void)adWillPresentFullScreenContent:(nonnull id)ad; /// Tells the delegate that the ad will dismiss full screen content. - (void)adWillDismissFullScreenContent:(nonnull id)ad; /// Tells the delegate that the ad dismissed full screen content. - (void)adDidDismissFullScreenContent:(nonnull id)ad; #pragma mark - Unavailable /// Unsupported. Delegates should implement adWillPresentFullScreenContent: instead. - (void)adDidPresentFullScreenContent:(nonnull id)ad NS_UNAVAILABLE; @end