AATConfiguration
@objc
public class AATConfiguration {
/// Set this parameter to listen to ``AATDelegate`` callbacks.
@objc public weak var delegate: AATDelegate?
/// A Bool that indicates whether to the consent is required or not. True by default.
@objc public var consentRequired: Bool
/// An instance of ``AATConsentImplementation``. Could be ``AATManagedConsent``, ``AATSimpleConsent`` or ``AATVendorConsent``
@objc public var consent: AATConsentImplementation?
/// A bool that indicates whether the location is used or not. False by default
@objc public var isUseGeoLocation: Bool
/// A Bool that indicates whether to cache the downloaded rules or not.
@objc public var shouldCacheRules = true
/// A Bool that indicates whether to skip ad networks that has no consent or not. For more information, visit [Rules Skipping](https://addapptr.gitbook.io/ios-integration/start/consent/general-handling#rule-skipping).
@objc public var shouldSkipRules = false
/// A string that represents the test app bundleID. **Don't forget to remove it before going live**.
@objc public var alternativeBundleId: String?
/// A Bool that indicates whether to use the ``alternativeBundleId`` in the reporting or not.
@objc public var shouldReportUsingAlternativeBundleId = true
/// An NSNumber that represents the test account ID that enables you to test your AATKit integration. **Don't forget to remove it before going live**. For more information, see [AATKit Test Mode](https://addapptr.gitbook.io/ios-integration/start/initialization#test-mode).
@objc public var testModeAccountId: NSNumber?
/// A Bool that enables/disables the shake debug screen. True by default. For more information, visit [AATKit Debug Shake](https://addapptr.gitbook.io/ios-integration/advanced/shake-debug).
@objc public var useDebugShake = true
}
Last updated