GoogleMobileAds (Beta) Framework Reference

GADSwipeableInterstitialAdDelegate

@protocol GADSwipeableInterstitialAdDelegate <NSObject>

Delegate for receiving lifecycle event messages from a GADSwipeableInterstitialAd.

  • Called when the SDK detects that the ad is visible and stabilized on screen, marking the start of the SDK’s internal screen hold timer.

    This is an informational callback provided for debugging and alignment purposes. You are expected to manage your own screen hold timers and lifecycle monitoring to enforce the ad’s minScreenHoldDuration property. There is no corresponding “end” callback.

    This delegate is not triggered if minScreenHoldDuration is 0.

    Declaration

    Swift

    @MainActor optional func swipeableInterstitialAdDidStartScreenHoldTimer(_ swipeableInterstitialAd: GADSwipeableInterstitialAd)

    Objective-C

    - (void)swipeableInterstitialAdDidStartScreenHoldTimer:
        (nonnull GADSwipeableInterstitialAd *)swipeableInterstitialAd;