AdswizzSDK
Properties
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). AdswizzSDK keeps a strong reference to the AnalyticsConnector, so it's your responsibility to handle lifecycle of the AnalyticsConnector instance while listening for analytics events
Set or retrieve the CCPA configuration.
Handle AdswizzPrivacyConsent object
Enable or disable data collection.
Enable or disable RAD for podcasts.
Set or retrieve the GDPR consent status.
Set or retrieve gpp consent string
For correct macro expansion, implement the IntegratorContext interface and provide it to the SDK using the integratorContext property.
This property stores initialization status. Use completion block of initialize function to be sure that initialization process of AdswizzSDK completed.
Functions
Return status of permission previously set with setPermissionStatus.
permission permission name
SDK initialization. The recommended way to do this is in the onCreate of your application. If adswizzSDKConfig is used to provide installationId and playerId at runtime. They can be set also in manifest and they are mandatory to SDK initialization.
context: application context
adswizzSDKConfig: optional AdswizzSDKConfig that contains installationId and playerId.
completion: optional completion callback which signals when AdswizzSDK is fully initialised.
This function is used to change the default AdCompanionView behaviour by changing the exposure time or to setting the preferred resource type
This function sets a callback for interactivity events that are not covered by the AdManager.Listener callback
Use this function to deny unwanted permissions to the AdswizzSDK. By default, the AdswizzSDK will use all the permissions that the host app uses.
permission permission name.
value: status of the permission to be set (allow = true, deny = false)