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
}
@interface AATConfiguration
/// Set this parameter to listen to <code>AATDelegate</code> callbacks.
@property (nonatomic, weak) id <AATDelegate> _Nullable delegate;
/// A Bool that indicates whether to the consent is required or not. True by default.
@property (nonatomic) BOOL consentRequired;
/// An instance of <code>AATConsentImplementation</code>. Could be <code>AATManagedConsent</code>, <code>AATSimpleConsent</code> or <code>AATVendorConsent</code>
@property (nonatomic, strong) AATConsentImplementation * _Nullable consent;
/// A bool that indicates whether the location is used or not. False by default
@property (nonatomic) BOOL isUseGeoLocation;
/// A Bool that indicates whether to cache downloaded rules or not.
@property (nonatomic) BOOL shouldCacheRules;
/// A Bool that indicates whether to skip ad networks that has no consent or not. For more information, visit <a href="https://addapptr.gitbook.io/ios-integration/start/consent/general-handling#rule-skipping">Rules Skipping</a>.
@property (nonatomic) BOOL shouldSkipRules;
/// A string that represents the test app bundleID. <em>Don’t forget to remove it before going live</em>.
@property (nonatomic, copy) NSString * _Nullable alternativeBundleId;
/// A Bool that indicates whether to use the <code>AATConfiguration/alternativeBundleId</code> in the reporting or not.
@property (nonatomic) BOOL shouldReportUsingAlternativeBundleId;
/// A NSNumber that represents the test account ID that enables you to test your AATKit integration. <em>Don’t forget to remove it before going live</em>. For more information, see <a href="https://addapptr.gitbook.io/ios-integration/start/initialization#test-mode">AATKit Test Mode</a>.
@property (nonatomic, strong) NSNumber * _Nullable testModeAccountId;
/// A Bool that enables/disables the shake debug screen. True by default. For more information, visit <a href="https://addapptr.gitbook.io/ios-integration/advanced/shake-debug">AATKit Debug Shake</a>.
@property (nonatomic) BOOL useDebugShake;
@end
Last updated