GoogleMobileAds Framework Reference

GADDelayedAdRenderingDelegate

@protocol GADDelayedAdRenderingDelegate <NSObject>

Delegate for delayed rendering of Google banner ads.

  • Asks the delegate whether the ad loader should delay rendering the banner ad that it’s chosen. If the delegate returns YES, it must also call resumeHandler when it is ready for rendering to resume.

    Declaration

    Swift

    func adLoader(_ adLoader: GADAdLoader, shouldDelayRenderingWithResumeHandler resumeHandler: @escaping () -> Void) -> Bool

    Objective-C

    - (BOOL)adLoader:(nonnull GADAdLoader *)adLoader
        shouldDelayRenderingWithResumeHandler:
            (nonnull dispatch_block_t)resumeHandler;