RTBSDKManager

object RTBSDKManager {

    /**
     * Indicates whether the app is paid or not. Default value is null.
     */
    var isPaid: Boolean? = null

    /**
     * Indicates whether the app is child-directed (supports COPPA) or not. Default value is null.
     */
    var isChildDirected: Boolean? = null

    /**
     * Indicates whether the GDPR consent is required (if the user falls under GDPR jurisdiction). True by default.
     */
    var isGDPRApplies: Boolean = true

    /**
     * Indicates whether the test mode is enabled or not. Default value is false.
     */
    var testModeEnabled: Boolean? = false

    /**
     * Desired log level, as in [android.util.Log] class.
     */
    var logLevel: Int = Log.INFO
        set(value) {
            field = value
            RTBLogger.setUserSetLogLevel(value)
        }

    /**
     * Indicates whether the SDK should use the geo location or not. Default value is false.
     */
    var useGeoLocation: Boolean = false

     /**
     * String repesenting the current SDK version
     */
    val sdkVersion: String
}

Last updated