INNER CODE UNIT · Swift

interstitialDidDismissScreen

kmcgill88/admob_flutter · ios/Classes/AdmobInterstitialPlugin.swift:130

    func interstitialDidDismissScreen(_ ad: GADInterstitial) {
        channel.invokeMethod("closed", arguments: nil)
    }
    
    func interstitialWillLeaveApplication(_ ad: GADInterstitial) {
        channel.invokeMethod("leftApplication", arguments: nil)
    }

    func interstitialDidReceiveAd(_ ad: GADInterstitial) {
        channel.invokeMethod("loaded", arguments: nil)
    }

    func interstitial(_ ad: GADInterstitial, didFailToReceiveAdWithError error: GADRequestError) {
        channel.invokeMethod("failedToLoad", arguments:  [
            "errorCode": error.code,
            "error": error.localizedDescription
        ])
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…