Edit in GitHubLog an issue
Copied to your clipboard
MobileCore.updateConfiguration(mapOf(
"contentanalytics.maxBatchSize" to 20,
"contentanalytics.batchFlushInterval" to 5000
))
Copied to your clipboard
MobileCore.updateConfigurationWith(configDict: [
"contentanalytics.maxBatchSize": 20,
"contentanalytics.batchFlushInterval": 5000
])
Copied to your clipboard
// Opt in
Consent.update(mapOf("consents" to mapOf("collect" to mapOf("val" to "y"))))
// Opt out
Consent.update(mapOf("consents" to mapOf("collect" to mapOf("val" to "n"))))
// Pending
Consent.update(mapOf("consents" to mapOf("collect" to mapOf("val" to "p"))))
Copied to your clipboard
// Opt in
Consent.update(with: ["consents": ["collect": ["val": "y"]]])
// Opt out
Consent.update(with: ["consents": ["collect": ["val": "n"]]])
// Pending
Consent.update(with: ["consents": ["collect": ["val": "p"]]])
Copied to your clipboard
MobileCore.setPrivacyStatus(MobilePrivacyStatus.OPT_IN) // send
MobileCore.setPrivacyStatus(MobilePrivacyStatus.OPT_OUT) // drop + clear
MobileCore.setPrivacyStatus(MobilePrivacyStatus.UNKNOWN) // queue
Copied to your clipboard
MobileCore.setPrivacyStatus(.optedIn) // send
MobileCore.setPrivacyStatus(.optedOut) // drop + clear
MobileCore.setPrivacyStatus(.unknown) // queue
Copied to your clipboard
MobileCore.resetIdentities() // clears cache + queue
Copied to your clipboard
MobileCore.resetIdentities() // clears cache + queue
Copied to your clipboard
MobileCore.setLogLevel(LoggingMode.VERBOSE)
Copied to your clipboard
MobileCore.setLogLevel(.debug)
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.