AdswizzSDKConfig

data class AdswizzSDKConfig(val installationId: String? = null, val playerId: String? = null, val proxyConfig: ProxyConfig? = null, val debugProxy: DebugProxy? = null)

The config for the AdswizzSDK singleton

Since

7.4.0

Constructors

Link copied to clipboard
constructor(installationId: String? = null, playerId: String? = null, proxyConfig: ProxyConfig? = null, debugProxy: DebugProxy? = null)

Properties

Link copied to clipboard
val debugProxy: DebugProxy? = null

DebugProxy for routing SDK HTTP requests through a local debug proxy (e.g. Charles, mitmproxy). When provided, all SDK connections are routed through the given address:port and SSL certificate validation is disabled. Active only in debug builds.

Link copied to clipboard
val installationId: String? = null

installationId provided by an Adswizz engineer or PIM. This is how it can be set in the manifest: < meta-data android:name="com.adswizz.core.installationId" android:value="ADD_YOUR_INSTALLATION_ID_HERE" />

Link copied to clipboard
val playerId: String? = null

playerId provided by an Adswizz engineer or PIM. This is how it can be set in the manifest: < meta-data android:name="com.adswizz.core.playerId" android:value="ADD_YOUR_PLAYER_ID_HERE" />

Link copied to clipboard

ProxyConfig provided to SDK in order to use a forward proxy pattern.
When provided during SDK initialization, this configuration applies globally to all eligible SDK network requests