RTBSDK iOS Integration
Release Notes
  • Start
    • Setup
      • Cocoapods
      • Swift Package Manager
      • Configure RTBSDK
    • Consent
  • Formats
    • Banners
    • Fullscreen (Interstitial)
    • Native Ads
    • Advanced
      • Separate Loading and Rendering of Banner Ads
  • Other
    • AdMob Custom Events
    • AppLovin Custom Adapter
    • Reference
      • Classes
        • RTBSDKManager
        • RTBBannerView
        • RTBBannerAdProvider
        • RTBBannerBid
        • RTBBannerRequestConfiguration
        • RTBBannerSize
        • RTBFullscreenAd
        • RTBFullscreenRequestConfiguration
        • RTBNativeAdLoader
        • RTBNativeAd
        • RTBNativeAdRequestConfiguration
        • RTBUserTargeting
        • RTBBidInfo
      • Protocols
        • RTBBannerViewDelegate
        • RTBBannerAdLoadDelegate
        • RTBBannerAdInteractionDelegate
        • RTBFullscreenDelegate
        • RTBNativeAdLoaderDelegate
        • RTBNativeAdInteractionDelegate
      • Enumerations
        • RTBLogLevel
        • RTBGender
  • Sample App
Powered by GitBook
On this page
  1. Other
  2. Reference
  3. Protocols

RTBFullscreenDelegate

@objc
public protocol RTBFullscreenDelegate {
    /// Called when the fullscreen ad has been loaded and ready to be shown
    /// - Parameters:
    ///   - fullscreenAd: The loaded ``RTBFullscreenAd``
    ///   - bidInfo: an instance of ``RTBBidInfo`` representing bid price and and bidder name
    func fullscreenAdDidReceiveAd(_ fullscreenAd: RTBFullscreenAd, bidInfo: RTBBidInfo, networkName: String)

    /// Called when the ad loading is failed
    /// - Parameters:
    ///   - fullscreenAd: The ``RTBFullscreenAd`` that failed to load
    ///   - errorMessage: A message describing the reason for the failure.
    func fullscreenAd(_ fullscreenAd: RTBFullscreenAd, didFailToReceiveAd errorMessage: String, networkName: String)

    /// Called when the use clicks on the fullscreen ad
    /// - Parameter fullscreenAd: The ``RTBFullscreenAd`` that received the click
    func fullscreenAdDidRecordClick(_ fullscreenAd: RTBFullscreenAd, networkName: String)

    /// Called when the fullscreen ad has been displayed
    /// - Parameter fullscreenAd: The ``RTBFullscreenAd`` that has been shown
    func fullscreenAdDidPauseForAd(_ fullscreenAd: RTBFullscreenAd, networkName: String)

    /// Called when the fullscreen ad has been dismisseed
    /// - Parameter fullscreenAd: The ``RTBFullscreenAd`` that has been dismissed
    func fullscreenAdDidResumeAfterAd(_ fullscreenAd: RTBFullscreenAd, networkName: String)
}

Last updated 10 months ago