AdswizzSDK

object AdswizzSDK

Properties

Link copied to clipboard

Set or retrieve the Afr configuration for the companion banner.

Link copied to clipboard

Use this property to add your own AnalyticsConnector to receive all the events from the SDK and forward them to your own ingestion pipeline (Firebase, Mixpanel etc).

Link copied to clipboard

Set or retrieve the CCPA configuration.

Link copied to clipboard
Link copied to clipboard

Enable or disable data collection.

Link copied to clipboard

Enable or disable RAD for podcasts.

Link copied to clipboard

Set or retrieve the GDPR consent status.

Link copied to clipboard

Set or retrieve gpp consent string

Link copied to clipboard

For correct macro expansion, implement the IntegratorContext interface and provide it to the SDK using the integratorContext property.

Link copied to clipboard

This property stores initialization status. Use completion block of initialize function to be sure that initialization process of AdswizzSDK completed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val omidVersion: String
Link copied to clipboard

Functions

Link copied to clipboard
fun cleanup()

Perform SDK cleanup and release all SDK components. Call it when you no longer need the SDK.

Link copied to clipboard

Return status of permission previously set with setPermissionStatus.

Link copied to clipboard
fun getVersion(): <Error class: unknown class>
Link copied to clipboard
fun initialize(context: Context, adswizzSDKConfig: AdswizzSDKConfig? = null, completion: () -> Unit? = null)

SDK initialization. The recommended way to do this is in the onCreate of your application.

Link copied to clipboard
fun setAdCompanionOptions(adCompanionOptions: AdCompanionOptions)

This function is used to change the default AdCompanionView behaviour by changing the exposure time or to setting the preferred resource type

Link copied to clipboard
fun setInteractivityListener(adManager: AdBaseManager, interactivityListener: InteractivityListener?)

This function sets a callback for interactivity events that are not covered by the AdManager.Listener callback

Link copied to clipboard
fun setPermissionStatus(permission: String, value: Boolean)

Use this function to deny unwanted permissions to the AdsWizz SDK. By default, the AdsWizz SDK will use all the permissions that the host app uses.