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. Classes

RTBSDKManager

public class RTBSDKManager : NSObject {

    public static let shared = RTBSDKManager()

    /// A bool that indicates whether the app supports GDPR or not. Default value is **true**
    public var isGDPRApplies: Bool?

    /// A bool that indicates whether the test mode is enabled or not. Default value is **false**
    public var testModeEnabled: Bool?

    /// A ``RTBLogLevel`` that represents the SDK internal log level. Default value is ``RTBLogLevel.info``
    public var logLevel: RTBLogLevel? { get set }

    /// A bool that indicates whether the SDK should use the geo location or not. Default value is **false**
    public var useGeoLocation: Bool
    
    /// A bool that indicates whether the app is paid or not. Default value is **nil**
    public var isPaid: Bool?

    /// A bool that indicates whether the app is child-directed (supports COPPA) or not. Default value is **nil**
    public var isChildDirected: Bool?

    /// A string represents the current SDK version
    public var sdkVersion: String { get }
}

Last updated 1 year ago