AATKitConfiguration

class AATKitConfiguration(val application: Application) : AATKitAbstractConfiguration

Used to set up AATKit.

Parameters

application

Reference to Application.

Constructors

Link copied to clipboard
constructor(application: Application)

Creates the default Configuration object to be used when initializing AATKit.

Types

Link copied to clipboard
Link copied to clipboard
interface ReportsDelegate

Notifies about placement reporting being sent.

Properties

Link copied to clipboard

Object describing advanced ad-network specific configurations.

Link copied to clipboard
Link copied to clipboard

Sets the delegate notifying about AATKit events.

Link copied to clipboard

Allows the AATKit to preserve last downloaded ad rules when the application is closed. Such rules will be re-used next time the application is started, before new ones get downloaded. Enabled by default.

Link copied to clipboard

If used together with setAlternativeBundleId allows to set if the same fake bundle ID should be used in reporting. True by default. If set to false, real bundle ID will be used in reporting even if fake one is used for testing.

Link copied to clipboard

Sets if networks without TCF2 consent should be skipped (only works if TCF2 compliant CMP is used). False by default.

Link copied to clipboard

Sets if the debug screen should be displayed after shaking the device. Enabled by default.

Link copied to clipboard

Sets the platform. Android by default

Link copied to clipboard

Sets the optional listener notifying about reporting.

Link copied to clipboard

Sets if automatically generated userId should be used. False by default.

Inherited properties

Link copied to clipboard

Sets the detailed consent for GDPR.

Link copied to clipboard

Sets if the GDPR consent is required (if the user falls under GDPR jurisdiction). True by default.

Link copied to clipboard

Sets if geo data (if it is available) should be sent. Disabled by default.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setAlternativeBundleId(alternativeBundleId: String?)

Sets the fake bundle ID for testing purposes. It should only be used during development. Cannot be used together with classic test mode (setTestModeAccountId).

Link copied to clipboard
fun setTestModeAccountId(testModeAccountId: Int)

Enables AATKit test ads that should be for testing - only during development. Cannot be used with alternative bundle ID (setAlternativeBundleId).

Link copied to clipboard
open override fun toString(): String