AdPlacementSettings

AdPlacementSettings Description
await enableDebug() This enable debug logging for Teads inApp SDK.
await userConsent(subjectToGDPR: String, consent: String,tcfVersion: number = 2,cmpSdkId: number = 0) The GDPR status and consent, should match the IAB specifications https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/TCFv2/IAB%20Tech%20Lab%20-%20CMP%20API%20v2.md#how-is-a-cmp-used-in-app%20In-App%20Consent%20APIs%20v1.0%20Final.md.
await setUsPrivacy(consent: String) The CCPA consent string, should match the IAB specifications https://iabtechlab.com/standards/ccpa/.
await disableCrashMonitoring() Disable crash monitoring. It will collect Teads crashes by default.
await addExtras(String value, String key) Add extra data to Teads inApp SDK.
await disableBatteryMonitoring() iOS only. Unauthorize Teads SDK from recording battery status.
await disableTeadsAudioSessionManagement() iOS only. Disable teads audio session management. You will need to handle the audio session manually.
await enableLocation() Android only. This will enable location for Teads inApp SDK.
await useLightEndScreen() Android only. This will allow Teads inApp SDK to display end screen with light color.
await hideBrowserUrl() Android only. Hide the website url in the internal browser only. The url is visible by default.
await toolBarBackgroundColor(color: number) Android only. Set the toolbar background color on the browser.

AdRequestSettings

AdRequestSettings Description
await pageUrl(urlString: String) This gives context to Teads inApp SDK for Brand Safety.
await enableValidationMode() This enable the validation tool mode for Teads inApp SDK. This should not be embedded in a production build!
await addExtras(key: String, value: String) Add extra data to Teads inApp SDK.