public class AATKitRuntimeConfiguration extends Object
| Constructor and Description |
|---|
AATKitRuntimeConfiguration()
Creates the AATKitRuntimeConfiguration object to be used when reconfiguring AATKit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setConsent(AATKit.Consent consent)
Sets the detailed consent for GDPR.
|
void |
setConsentRequired(boolean consentRequired)
Sets if the GDPR consent is required (if the user falls under GDPR jurisdiction).
|
void |
setUseGeoLocation(boolean useGeoLocation)
Sets if geo data (if it is available) should be sent.
|
String |
toString() |
public AATKitRuntimeConfiguration()
public void setConsentRequired(boolean consentRequired)
consentRequired - True if user falls under GDPR jurisdiction, false otherwise.public void setUseGeoLocation(boolean useGeoLocation)
useGeoLocation - True to enable, false to disablepublic void setConsent(AATKit.Consent consent)
consent - Instance of AATKit.Consent to be used.